On Mon, 23 Jul 2007, li pan wrote: > I also have interest about how to use petsc under > visual studio. Can you explain a little bit how to do > it? I'm using cygwin. Cygwin generates libraries for > linux environment. Is that right?
Cygwin does not generate libraries for linux. Its provides a unix enviornment on windows [with shell, make, sed, python etc tools with unix paths like /usr/bin etc..] Our build tools are based on these unix tools, so we require cygwin tools to be able to compile PETSc libraries - even for use with MS compilers. [one can also use gcc/g77 etc via cygwin on windows] If you wish to use PETSc on windows with MS compilers, follow the installation instructions [It has specific instructions for windows installs] http://www-unix.mcs.anl.gov/petsc/petsc-as/documentation/installation.html Once the libraries are compiled, you can use them from [your application in] MS project files as per the instructions in 'Project Files:' section of the installation instructions. Satish
