about PETSC installation

Satish Balay balay at mcs.anl.gov
Sat Oct 21 09:17:06 CDT 2006

On Sat, 21 Oct 2006, Yixun Liu wrote:

> Hi,
> I install PETSC on WindowsXP, MS VC++6.0, Cygwin, Dell standard dual processors PC,
> I do as the PETSc installation page says,
> $ ./config/configure.py --with-mpi-dir=d:/MPICH2
> However, the error is "the Fortran error! mpi_init() could not be located!"
> Then I try this,
> $ ./config/configure.py --with-mpi-dir=d:/MPICH2 --with-cc=c++
> The error is "Unknown Fortran name mangling"

You probabably want to do:

./config/configure.py --with-mpi-dir=/cygdrive/d/MPICH2 --with-cc='win32fe cl' --with-fc=0 --with-cxx='win32fe cl' --with-clanguage=cxx --download-c-blas-lapack=1

Check installation instructions for additional info. If you encounter
further problems - send us the corresponding configure.log to the
address petsc-maint at mcs.anl.gov [not to the users list]


> Hope your help!
> Best regards,
> Yixun Liu

More information about the petsc-users mailing list