[petsc-dev] Unable to find zlib library

Chen Shapira chen2600 at gmail.com
Tue Mar 19 07:04:45 CDT 2013


Hi Again,

While configuring PETSc in Cygwin,
I recieve the following error :
"Compression library [libz.a or equivalent] not found"

The thing is, I already have the file : zlib.lib included in the
configuration of petsc .

My configure command is :
./config/configure.py --with-cc='win32fe cl' --with-fc='win32fe ifort'
--with-cxx='win32fe cl' --with-mpi-dir="/cygdrive/C/Program Files
(x86)/MPICH2" --download-f-blas-lapack=1 --with-clanguage=c
--with-petsc-arch=arch-mswin-c-debug
--CFLAGS=-D_CRT_SECURE_NO_DEPRECATE --with-debugging=0
--ignore-cygwin-link --with-valgrind=0 --with-c2html=0
--download-sowing=1 --with-hdf5=1
--with-hdf5-include=/cygdrive/c/libraries/hdf5/include
--with-hdf5-lib=\[/cygdrive/c/libraries/hdf5/libs/hdf5dll.lib,/cygdrive/c/libraries/hdf5/libs/hdf5_fortrandll.lib,/cygdrive/c/libraries/hdf5/libs/szip.lib,/cygdrive/c/libraries/hdf5/libs/zlib.lib\]

Thank you again..
Chen



More information about the petsc-dev mailing list