Compiling PETSc with Visual Studio 2008

Farshid Mossaiby mossaiby at
Wed Apr 23 02:19:16 CDT 2008

Dear Satish,

Thanks for all your helpful comments.

I am currently doing a 32 bit build. I will try to
install MPICH2 binaries and report the results.

I read a bit the manual of latest MPICH2; it says you
can build it very easily under windows. I still cannot
understand why Matt wrote:

MPICH (and any other MPI) does not build automatically
on Windows. You have to download binaries, which means
you are stuck with whatever compilers were used to
build it.

Of course you are much more experienced with this,
just wanted to know.

Best regards,
Farshid Mossaiby

--- Satish Balay <balay at> wrote:

> 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.
> Satish

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

More information about the petsc-dev mailing list