<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br><div><br><blockquote type="cite"><div>On Jan 16, 2023, at 9:34 AM, DIEGO ANDRÉS OPORTUS CIUDAD <daoportus@uc.cl> wrote:</div><br class="Apple-interchange-newline"><div><meta charset="UTF-8"><div class="elementToProof" style="caret-color: rgb(0, 0, 0); font-family: TrebuchetMS; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><span class="elementToProof ContentPasted0 ContentPasted1 ContentPasted4" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">Hi all,<div><br class="ContentPasted1"></div><div class="ContentPasted1 elementToProof">I recently try to setup Flash4.7 on my pc.<span> I believed that I have installed HDF5, HYPRE, and</span></div><div class="ContentPasted1 elementToProof">NetCDF successfully.</div><div><br class="ContentPasted1"></div><div class="ContentPasted1 elementToProof">I have HDF5 installed in the folder: /usr/local/hdf5</div><div class="ContentPasted1 elementToProof">I have HYPRE installed in the folder: /usr/local/hypre .</div><div class="ContentPasted1 elementToProof">I have NetCDF installed in the folder: /usr/local/netcdf .</div><div><br class="ContentPasted1"></div><div class="ContentPasted1">Therefore, I have set the path in the Makefile.h as following:</div><div><br class="ContentPasted1"></div><div class="ContentPasted1 elementToProof">HDF5_PATH =<span class="Apple-converted-space"> </span><span style="background-color: rgb(255, 255, 255); display: inline !important;">/usr/local/hdf5</span></div><div class="ContentPasted1 elementToProof">HYPRE_PATH=<span style="background-color: rgb(255, 255, 255); display: inline !important;"><span> </span>/usr/local/hypre </span></div><div class="ContentPasted1 elementToProof">NCMPI_PATH=<span class="ContentPasted2" style="background-color: rgb(255, 255, 255); display: inline !important;"><span class="ContentPasted2"> </span>/usr/local/netcdf</span></div><div><br class="ContentPasted1"></div><div class="ContentPasted1 elementToProof">I am now trying the test run "Sedov" suggested in section 2.2 in the <span>user guide. I compiled the project successfully. However, when I try to </span><span>run by typing "mpirun -np 2 flash4", I got the following error message:</span></div><div class="elementToProof"><br></div><div class="elementToProof ContentPasted3"><i>flash4: error while loading shared libraries: libhdf5.so.310: cannot open shared object file: No such file or directory</i><div class="ContentPasted3"><i>--------------------------------------------------------------------------</i></div><div class="ContentPasted3"><i>Primary job  terminated normally, but 1 process returned</i></div><div class="ContentPasted3"><i>a non-zero exit code. Per user-direction, the job has been aborted.</i></div><div class="ContentPasted3"><i>--------------------------------------------------------------------------</i></div><i>flash4: error while loading shared libraries: libhdf5.so.310: cannot open shared object file: No such file or directory</i><br></div><div><br class="ContentPasted1"></div><div class="ContentPasted1 elementToProof">However, I checked the folder "/usr/local/hdf5" and <span>found the following files in the folder:</span></div><div class="ContentPasted1 elementToProof"><span><br></span></div><div class="ContentPasted1 elementToProof"></div>ibhdf5.a      libhdf5_hl.so          <a href="http://libhdf5.la/">libhdf5.la</a><span class="Apple-converted-space"> </span>       libhdf5.so.310<div class="ContentPasted4">libhdf5_hl.a   libhdf5_hl.so.310      libhdf5.settings  libhdf5.so.310.0.0</div><a href="http://libhdf5_hl.la/">libhdf5_hl.la</a><span class="Apple-converted-space"> </span> libhdf5_hl.so.310.0.0  libhdf5.so<div class="ContentPasted1"></div><div><br class="ContentPasted1"></div><div class="ContentPasted1 elementToProof">In other words, "libhdf5.so.310" is in the folder.</div><div><br class="ContentPasted1"></div></span></div></div></blockquote><br></div><div>If you installed HDF to /usr/local/hdf5, then its libraries should be in /usr/local/hdf5/lib (or .../lib64, depending on OS/distribution).</div><div><br></div><div>How did you put the libraries into that directory?</div><div><br></div><div>Tony</div><div><br></div></body></html>