Hello,
I installed Gyre successfully. However, when trying to run it on the cluster, it gives the error below
>error while loading shared libraries: libhdf5_fortran.so.8: cannot open shared object file: No such >file or directory
In the our lib64 folder, I have the libhdf5_fortran.so, so I thought this would work if I set a path to this file in my .bashrc file as
>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64/libhdf5_fortran.so
but no success with this. Could you please guide me on how to work around this?
Thank you.
Cheers,
Benard
Error while loading shared libraries: libhdf5_fortran.so.8
Re: Error while loading shared libraries: libhdf5_fortran.so.8
Hi Benard,
The HDF5 library is provided with the SDK so you shouldn't need to add system paths to find it. On our cluster, I add the SDK paths to LIBRARY_PATH and LD_LIBRARY_PATH, for which I use:
I haven't tested if these are still necessary but at some point I needed them and everything still works!
If your cluster uses modules to load software, try to load your modules before you initalise the SDK, because I think the module system can mess up the SDK path variables.
Cheers,
Warrick
The HDF5 library is provided with the SDK so you shouldn't need to add system paths to find it. On our cluster, I add the SDK paths to LIBRARY_PATH and LD_LIBRARY_PATH, for which I use:
Code: Select all
export LIBRARY_PATH="$MESASDK_ROOT/lib64:$MESASDK_ROOT/lib:$LIBRARY_PATH"
export LD_LIBRARY_PATH="$MESASDK_ROOT/lib64:$MESASDK_ROOT/lib:$LD_LIBRARY_PATH"
If your cluster uses modules to load software, try to load your modules before you initalise the SDK, because I think the module system can mess up the SDK path variables.
Cheers,
Warrick
Re: Error while loading shared libraries: libhdf5_fortran.so.8
Hi Warrick,
Many thanks. This now works without issues.
Cheers,
Benard
Many thanks. This now works without issues.
Cheers,
Benard