[petsc-dev] Configure on Windows

Luis Manuel de Vries luis.de.vries at amphos21.com
Thu Oct 11 10:52:42 CDT 2012


Hi,

When running the following in Cygwin on Windows with the latest PETSC-dev
code:

$PETSC_DIR/config/configure.py --with-cc='win32fe cl' --with-fc='win32fe
ifort' --with-cxx='win32fe cl' --with-clanguage=c \
--with-mpi-dir=/cygdrive/C/Progra~2/MPICH2
--with-blas-lapack-dir=/cygdrive/c/Progra~2/Intel/Compos~1/mkl/lib/ia32 \
--CFLAGS=-D_CRT_SECURE_NO_DEPRECATE --ignore-cygwin-link --with-valgrind=0
--with-c2html=0 --download-sowing=1 \
--with-hdf5=1 --with-hdf5-include=\[/cygdrive/c/dev/PFlotran/HDF5/include,\
/cygdrive/c/dev/PFlotran/HDF5/include/fortran\] \
--with-hdf5-lib=\[/cygdrive/c/dev/PFlotran/HDF5/lib/hdf5.lib,\
/cygdrive/c/dev/PFlotran/HDF5/lib/hdf5_fortran.lib,\
/cygdrive/c/dev/PFlotran/HDF5/lib/libzlib.lib,\
/cygdrive/c/dev/PFlotran/HDF5/lib/libszip.lib\] \
--with-debugging=0 --with-petsc-arch=cygwin_hdf189_rel_24559

I get the following error:

UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):
-------------------------------------------------------------------------------
Compression library [libz.a or equivalent] not found

I downloaded the HDF5 library from:
http://www.hdfgroup.org/ftp/HDF5/current/bin/windows/HDF5189-win32-vs10-static.zip

I tried renaming libzlib.lib to zlib.lib, but that did not help. Also tried
copying it to the petsc-dev dir, that also failed.
How can I pass the path to the zip library correctly?

A few months ago I did not have problems running configure on windows....

Any suggestions?

Thanks,

Luis Manuel de Vries
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20121011/42aa4754/attachment.html>


More information about the petsc-dev mailing list