Skip to content
  • Mark C. Miller's avatar
    This resolves #670 "enhance all HDF5 plugins to open with H5F_CLOSE_SEMI property" · 1eac5f58
    Mark C. Miller 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: svn+ssh://edison.nersc.gov/project/projectdirs/visit/svn/visit/trunk@16233 18c085ea-50e0-402c-830e-de6fd14e8384
    1eac5f58