[FLASH-USERS] Problem of unable to load hdf5 libraries libhdf5.so.310
Tony Curtis
anthony.curtis at stonybrook.edu
Mon Jan 16 11:30:25 EST 2023
> On Jan 16, 2023, at 9:34 AM, DIEGO ANDRÉS OPORTUS CIUDAD <daoportus at uc.cl> wrote:
>
> 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 <http://libhdf5.la/> libhdf5.so.310
> libhdf5_hl.a libhdf5_hl.so.310 libhdf5.settings libhdf5.so.310.0.0
> libhdf5_hl.la <http://libhdf5_hl.la/> libhdf5_hl.so.310.0.0 libhdf5.so
>
> In other words, "libhdf5.so.310" is in the folder.
>
If you installed HDF to /usr/local/hdf5, then its libraries should be in /usr/local/hdf5/lib (or .../lib64, depending on OS/distribution).
How did you put the libraries into that directory?
Tony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20230116/96090200/attachment-0001.htm>
More information about the flash-users
mailing list