[mpich-discuss] libmpich.so not found
Rajeev Thakur
thakur at mcs.anl.gov
Thu Sep 25 10:02:45 CDT 2008
I can reproduce the problem if I configure with --enable-dynamiclibs. It
works without that option. Try configuring without --enable-dynamiclibs; it
is not needed for building a shared library.
Rajeev
> -----Original Message-----
> From: Christopher Tanner [mailto:christopher.tanner at gatech.edu]
> Sent: Thursday, September 25, 2008 7:50 AM
> To: Rajeev Thakur
> Cc: mpich-discuss at mcs.anl.gov
> Subject: Re: [mpich-discuss] libmpich.so not found
>
> Thanks for quick response! I have one issue though:
>
> We are running some Fortran applications that haven't been
> able to be compiled by gfortran so we had to use the Intel
> Fortran compiler (ifort). However, since MPICH2 doesn't
> support shared libraries with icc yet, I just used gcc to
> build the shared libraries. Thus the configure command looks like:
>
> $ ./configure --prefix=/usr/local/mpi/mpich2 --enable-f77
> --enable-f90 --enable-cxx --enable-dynamiclibs
> --enable-sharedlibs=gcc --enable- fast=defopt CC=icc
> CFLAGS=-m64 CXX=icpc CXXFLAGS=-m64 F77=ifort
> FFLAGS=-m64 F90=ifort F90FLAGS=-m64
>
> This resulted in some make errors -- the make output is attached
> (make.log) and the error occurs at the end of the file. Is
> this make error a result of using the Intel compilers or of
> trying to use different C compilers for the executables and
> the shared libraries?
>
> -------------------------------------------
> Chris Tanner
> Space Systems Design Lab
> Georgia Institute of Technology
> christopher.tanner at gatech.edu
> -------------------------------------------
>
More information about the mpich-discuss
mailing list