Skip to content

Instantly share code, notes, and snippets.

@yzchen
Last active February 22, 2019 12:11
Show Gist options
  • Select an option

  • Save yzchen/ce3cc95025784ea367af797b44b6187a to your computer and use it in GitHub Desktop.

Select an option

Save yzchen/ce3cc95025784ea367af797b44b6187a to your computer and use it in GitHub Desktop.
Problems with hdf5 on Shaheen
module swap PrgEnv-cray PrgEnv-intel
module load hdf5/1.8.21
wget https://support.hdfgroup.org/ftp/HDF5/current/src/unpacked/examples/h5_crtdat.c
gcc h5_crtdat.c
##################################################################
#
#h5_crtdat.c:19:18: fatal error: hdf5.h: No such file or directory
# #include "hdf5.h"
# ^
#compilation terminated.
#
##################################################################
module show hdf5
##################################################################
#-------------------------------------------------------------------
#/sw/xc40cle6/modulefiles/hdf5/1.8.21:
#
#module-whatis Adds HDF5 executables and libraries to your environment
#module swap intel intel/18.0.1.163
#prepend-path PATH /sw/xc40cle6/hdf5/1.8.21/cle6.0.5_intel18.0.1.163/bin
#prepend-path MANPATH /sw/xc40cle6/hdf5/1.8.21/cle6.0.5_intel18.0.1.163/share/man
#prepend-path LD_LIBRARY_PATH /sw/xc40cle6/hdf5/1.8.21/cle6.0.5_intel18.0.1.163/lib
#append-path INCLUDE /sw/xc40cle6/hdf5/1.8.21/cle6.0.5_intel18.0.1.163/include
#prepend-path PYTHONPATH /sw/xc40cle6/hdf5/1.8.21/cle6.0.5_intel18.0.1.163/lib/python2.7/site-packages
#-------------------------------------------------------------------
##################################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment