[mpich-discuss] error while loading shared libraries: libsvml.so

Anthony Chan chan at mcs.anl.gov
Mon Jun 23 16:11:42 CDT 2008



----- "Angel Arancibia" <angel.arancibia at gmail.com> wrote:

> ./configure --prefix=/opt/mpi/mpich2-1.0.7/64/ --with-pm=smpd
> --with-pmi=smpd --enable-f90 'LDFLAGS=-L/usr/local/lib
> -L/opt/intel/fce/9.1.036/lib -L/opt/intel/cce/9.1.042/lib -lsvml
> -lpthread -lcrypto' 'FFLAGS=-axW -O3 -fPIC -tpp7 -xT -fpe0
> -I/opt/intel/fce/9.1.036/include -I/opt/intel/cce/9.1.042/include -c'
> 2>&1 | tee config.txt

This reply is not related to your main question but your use of FFLAGS.
Why do you append "-c" in your FFLAGS ?  Starting in 1.0.7, MPICH2 configure
accepts FFLAGS as wells as MPICH2LIB_FFLAGS.  MPICH2LIB_FFLAGS is used solely
in compilation of MPICH2's libraries.  FFLAGS is used in both compiling
MPICH2 libraries and mpif77 wrapper script.  So optimization flags for MPICH2
libraries should go to MPICH2LIB_FFLAGS.  See section 2.3 in installer's guide
for details.

A.Chan




More information about the mpich-discuss mailing list