[FLASH-USERS] How to install FLASH4.6

Ernesto Zurbriggen ezurbriggen at unc.edu.ar
Fri Jun 14 14:32:37 EDT 2019


Hi Zhang!

>*[hpcszb2013036 at ln4 object]$ mpirun -np 4 ./flash4*
>*./flash4: error while loading shared libraries: libmpi.so.20: cannot open
shared object file: No such file or directory*
>*./flash4: error while loading shared libraries: libmpi.so.20: cannot open
shared object file: No such file or directory*
I had this same problem. At least in my case, the problem was that FLASH
looked for the library *libmpi.so.20 *that didn't exist because mpich
provides another similar but with another name, e.g. *libmpi.so.40.20.1 * .
The problem was overcome easily creating a symbolic link to give FLASH what
it wants to,

  $ ln -s *libmpi.so.40.20.1 **libmpi.so.20 *

Best!



El jue., 13 jun. 2019 a las 16:14, Slavin, Jonathan (<
jslavin at cfa.harvard.edu>) escribió:

> Hi Zhang,
>
> 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:
>
> FCOMP   = ${MPI_PATH}/bin/mpif90
> CCOMP   = ${MPI_PATH}/bin/mpicc
> CPPCOMP = ${MPI_PATH}/bin/mpicxx
> LINK    = ${MPI_PATH}/bin/mpif90
>
> and
>
> LIB_MPE   = -L$(MPI_PATH)/lib -lmpe
>
> Jon
>
> On Tue, Jun 11, 2019 at 1:00 PM <flash-users-request at flash.uchicago.edu>
> wrote:
>
>> From: Zhang Daoyuan <zdy0903 at stu.xjtu.edu.cn>
>> To: "flash-users at flash.uchicago.edu" <flash-users at flash.uchicago.edu>
>> Cc:
>> Bcc:
>> Date: Tue, 11 Jun 2019 17:43:44 +0800 (GMT+08:00)
>> Subject: [FLASH-USERS] How to install FLASH4.6
>>
>> Hi!
>>
>>   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/....
>>
>> I install these on another place, just like below (
>> */home/hpcszb2013036/ziwei/mpich)*
>>
>>
>> [hpcszb2013036 at ln4 ziwei]$ *ls*
>>
>> FLASH4.6  *hdf5*  *hypre **mpich*
>>
>>
>> Also, I change the paths in Makefile.h, just like.
>>
>> *MPI_PATH   = /home/hpcszb2013036/ziwei/mpich*
>> *HDF4_PATH  =*
>> *HDF5_PATH  = /home/hpcszb2013036/ziwei/hdf5*
>> *HYPRE_PATH = /home/hpcszb2013036/ziwei/hypre*
>>
>> However we met the warning when excuting make, just like
>>
>>
>>  */usr/bin/ld: warning: libmpi.so.20, needed by
>> /home/hpcszb2013036/ziwei/hdf5/lib/libhdf5.so, may conflict with
>> libmpi.so.12*
>> *SUCCESS*
>>
>> why there is waring in /usr/bin/ld?
>>
>>
>> And when we do mpirun, it will show an error like
>>
>> *[hpcszb2013036 at ln4 object]$ mpirun -np 4 ./flash4*
>> *./flash4: error while loading shared libraries: libmpi.so.20: cannot
>> open shared object file: No such file or directory*
>> *./flash4: error while loading shared libraries: libmpi.so.20: cannot
>> open shared object file: No such file or directory*
>>
>>
>> Maybe there is something wrong in my installation. Is there anyone what
>> it is about? Thank you very much!
>>
>>
>> Zhang
>>
>>
>>
>>
>> _______________________________________________
>> flash-users mailing list
>> flash-users at flash.uchicago.edu
>> http://flash.uchicago.edu/mailman/listinfo/flash-users
>>
>
>
> --
> Jonathan D. Slavin
> Astrophysicist - High Energy Astrophysics Division
> Center for Astrophysics | Harvard & Smithsonian
> Office: (617) 496-7981 | Cell: (781) 363-0035
> 60 Garden Street | MS 83 | Cambridge, MA 02138
>
>
>

-- 
*PhD Ernesto Zurbriggen*

**** Consejo Nacional de Investigaciones Científicas y Técnicas **(CONICET)**,
Instituto de Astronomía Teórica y Experimental (IATE), Argentina.*
**** Universidad Nacional de Córdoba **(UNC)**, **Observatorio Astronómico
de Córdoba **(OAC), Argentina**.*

*Teléfono: +54 0351 4331064-5, interno 222.*

*Laprida 854, Bº Observatorio (CP 5000), Córdoba, Argentina.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20190614/d6778da3/attachment.htm>


More information about the flash-users mailing list