Compiling PETSc with Visual Studio 2008

Satish Balay balay at
Tue Apr 22 09:37:07 CDT 2008

On Tue, 22 Apr 2008, Farshid Mossaiby wrote:

> Dear Satish,
> I am glad to inform you that I could finally build
> PETSc with Visual Studio 2008 Express Edition in the
> same way as 2005 version. The test example was run
> successfully by make.
> Now, may I know how should I add support for MPI? As
> said in the web page, I disabled MPI (--with-mpi=0),
> but my code needs it.

Are you doing a 32bit build or 64bit build?

With 32bit build - you can install MPICH1 or latest MPICH2 binarys in
the default locations, and configure should find it automatically.

With 64bit build - it might also work. If it doesn't - let us know, I
might have to recheck on this.


More information about the petsc-dev mailing list