1. 22 Sep, 2011 1 commit
    • miller86's avatar
      This resolves #670 "enhance all HDF5 plugins to open with H5F_CLOSE_SEMI property" · 5ad83b83
      miller86 authored
      Added macros to visit-hdf5.h to re-map H5Fopen and H5Fclose functions
      to Visit-specific equivalents.
      
      Added implementations of VisIt-specific H5Fopen and H5Fclose functions
      to visit-hdf5.h. There is #ifndef NDEBUG conditional logic to print
      error message on cerr if an HDF5 plugin is found NOT to use H5F_CLOSE_SEMI
      when opening a file.
      
      There is UNconditional logic in these functions to print error message
      on cerr if an HDF5 plugin is found to return error from H5Fclose. The
      latter indicates a potentialy serious problem because the offending plugin
      can then wind up preventing all other HDF5 plugins from opening the file.
      
      Added #include <visit-hdf5.h> to all HDF5 plugins to ensure all plugins
      will have their H5Fopen/H5Fclose methods re-mapped.
      
      So far, only HDF5 plugin (that we also test) that appears to have problems
      is Velodyne. I filed a ticket for it.
      
      I discovered and removed some unnecessary #ifdef NDEBUG logic in Ensight
      plugin.
      
      
      git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@16233 18c085ea-50e0-402c-830e-de6fd14e8384
      5ad83b83
  2. 02 Apr, 2007 2 commits
  3. 01 Apr, 2007 2 commits