Compiling PETSc with Visual Studio 2008
Farshid Mossaiby
mossaiby at yahoo.com
Tue Apr 22 07:12:46 CDT 2008
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.
Regards,
Farshid Mossaiby
--- Satish Balay <balay at mcs.anl.gov> wrote:
> On Mon, 21 Apr 2008, Farshid Mossaiby wrote:
>
> > Hi all,
> >
> > I want to try compiling PETSc with Visual Studio
> 2008
> > (Express Edition). I know that even 2005 support
> in
> > not complete (win32fe does not autodetect it), but
> I
> > can try. I may first use Cygwin, but somebody may
> > later use Python and other GNU utilities compiled
> for
> > Windows.
>
> Hmm - not sure I understand this - but Cygwin is one
> version of Python
> & GNU utilities compiled for Windows.
>
> What alternative are you thinking of?
>
> > Could you please let me know if somebody has tried
> it
> > before? And what will be the problems, if I want
> to do
> > that?
>
> You can give it a try with the instructions for
> "Using Visual Studio
> 2005" and let us know if you encounter errors.
>
>
http://www-unix.mcs.anl.gov/petsc/petsc-as/documentation/installation.html
>
> > Do you have a list of external tools used in
> > your build system?
>
> We don't have a complete list. It uses the basic
> unix tools like pwd,
> wc, uniq, sort and then the regular tools like grep,
> sed etc.. Most
> of them are available in a basic cygwin install
> [except for
> make/diff/python]
>
> > Also, where can I find sources for win32fe?
>
> http://petsc.cs.iit.edu/petsc/win32fe
>
> Satish
>
>
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
More information about the petsc-dev
mailing list