<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Hi Zhang,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">My system is similar (CentOs 7). I wonder if your Makefile.h uses those environment variables you define in all the places it needs to. For example in my Makefile.h I have:</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div></div>FCOMP   = ${MPI_PATH}/bin/mpif90<br>CCOMP   = ${MPI_PATH}/bin/mpicc<br>CPPCOMP = ${MPI_PATH}/bin/mpicxx<br>LINK    = ${MPI_PATH}/bin/mpif90<div><br></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">and</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><span style="font-family:Arial,Helvetica,sans-serif">LIB_MPE   = -L$(MPI_PATH)/lib -lmpe</span></div><br></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Jon</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 11, 2019 at 1:00 PM <<a href="mailto:flash-users-request@flash.uchicago.edu">flash-users-request@flash.uchicago.edu</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From: Zhang Daoyuan <<a href="mailto:zdy0903@stu.xjtu.edu.cn" target="_blank">zdy0903@stu.xjtu.edu.cn</a>><br>To: "<a href="mailto:flash-users@flash.uchicago.edu" target="_blank">flash-users@flash.uchicago.edu</a>" <<a href="mailto:flash-users@flash.uchicago.edu" target="_blank">flash-users@flash.uchicago.edu</a>><br>Cc: <br>Bcc: <br>Date: Tue, 11 Jun 2019 17:43:44 +0800 (GMT+08:00)<br>Subject: [FLASH-USERS] How to install FLASH4.6<br><p>
        <span style="font-family:SimSun">Hi!</span>
</p>
<p>
        <span style="font-family:SimSun">  Recently, I need to install FLASH4.6 in a new centOS system. I don't have root authority so I didn't install the mpich, HDF5 and hypre in usr/local/....</span>
</p>
<p>
        <span style="font-family:SimSun">I install these on another place, just like below (<strong style="font-family:SimSun;white-space:normal">/home/hpcszb2013036/ziwei/mpich)</strong></span>
</p>
<p>
        <strong style="font-family:SimSun"><br>
</strong>
</p>
<p>
        <span style="font-family:SimSun">[hpcszb2013036@ln4 ziwei]$ <strong>ls</strong></span>
</p>
<p>
        <span style="font-family:SimSun"><span style="font-family:SimSun">FLASH4.6 </span><span style="font-family:SimSun"> <strong>hdf5</strong>  <strong>hypre </strong><strong>mpich</strong>  </span></span>
</p>
<p>
        <span style="font-family:SimSun"><br>
</span>
</p>
<p>
        <span style="font-family:SimSun">Also, I change the paths in Makefile.h, just like.</span>
</p>
<p>
        <span style="font-family:SimSun"><strong>MPI_PATH   = /home/hpcszb2013036/ziwei/mpich</strong><br>
<strong>HDF4_PATH  =</strong><br>
<strong>HDF5_PATH  = /home/hpcszb2013036/ziwei/hdf5</strong><br>
<strong>HYPRE_PATH = /home/hpcszb2013036/ziwei/hypre</strong><br>
<br>
</span>
</p>
<p>
        <span style="font-family:SimSun">However we met the warning when excuting make, just like </span>
</p>
<p>
        <span style="font-family:SimSun"><br>
</span>
</p>
<p>
        <span style="font-family:SimSun"><strong> </strong><strong>/usr/bin/ld: warning: libmpi.so.20, needed by /home/hpcszb2013036/ziwei/hdf5/lib/libhdf5.so, may conflict with libmpi.so.12</strong><br>
<strong>SUCCESS</strong><br>
        </span></p><p>
                why there is waring in /usr/bin/ld?
        </p>
        <p>
                <br>
        </p>
        <p>
                And when we do mpirun, it will show an error like
        </p>
        <p>
                <strong>[hpcszb2013036@ln4 object]$ mpirun -np 4 ./flash4</strong><br>
<strong>./flash4: error while loading shared libraries: libmpi.so.20: cannot open shared object file: No such file or directory</strong><br>
<strong>./flash4: error while loading shared libraries: libmpi.so.20: cannot open shared object file: No such file or directory</strong>
        </p>
        <p>
                <br>
        </p>
        <p>
                Maybe there is something wrong in my installation. Is there anyone what it is about? Thank you very much!
        </p>
        <p>
                <br>
        </p>
        <p>
                Zhang
        </p>
        <p>
                <strong></strong>
        </p>
<br>
        <div>
                <br>
        </div>
<br>

<p></p>_______________________________________________<br>
flash-users mailing list<br>
<a href="mailto:flash-users@flash.uchicago.edu" target="_blank">flash-users@flash.uchicago.edu</a><br>
<a href="http://flash.uchicago.edu/mailman/listinfo/flash-users" rel="noreferrer" target="_blank">http://flash.uchicago.edu/mailman/listinfo/flash-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><img src="https://lh6.googleusercontent.com/mJuf9zI6QC5w6HPVCinnLSkpp-RgufOfl7nw1E_aghDflNhusoRbZTuP_0x-RkECQRhIfvPxGMe6zSt6chyXZ7D5DdqtkZPp0q-TE8itKny8VWObWAiZ1aurYWDO0CtZgvJEXfzu" width="350" height="2" style="font-size: 12.6667px; font-family: Arial; white-space: pre-wrap; border: none;"></div><div dir="ltr">Jonathan D. Slavin</div><div dir="ltr">Astrophysicist - High Energy Astrophysics Division</div><div dir="ltr">Center for Astrophysics | Harvard & Smithsonian</div><div dir="ltr">Office: (617) 496-7981 | Cell: (781) 363-0035<br>60 Garden Street | MS 83 | Cambridge, MA 02138</div></div><div dir="ltr"><span><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9.5pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><img src="https://lh6.googleusercontent.com/mJuf9zI6QC5w6HPVCinnLSkpp-RgufOfl7nw1E_aghDflNhusoRbZTuP_0x-RkECQRhIfvPxGMe6zSt6chyXZ7D5DdqtkZPp0q-TE8itKny8VWObWAiZ1aurYWDO0CtZgvJEXfzu" width="350" height="2" style="border: none;"></span><span style="font-size:9.5pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br></span></p></span></div></div></div></div></div></div></div></div></div>