[petsc-users] Configure error

Satish Balay balay at mcs.anl.gov
Fri Aug 10 09:28:48 CDT 2012

On Fri, 10 Aug 2012, Fabio wrote:

> I updated to the last version of Petsc then I used again
> PETSC_DIR=`pwd`; export PETSC_DIR
> then in the petsc directory
> ./configure --with-cc='win32fe cl' --with-fc=0
> --download-f2cblas-lapack --with-mpi-dir=/cygdrive/c/Program\ Files\
> \(x86\)/MPICH2
> Now I have an error,
> "Nonexistent directory /cygdrive/c/Program\ Files\ \(x86\)/MPICH2"
> The directory anyway is there and cygwin could easily access it
> Also trying with mpi-include/lib gives the same error.
> What can I do?

Remove the --with-mpi-dir option.

Configure should automatically look for mpich at this location.


More information about the petsc-users mailing list