Unable to use MPICH2 during Petsc compilation

Satish Balay balay at mcs.anl.gov
Fri Nov 24 20:07:47 CST 2006


You can't build PETSc libraries with mpich1 and expect it to work with
mpich2.

If there was a configure failure with mpich2 - then send us the
relavent configure.log file. Configure should have found mpich2 - if
it were installed in the default location. Perhaps there was some
other issue here..

Also - if mpich1 works - I'll recommend sticking with it on
windows. [unless there is a specific reason - requiring mpich2]

Satish

On Sat, 25 Nov 2006, Ben Tay wrote:

> Hi,
> 
> I tried to install the mpich2 package 1st and compile the Petsc. I tried
> specifying the directory/libs/include but they all did not work. I had
> used /config/configure.py
> --with-cc='win32fe cl' --with-fc='win32fe f90'  --with-cxx='win32fe cl'
> By moving the intel mkl from c:/program files/intel/mkl/8.1.1/ to c:/program
> files/intel/mkl/, it was able to detect mkl. However, the mpi ini() was not
> successful. So in the end I had to install mpich1 and compile with Petsc
> using that.
> 
> I now 've a working Petsc with mpich1. If I use the above command again to
> generate the log file, will it "damaged" my current Petsc?
> 
> Thank you!
> 
> On 11/25/06, Satish Balay <balay at mcs.anl.gov> wrote:
> > 
> > Have you rebuilt PETSc libraries with mpich2 - when you made this change?
> > 
> > If so - send us the relavent logs at petsc-maint at mcs.anl.gov
> > [configure.log, make_log and log for 'make test']
> > 
> > Satish
> > 
> > On Sat, 25 Nov 2006, Ben Tay wrote:
> > 
> > > Hi,
> > >
> > > I'm trying to use MPICH2 for the mpi during compilation of my Petsc. It
> > > works OK if I use MPICH (mpich.nt.1.2.5). I try to specify the
> > directory,lib
> > > (mpich2.lib),include etc but it keeps on saying that mpi_init cannot
> > work or
> > > something like that. May I know what's wrong?
> > >
> > > My OS is winxp pro sp2.
> > >
> > > Thank you very much!
> > >
> > 
> > 
> 




More information about the petsc-users mailing list