[mpich-discuss] Problem testing mpich2-1.2.1p1

Rajeev Thakur thakur at mcs.anl.gov
Tue May 25 11:38:47 CDT 2010


You should send this to petsc-maint at mcs.anl.gov. 

Rajeev

> -----Original Message-----
> From: mpich-discuss-bounces at mcs.anl.gov 
> [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of 
> cpolindara at mecanica.upm.es
> Sent: Tuesday, May 25, 2010 11:27 AM
> To: mpich-discuss at mcs.anl.gov
> Subject: [mpich-discuss] Problem testing mpich2-1.2.1p1
> 
> 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