[FLASH-USERS] Unable to make (libmpl and libpo not found)

Christopher Daley cdaley at flash.uchicago.edu
Wed Jun 27 16:40:19 EDT 2012


Add the following to your Makefile.h (this assumes
you are using the MPI wrapper scripts to link)

LIB_MPI   = -lmpl

Chris

On 06/27/2012 03:22 PM, Amol Holkundkar wrote:
> Dear All,
>
> I am unable to make the first example ./setup Sedov -auto
>
> getting following error during make
>
> MPI_PATH in Makefile.h is set properly to
> /usr/lib64/mpich2
>
> OS : Fedora 17 x86_64
> Following packages are installed
> mpich2 and mpich2-devel
>
> The code seems to be compiling properly using mpif90 but after a while
> the libraries libmpl.so.1 and libopa.so.1 are  not found which are there
> in /usr/lib64/mpich2/lib folder.
>
> Please help in this regard...
>
> ************************************************************************
> /usr/bin/ld: warning: libopa.so.1, needed
> by /usr/lib64/mpich2/lib/libmpichf90.so, not found (try using -rpath or
> -rpath-link)
> /usr/bin/ld: warning: libmpl.so.1, needed
> by /usr/lib64/mpich2/lib/libmpichf90.so, not found (try using -rpath or
> -rpath-link)
> /usr/lib64/mpich2/lib/libmpich.so: undefined reference to `MPL_trfree'
> /usr/lib64/mpich2/lib/libmpich.so: undefined reference to `MPL_env2str'
> /usr/lib64/mpich2/lib/libmpich.so: undefined reference to `MPL_trlevel'
> /usr/lib64/mpich2/lib/libmpich.so: undefined reference to `MPL_trvalid'
> /usr/lib64/mpich2/lib/libmpich.so: undefined reference to `MPL_trmalloc'
> /usr/lib64/mpich2/lib/libmpich.so: undefined reference to `MPL_trspace'
> /usr/lib64/mpich2/lib/libmpich.so: undefined reference to
> `MPL_env2range'
> /usr/lib64/mpich2/lib/libmpich.so: undefined reference to `MPL_trcalloc'
> /usr/lib64/mpich2/lib/libmpich.so: undefined reference to `MPL_env2int'
> /usr/lib64/mpich2/lib/libmpich.so: undefined reference to `MPL_trdump'
> /usr/lib64/mpich2/lib/libmpich.so: undefined reference to `MPL_env2bool'
> /usr/lib64/mpich2/lib/libmpich.so: undefined reference to `MPL_trstrdup'
> /usr/lib64/mpich2/lib/libmpich.so: undefined reference to
> `MPL_trrealloc'
> /usr/lib64/mpich2/lib/libmpich.so: undefined reference to
> `MPL_TrSetMaxMem'
> /usr/lib64/mpich2/lib/libmpich.so: undefined reference to `MPL_trinit'
> /usr/lib64/mpich2/lib/libmpich.so: undefined reference to
> `MPL_trDebugLevel'
> /usr/lib64/mpich2/lib/libmpich.so: undefined reference to `MPL_trid'
> collect2: error: ld returned 1 exit status
> make: *** [flash4] Error 1
> ***********************************************************************
>
> Regards
> Amol Holkundkar
>





More information about the flash-users mailing list