[petsc-dev] How to configure parallel petsc on windows?

Satish Balay balay at mcs.anl.gov
Sun Nov 20 08:13:40 CST 2011


You might have to do step 6 [edit MPI.py] before 5 [run configure].

>>>>>
6.(only 32bit version).  

edit python/BuildSystem/config/packages/MPI.py and comment out the line
> >     self.functions        = ['MPI_Init', 'MPI_Comm_create' 
<<<<<

The issue is: MSMPI mangles function names. And configure should use
mpi.h in all mpi function tests - to be able to use the correct name
mangling [which it doesn't]

Satish

On Sun, 20 Nov 2011, John R. Cary wrote:

> Is this still possible?
> 
> I followed the example at
> 
>   http://blogs.msdn.com/b/hpctrekker/archive/2008/09/07/running-petsc-on-windows.aspx
> 
> by doing
> 
> config/configure.py --with-cc="win32fe cl" --with-fc=0
> --download-c-blas-lapack=1 --with-mpi-include="/cygdrive/c/Program
> Files/Microsoft HPC Pack 2008 SDK/Include" --with-mpi-lib="/cygdrive/c/Program
> Files/Microsoft HPC Pack 2008 SDK/Lib/i386/msmpi.lib"  --useThreads=0
> --with-shared=0
> 
> which ended with
> 
> ===============================================================================
>              Configuring PETSc to compile on your system
> ===============================================================================
> TESTING: check from
> config.libraries(config/BuildSystem/config/libraries.py:133)*******************************************************************************
>          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
> details):
> -------------------------------------------------------------------------------
> --with-mpi-lib=['/cygdrive/c/Program Files/Microsoft HPC Pack 2008
> SDK/Lib/i386/msmpi.lib'] and
> --with-mpi-include=/cygdrive/c/Program Files/Microsoft HPC Pack 2008
> SDK/Include did not work
> *******************************************************************************
> 
> 
> 
> My configure.log is attached.
> 
> Thx for any help.....John
> 




More information about the petsc-dev mailing list