RedHat installation using Intel compiler and HDF5
Posted: Fri Oct 13, 2023 11:36 pm
I was able to successfully install VASP6.4.2 on RedHat with HDF5 (installation point /usr/local/hdf5) and the intel compiler suite. For makefile.include, I used
arch/makefile.include.intel
with the required modification of HDF5_ROOT
HDF5_ROOT ?= /usr/local/hdf5
In order to run one of the executables (e.g., vasp_std), I had to go through one by one to identify and locate the shared object files to create
LD_LIBRARY_PATH=/apps/hdf5/lib:/apps/intel/compilers_and_libraries_2020.4.304/linux/mkl/lib/intel64:/apps/intel/compilers_and_libraries_2020.4.304/linux/compiler/lib/intel64_lin:/apps/intel/compilers_and_libraries_2020.4.304/linux/mpi/intel64/libfabric/lib
Otherwise, I would get runtime errors such as
vasp_std: error while loading shared libraries: libmkl_intel_lp64.so: cannot open shared object file: No such file or directory
Is it expected that I would have to manually go through this process? Or have I missed something?
Thank you.
arch/makefile.include.intel
with the required modification of HDF5_ROOT
HDF5_ROOT ?= /usr/local/hdf5
In order to run one of the executables (e.g., vasp_std), I had to go through one by one to identify and locate the shared object files to create
LD_LIBRARY_PATH=/apps/hdf5/lib:/apps/intel/compilers_and_libraries_2020.4.304/linux/mkl/lib/intel64:/apps/intel/compilers_and_libraries_2020.4.304/linux/compiler/lib/intel64_lin:/apps/intel/compilers_and_libraries_2020.4.304/linux/mpi/intel64/libfabric/lib
Otherwise, I would get runtime errors such as
vasp_std: error while loading shared libraries: libmkl_intel_lp64.so: cannot open shared object file: No such file or directory
Is it expected that I would have to manually go through this process? Or have I missed something?
Thank you.