[FLASH-USERS] Problem of unable to load hdf5 libraries libhdf5.so.310

DIEGO ANDRÉS OPORTUS CIUDAD daoportus at uc.cl
Mon Jan 16 09:34:49 EST 2023


Hi all,

I recently try to setup Flash4.7 on my pc. I believed that I have installed HDF5, HYPRE, and
NetCDF successfully.

I have HDF5 installed in the folder: /usr/local/hdf5
I have HYPRE installed in the folder: /usr/local/hypre .
I have NetCDF installed in the folder: /usr/local/netcdf .

Therefore, I have set the path in the Makefile.h as following:

HDF5_PATH = /usr/local/hdf5
HYPRE_PATH= /usr/local/hypre
NCMPI_PATH= /usr/local/netcdf

I am now trying the test run "Sedov" suggested in section 2.2 in the user guide. I compiled the project successfully. However, when I try to run by typing "mpirun -np 2 flash4", I got the following error message:

flash4: error while loading shared libraries: libhdf5.so.310: cannot open shared object file: No such file or directory
--------------------------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
flash4: error while loading shared libraries: libhdf5.so.310: cannot open shared object file: No such file or directory

However, I checked the folder "/usr/local/hdf5" and found the following files in the folder:

ibhdf5.a      libhdf5_hl.so          libhdf5.la        libhdf5.so.310
libhdf5_hl.a   libhdf5_hl.so.310      libhdf5.settings  libhdf5.so.310.0.0
libhdf5_hl.la  libhdf5_hl.so.310.0.0  libhdf5.so

In other words, "libhdf5.so.310" is in the folder.

So, I am not sure what else can cause this problem and how to solve it.

Did anyone encounter the same problem before? How do I solve it?

Thank you so much.
--
Diego Oportus Ciudad
Licenciado en Física
Estudiante de Magíster en Física
Pontificia Universidad Católica de Chile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20230116/5213f9a6/attachment.htm>


More information about the flash-users mailing list