[FLASH-USERS] How to install FLASH4.6

Slavin, Jonathan jslavin at cfa.harvard.edu
Thu Jun 13 15:13:54 EDT 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20190613/4ac3e26a/attachment.htm>


More information about the flash-users mailing list