<div dir="ltr">Hi Po-Yu,<div><br></div><div>You can try adding the following to the "LIB_HDF5" inside your Makefile.h:</div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">-Wl,-rpath=$(HDF5_PATH)/lib<br></blockquote><div><br></div><div>You might also want to add something similar for HYPRE should you want to run a problem that depends on that library. I believe the issue is that the system doesn't look by default into "/usr/local/lib" for the libraries.</div><div><br></div><div><br></div><br clear="all"><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr" style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">*************************************************************************</div><div dir="ltr" style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Adam Reyes<div><img src="https://flash.rochester.edu/site/common/images/email_signature/FLASH.jpg"><br></div><div>Code Group Leader, Flash Center for Computational Science <span> </span><br></div><div>Research Scientist, Dept. of Physics and Astronomy</div><div>University of Rochester</div><div>River Campus: Bausch and Lomb Hall, 369 <span> </span><br></div><div>500 Wilson Blvd. PO Box 270171, Rochester, NY 14627</div><div dir="ltr">Email<span> </span><a href="mailto:adam.reyes@rochester.edu" target="_blank">adam.reyes@rochester.edu</a></div><div>Web<span> </span><a href="https://flash.rochester.edu/" target="_blank">https://flash.rochester.edu</a><br></div><div> (he / him / his)</div><div><img src="https://flash.rochester.edu/site/common/images/email_signature/FLASH-pride-sml.png"><br></div>*************************************************************************</div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 2, 2022 at 10:35 AM Po-Yu Chang <<a href="mailto:pchang@mail.ncku.edu.tw" target="_blank">pchang@mail.ncku.edu.tw</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
I recently try to setup Flash on my machine. I followed the tutorial <br>
talk for OLUG in 2014. I believed that I have installed HDF5, HYPRE, and <br>
NetCDF successfully.<br>
<br>
I have HDF5 installed in the folder: /usr/local/lib/HDF5-parallel .<br>
I have HYPRE installed in the folder: /usr/local/lib/HYPRE .<br>
I have NetCDF installed in the folder: /usr/local/lib/netcdf .<br>
<br>
Therefore, I have set the path in the Makefile.h as following:<br>
<br>
HDF5_PATH = /usr/local/lib/HDF5-parallel<br>
HYPRE_PATH=/usr/local/lib/HYPRE<br>
NCMPI_PATH=/usr/local/lib/netcdf<br>
<br>
I am now trying the test run "Sedov" suggested in section 2.2 in the <br>
user guide. I compiled the project successfully. However, when I try to <br>
run by typing "./flash4", I got the following error message:<br>
<br>
./flash4: error while loading shared libraries: libhdf5.so.200: cannot <br>
open shared object file: No such file or directory<br>
<br>
However, I checked the folder "/usr/local/lib/HDF5-parallel/lib/" and <br>
found the following files in the folder:<br>
libhdf5.so<br>
libhdf5.so.200<br>
libhdf5.so.200.2.0<br>
<br>
In other words, "libhdf5.so.200" is in the folder.<br>
<br>
So, I am not sure what else can cause this problem and how to solve the <br>
problem.<br>
<br>
Did anyone encounter the same problem before? How do I solve it?<br>
<br>
Thank you so much.<br>
<br>
Cheers,<br>
<br>
Po-Yu<br>
<br>
-- <br>
Po-Yu Chang<br>
Assistant Professor<br>
Institute of Space and Plasma Sciences (ISAPS)<br>
National Cheng Kung University (NCKU)<br>
No.1, University Road,<br>
Tainan City 70101, Taiwan<br>
(TEL) +886-6-2757575 ext. 65916<br>
<a href="mailto:pchang@mail.ncku.edu.tw" target="_blank">pchang@mail.ncku.edu.tw</a><br>
<a href="http://capst.ncku.edu.tw/PGS/" rel="noreferrer" target="_blank">http://capst.ncku.edu.tw/PGS/</a><br>
<br>
_______________________________________________<br>
flash-users mailing list<br>
<a href="mailto:flash-users@flash.rochester.edu" target="_blank">flash-users@flash.rochester.edu</a><br>
<br>
For list info, including unsubscribe:<br>
<a href="https://flash.rochester.edu/mailman/listinfo/flash-users" rel="noreferrer" target="_blank">https://flash.rochester.edu/mailman/listinfo/flash-users</a><br>
</blockquote></div></div>