[mpich-discuss] Problem testing mpich2-1.2.1p1

cpolindara at mecanica.upm.es cpolindara at mecanica.upm.es
Tue May 25 11:26:34 CDT 2010


Hi to all,

I've been trying to compile the MPI distribution mpich2-1.2.1p1 on my
Ubuntu 10.4 OS, but I have some problems when trying to configure PETSc.
Here's what I've done so far:

1) I've configured MPI with:

/usr/local/mpich2-1.2.1p1/configure -prefix=/usr/local/mpi
--enable-sharedlibs=osx-gcc

2) I've executed 'make' and 'make install' and everything goes well

3) I've tried to configure PETSc with:

config/configure.py --with-mpi-dir=/usr/local/mpi --with-cc=gcc
--with-fc=gfortran --with-cxx=g++ --download-f-blas-lapack=1 
--with-clanguage=cxx --with-shared=1 --with-dynamic=1

and I get the following error:

---------------------------------------------------------------------------------------
Shared libraries cannot be built using MPI provided.
Either rebuild with --with-shared=0 or rebuild MPI with shared library
support
*********************************************************************************

Could you tell me what is it that went wrong. I've compiled MPI using
shared libraries.

Thank you,

César Polindara
UPM, Madrid











More information about the mpich-discuss mailing list