[petsc-dev] Error compiling PETSc on Windows

Hector E Barrios Molano hectorb at utexas.edu
Thu Jul 5 19:21:32 CDT 2018


Hi PETSc Experts,

I am compiling PETSc from git repository on Windows 7. I am getting the 
following error, attached you will find make.log file:

           CC windows-intel-debug/obj/tao/leastsquares/impls/pounders/gqt.o
gqt.c
           FC windows-intel-debug/obj/dm/f90-mod/petscdmplexmod.o
           FC windows-intel-debug/obj/ksp/f90-mod/petsckspmod.o
           FC windows-intel-debug/obj/snes/f90-mod/petscsnesmod.o
           FC windows-intel-debug/obj/ts/f90-mod/petsctsmod.o
           FC windows-intel-debug/obj/tao/f90-mod/petsctaomod.o
           AR windows-intel-debug/lib/libpetsc.lib
       RANLIB windows-intel-debug/lib/libpetsc.lib
make[2]: Leaving directory '/cygdrive/c/sources/petsc'
make[1]: Leaving directory '/cygdrive/c/sources/petsc'
**************************ERROR*************************************
   Error during compile, check windows-intel-debug/lib/petsc/conf/make.log
   Send it and windows-intel-debug/lib/petsc/conf/configure.log to 
petsc-maint at mcs.anl.gov
********************************************************************
make: *** [makefile:36: all] Error 1


Here is the configure command I am using:

./configure --prefix=/cygdrive/c/installed/petsc_git-intel-debug/ 
--PETSC_DIR=/cygdrive/c/sources/petsc --PETSC_ARCH=windows-intel-debug 
--with-cc='win32fe cl' --with-fc='win32fe ifort' 
--with-mpi-include=["/cygdrive/c/Program Files 
(x86)/IntelSWTools/compilers_and_libraries_2018/windows/mpi/intel64/include"] 
--with-mpi-lib=["/cygdrive/c/Program Files 
(x86)/IntelSWTools/compilers_and_libraries_2018/windows/mpi/intel64/lib/release_mt/impi.lib"] 
--with-openmp=1 
--with-parmetis-lib=/cygdrive/c/installed/parmetis/lib/parmetis.lib 
--with-parmetis-include=/cygdrive/c/installed/parmetis/include 
--with-metis-lib=/cygdrive/c/installed/parmetis/lib/metis.lib 
--with-metis-include=/cygdrive/c/installed/parmetis/include 
--with-zoltan-include=/cygdrive/c/installed/zoltan/include 
--with-zoltan-lib=/cygdrive/c/installed/zoltan/lib/zoltan.lib 
--with-hypre-include=/cygdrive/c/installed/hypre/include 
--with-hypre-lib=/cygdrive/c/installed/hypre/lib/HYPRE.lib 
--with-blas-lapack-lib=["/cygdrive/c/Program Files 
(x86)/IntelSWTools/compilers_and_libraries_2018/windows/mkl/lib/intel64/mkl_intel_lp64.lib","/cygdrive/c/Program 
Files 
(x86)/IntelSWTools/compilers_and_libraries_2018/windows/mkl/lib/intel64/mkl_core.lib","/cygdrive/c/Program 
Files 
(x86)/IntelSWTools/compilers_and_libraries_2018/windows/mkl/lib/intel64/mkl_intel_thread.lib"] 
--with-scalapack-include="/cygdrive/c/Program Files 
(x86)/IntelSWTools/compilers_and_libraries_2018/windows/mkl/include" 
--with-scalapack-lib=["/cygdrive/c/Program Files 
(x86)/IntelSWTools/compilers_and_libraries_2018/windows/mkl/lib/intel64/mkl_scalapack_lp64.lib","/cygdrive/c/Program 
Files 
(x86)/IntelSWTools/compilers_and_libraries_2018/windows/mkl/lib/intel64/mkl_blacs_intelmpi_lp64.lib"] 
--with-shared-libraries=0 -LIBS="\"/cygdrive/c/Program Files 
(x86)/IntelSWTools/compilers_and_libraries_2018/windows/mkl/lib/intel64/mkl_intel_lp64.lib\" 
\"/cygdrive/c/Program Files 
(x86)/IntelSWTools/compilers_and_libraries_2018/windows/mkl/lib/intel64/mkl_intel_thread.lib\" 
\"/cygdrive/c/Program Files 
(x86)/IntelSWTools/compilers_and_libraries_2018/windows/mkl/lib/intel64//mkl_core.lib\" 
\"/cygdrive/c/Program Files 
(x86)/IntelSWTools/compilers_and_libraries_2018/windows/mkl/lib/intel64/mkl_scalapack_lp64.lib\" 
\"/cygdrive/c/Program Files 
(x86)/IntelSWTools/compilers_and_libraries_2018/windows/mkl/lib/intel64/mkl_blacs_intelmpi_lp64.lib\" 
libiomp5md.lib"

What could be the problem?

Thanks,

Hector


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180705/9adba1ef/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: text/x-log
Size: 117274 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180705/9adba1ef/attachment-0001.bin>


More information about the petsc-dev mailing list