[petsc-users] Problem about compiling PETSc-3.21.2 under Cygwin

Gang Li ligang0309 at gmail.com
Fri Jul 5 02:24:59 CDT 2024


Hi Satish,
Thanks. Problem fixed.
Gang
---- Replied Message ----
FromSatish Balay<balay.anl at fastmail.org>Date7/5/2024 12:31ToGang Li<ligang0309 at gmail.com>Ccpetsc-users<petsc-users at mcs.anl.gov>SubjectRe: [petsc-users] Problem about compiling PETSc-3.21.2 under Cygwin
$ ./configure --with-cc=win32fe_icl --with-fc=win32fe_ifort --with-cxx=win32fe_icl \
--with-precision=double --with-scalar-type=complex \
--with-shared-libraries=0 \
--with-mpi=0 \
--with-blaslapack-lib='-L/cygdrive/c/PROGRA~2/INTELS~1/COMPIL~2/windows/mkl/lib/intel64 mkl_intel_lp64_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib'
C Compiler: /cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3/lib/petsc/bin/win32fe/win32fe_icl -Qstd=c99 -MT -Z7 -Od
Version: Win32 Development Tool Front End, version 1.11.4 Fri, Sep 10, 2021 6:33:40 PM\nIntel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.8.275 Build 20180907
object_pool.cxx
C:\Users\gli\Desktop\PETSc\PETSC-~1.3\src\sys\objects\cxx\object_pool.cxx(330): error: no instance of function template "Petsc::util::construct_at" matches the argument list
Its likely the current petsc/c++ code is incompatible with this version of Intel C++ compiler
[and you need c++ for this complex build - otherwise you could disable c++ with --with-cxx=0]
The alternative is to use a newer version of MS Compilers - or OneAPI compilers.
Satish
On Sun, 30 Jun 2024, Gang Li wrote:
Hi Satish,
I met another issue when make the lib:
gli at WROKSTATION-OFFICE308 /cygdrive/c/Users/gli/Desktop/PETSc 
$ tar -xzf petsc-3.21.3.tar.gz 
gli at WROKSTATION-OFFICE308 /cygdrive/c/Users/gli/Desktop/PETSc 
$ cd petsc-3.21.3 
gli at WROKSTATION-OFFICE308 /cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3 
$ cd petsc-3.21.3 
-bash: cd: petsc-3.21.3: No such file or directory 
gli at WROKSTATION-OFFICE308 /cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3 
$ cygpath -u `cygpath -ms '/cygdrive/c/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/mkl/lib/intel64'` 
/cygdrive/c/PROGRA~2/INTELS~1/COMPIL~2/windows/mkl/lib/intel64 
gli at WROKSTATION-OFFICE308 /cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3 
$ ./configure --with-cc=win32fe_icl --with-fc=win32fe_ifort --with-cxx=win32fe_icl \ 
--with-precision=double --with-scalar-type=complex \ 
--with-shared-libraries=0 \ 
--with-mpi=0 \ 
--with-blaslapack-lib='-L/cygdrive/c/PROGRA~2/INTELS~1/COMPIL~2/windows/mkl/lib/intel64 mkl_intel_lp64_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib' 
================================================================================ 
Configuring PETSc to compile on your system 
================================================================================ 
Compilers: 
C Compiler: /cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3/lib/petsc/bin/win32fe/win32fe_icl -Qstd=c99 -MT -Z7 -Od 
Version: Win32 Development Tool Front End, version 1.11.4 Fri, Sep 10, 2021 6:33:40 PM\nIntel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.8.275 Build 20180907 
C++ Compiler: /cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3/lib/petsc/bin/win32fe/win32fe_icl -MT -GR -EHsc -Z7 -Od -Qstd=c++14 -TP 
Version: Win32 Development Tool Front End, version 1.11.4 Fri, Sep 10, 2021 6:33:40 PM\nIntel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.8.275 Build 20180907 
Fortran Compiler: /cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3/lib/petsc/bin/win32fe/win32fe_ifort -MT -Z7 -Od -fpp 
Version: Win32 Development Tool Front End, version 1.11.4 Fri, Sep 10, 2021 6:33:40 PM\nIntel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.8.275 Build 20180907 
Linkers: 
Static linker: /cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3/lib/petsc/bin/win32fe/win32fe_lib -a 
BlasLapack: 
Intel MKL Version: 20170004 
Libraries: -L/cygdrive/c/PROGRA~2/INTELS~1/COMPIL~2/windows/mkl/lib/intel64 mkl_intel_lp64_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib 
Unknown if this uses OpenMP (try export OMP_NUM_THREADS=<1-4> yourprogram -log_view) 
uses 4 byte integers 
MPI: 
Version: PETSc MPIUNI uniprocessor MPI replacement 
mpiexec: ${PETSC_DIR}/lib/petsc/bin/petsc-mpiexec.uni 
python: 
Executable: /usr/bin/python3 
mkl_sparse: 
Unknown if this uses OpenMP (try export OMP_NUM_THREADS=<1-4> yourprogram -log_view) 
mkl_sparse_optimize: 
Unknown if this uses OpenMP (try export OMP_NUM_THREADS=<1-4> yourprogram -log_view) 
PETSc: 
Language used to compile PETSc: C 
PETSC_ARCH: arch-mswin-c-debug 
PETSC_DIR: /cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3 
Prefix: <inplace installation> 
Scalar type: complex 
Precision: double 
Integer size: 4 bytes 
Single library: yes 
Shared libraries: no 
Memory alignment from malloc(): 16 bytes 
Using GNU make: /usr/bin/make 
xxx=======================================================================================xxx 
Configure stage complete. Now build PETSc libraries with: 
make PETSC_DIR=/cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3 PETSC_ARCH=arch-mswin-c-debug all 
xxx=======================================================================================xxx 
gli at WROKSTATION-OFFICE308 /cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3 
$ make 
make[2]: Entering directory '/cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3' 
========================================== 
See documentation/faq.html and documentation/bugreporting.html 
for help with installation problems. Please send EVERYTHING 
printed out below when reporting problems. Please check the 
mailing list archives and consider subscribing. 
https://urldefense.us/v3/__https://petsc.org/release/community/mailing/__;!!G_uCfscf7eWS!drRoCJiI5IcVVrrjYlGWO1leUL5hjFHVfTGJtV0Smxkw6N7wTSeO5I3sGNYcF_DVCZjpoTfUtIbHzDqPEqUK3Mfi$ 
========================================== 
Starting make run on WROKSTATION-OFFICE308 at Sun, 30 Jun 2024 13:11:53 +0800 
Machine characteristics: CYGWIN_NT-10.0-19045 WROKSTATION-OFFICE308 3.5.3-1.x86_64 2024-04-03 17:25 UTC x86_64 Cygwin 
----------------------------------------- 
Using PETSc directory: /cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3 
Using PETSc arch: arch-mswin-c-debug 
----------------------------------------- 
PETSC_VERSION_RELEASE 1 
PETSC_VERSION_MAJOR 3 
PETSC_VERSION_MINOR 21 
PETSC_VERSION_SUBMINOR 3 
PETSC_VERSION_DATE "Jun 28, 2024" 
PETSC_VERSION_GIT "v3.21.3" 
PETSC_VERSION_DATE_GIT "2024-06-28 11:53:00 -0500" 
----------------------------------------- 
Using configure Options: --with-cc=win32fe_icl --with-fc=win32fe_ifort --with-cxx=win32fe_icl --with-precision=double --with-scalar-type=complex --with-shared-libraries=0 --with-mpi=0 --with-blaslapack-lib="-L/cygdrive/c/PROGRA~2/INTELS~1/COMPIL~2/windows/mkl/lib/intel64 mkl_intel_lp64_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib" 
Using configuration flags: 
#define MPI_Comm_create_errhandler(p_err_fun,p_errhandler) MPI_Errhandler_create((p_err_fun),(p_errhandler)) 
#define MPI_Comm_set_errhandler(comm,p_errhandler) MPI_Errhandler_set((comm),(p_errhandler)) 
#define MPI_Type_create_struct(count,lens,displs,types,newtype) MPI_Type_struct((count),(lens),(displs),(types),(newtype)) 
#define PETSC_ARCH "arch-mswin-c-debug" 
#define PETSC_ATTRIBUTEALIGNED(size) 
#define PETSC_BLASLAPACK_CAPS 1 
#define PETSC_CANNOT_START_DEBUGGER 1 
#define PETSC_CLANGUAGE_C 1 
#define PETSC_CXX_RESTRICT __restrict 
#define PETSC_DEPRECATED_ENUM_BASE(string_literal_why) 
#define PETSC_DEPRECATED_FUNCTION_BASE(string_literal_why) __declspec(deprecated(string_literal_why)) 
#define PETSC_DEPRECATED_MACRO_BASE(string_literal_why) PETSC_DEPRECATED_MACRO_BASE_(GCC warning string_literal_why) 
#define PETSC_DEPRECATED_MACRO_BASE_(why) _Pragma(#why) 
#define PETSC_DEPRECATED_OBJECT_BASE(string_literal_why) __declspec(deprecated(string_literal_why)) 
#define PETSC_DEPRECATED_TYPEDEF_BASE(string_literal_why) 
#define PETSC_DIR "C:\\Users\\gli\\Desktop\\PETSc\\petsc-3.21.3" 
#define PETSC_DIR_SEPARATOR '\\' 
#define PETSC_FORTRAN_CHARLEN_T int 
#define PETSC_FORTRAN_TYPE_INITIALIZE = -2 
#define PETSC_FUNCTION_NAME_C __func__ 
#define PETSC_FUNCTION_NAME_CXX __func__ 
#define PETSC_HAVE_ACCESS 1 
#define PETSC_HAVE_ATOLL 1 
#define PETSC_HAVE_BUILTIN_EXPECT 1 
#define PETSC_HAVE_C99_COMPLEX 1 
#define PETSC_HAVE_CLOCK 1 
#define PETSC_HAVE_CLOSESOCKET 1 
#define PETSC_HAVE_CXX 1 
#define PETSC_HAVE_CXX_ATOMIC 1 
#define PETSC_HAVE_CXX_COMPLEX 1 
#define PETSC_HAVE_CXX_COMPLEX_FIX 1 
#define PETSC_HAVE_CXX_DIALECT_CXX11 1 
#define PETSC_HAVE_CXX_DIALECT_CXX14 1 
#define PETSC_HAVE_DIRECT_H 1 
#define PETSC_HAVE_DOS_H 1 
#define PETSC_HAVE_DOUBLE_ALIGN_MALLOC 1 
#define PETSC_HAVE_ERF 1 
#define PETSC_HAVE_FCNTL_H 1 
#define PETSC_HAVE_FENV_H 1 
#define PETSC_HAVE_FE_VALUES 1 
#define PETSC_HAVE_FLOAT_H 1 
#define PETSC_HAVE_FORTRAN_CAPS 1 
#define PETSC_HAVE_FORTRAN_FLUSH 1 
#define PETSC_HAVE_FORTRAN_FREE_LINE_LENGTH_NONE 1 
#define PETSC_HAVE_FORTRAN_TYPE_STAR 1 
#define PETSC_HAVE_FREELIBRARY 1 
#define PETSC_HAVE_GETCOMPUTERNAME 1 
#define PETSC_HAVE_GETCWD 1 
#define PETSC_HAVE_GETLASTERROR 1 
#define PETSC_HAVE_GETPROCADDRESS 1 
#define PETSC_HAVE_GET_USER_NAME 1 
#define PETSC_HAVE_IMMINTRIN_H 1 
#define PETSC_HAVE_INTTYPES_H 1 
#define PETSC_HAVE_IO_H 1 
#define PETSC_HAVE_ISINF 1 
#define PETSC_HAVE_ISNAN 1 
#define PETSC_HAVE_ISNORMAL 1 
#define PETSC_HAVE_LARGE_INTEGER_U 1 
#define PETSC_HAVE_LGAMMA 1 
#define PETSC_HAVE_LOADLIBRARY 1 
#define PETSC_HAVE_LOG2 1 
#define PETSC_HAVE_LSEEK 1 
#define PETSC_HAVE_MALLOC_H 1 
#define PETSC_HAVE_MEMMOVE 1 
#define PETSC_HAVE_MKL_LIBS 1 
#define PETSC_HAVE_MKL_SPARSE 1 
#define PETSC_HAVE_MKL_SPARSE_OPTIMIZE 1 
#define PETSC_HAVE_MPIUNI 1 
#define PETSC_HAVE_O_BINARY 1 
#define PETSC_HAVE_PACKAGES ":blaslapack:mathlib:mkl_sparse:mkl_sparse_optimize:mpi:" 
#define PETSC_HAVE_RAND 1 
#define PETSC_HAVE_SETJMP_H 1 
#define PETSC_HAVE_SETLASTERROR 1 
#define PETSC_HAVE_STDATOMIC_H 1 
#define PETSC_HAVE_STDINT_H 1 
#define PETSC_HAVE_STRICMP 1 
#define PETSC_HAVE_SYS_TYPES_H 1 
#define PETSC_HAVE_TAU_PERFSTUBS 1 
#define PETSC_HAVE_TGAMMA 1 
#define PETSC_HAVE_TIME 1 
#define PETSC_HAVE_TIME_H 1 
#define PETSC_HAVE_TMPNAM_S 1 
#define PETSC_HAVE_VA_COPY 1 
#define PETSC_HAVE_VSNPRINTF 1 
#define PETSC_HAVE_WINDOWSX_H 1 
#define PETSC_HAVE_WINDOWS_COMPILERS 1 
#define PETSC_HAVE_WINDOWS_H 1 
#define PETSC_HAVE_WINSOCK2_H 1 
#define PETSC_HAVE_WS2TCPIP_H 1 
#define PETSC_HAVE_WSAGETLASTERROR 1 
#define PETSC_HAVE_XMMINTRIN_H 1 
#define PETSC_HAVE__ACCESS 1 
#define PETSC_HAVE__GETCWD 1 
#define PETSC_HAVE__LSEEK 1 
#define PETSC_HAVE__MKDIR 1 
#define PETSC_HAVE__SLEEP 1 
#define PETSC_HAVE___INT64 1 
#define PETSC_INTPTR_T intptr_t 
#define PETSC_INTPTR_T_FMT "#" PRIxPTR 
#define PETSC_IS_COLORING_MAX USHRT_MAX 
#define PETSC_IS_COLORING_VALUE_TYPE short 
#define PETSC_IS_COLORING_VALUE_TYPE_F integer2 
#define PETSC_LEVEL1_DCACHE_LINESIZE 32 
#define PETSC_LIB_DIR "/cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3/arch-mswin-c-debug/lib" 
#define PETSC_MAX_PATH_LEN 4096 
#define PETSC_MEMALIGN 16 
#define PETSC_MISSING_GETLINE 1 
#define PETSC_MISSING_SIGALRM 1 
#define PETSC_MISSING_SIGBUS 1 
#define PETSC_MISSING_SIGCHLD 1 
#define PETSC_MISSING_SIGCONT 1 
#define PETSC_MISSING_SIGHUP 1 
#define PETSC_MISSING_SIGKILL 1 
#define PETSC_MISSING_SIGPIPE 1 
#define PETSC_MISSING_SIGQUIT 1 
#define PETSC_MISSING_SIGSTOP 1 
#define PETSC_MISSING_SIGSYS 1 
#define PETSC_MISSING_SIGTRAP 1 
#define PETSC_MISSING_SIGTSTP 1 
#define PETSC_MISSING_SIGURG 1 
#define PETSC_MISSING_SIGUSR1 1 
#define PETSC_MISSING_SIGUSR2 1 
#define PETSC_MPICC_SHOW "Unavailable" 
#define PETSC_MPIU_IS_COLORING_VALUE_TYPE MPI_UNSIGNED_SHORT 
#define PETSC_NEEDS_UTYPE_TYPEDEFS 1 
#define PETSC_OMAKE "/usr/bin/make --no-print-directory" 
#define PETSC_PREFETCH_HINT_NTA _MM_HINT_NTA 
#define PETSC_PREFETCH_HINT_T0 _MM_HINT_T0 
#define PETSC_PREFETCH_HINT_T1 _MM_HINT_T1 
#define PETSC_PREFETCH_HINT_T2 _MM_HINT_T2 
#define PETSC_PYTHON_EXE "/usr/bin/python3" 
#define PETSC_Prefetch(a,b,c) _mm_prefetch((const char*)(a),(c)) 
#define PETSC_REPLACE_DIR_SEPARATOR '/' 
#define PETSC_SIGNAL_CAST 
#define PETSC_SIZEOF_INT 4 
#define PETSC_SIZEOF_LONG 4 
#define PETSC_SIZEOF_LONG_LONG 8 
#define PETSC_SIZEOF_SIZE_T 8 
#define PETSC_SIZEOF_VOID_P 8 
#define PETSC_SLSUFFIX "" 
#define PETSC_UINTPTR_T uintptr_t 
#define PETSC_UINTPTR_T_FMT "#" PRIxPTR 
#define PETSC_UNUSED 
#define PETSC_USE_AVX512_KERNELS 1 
#define PETSC_USE_BACKWARD_LOOP 1 
#define PETSC_USE_COMPLEX 1 
#define PETSC_USE_CTABLE 1 
#define PETSC_USE_DEBUG 1 
#define PETSC_USE_DEBUGGER "gdb" 
#define PETSC_USE_DMLANDAU_2D 1 
#define PETSC_USE_FORTRAN_BINDINGS 1 
#define PETSC_USE_INFO 1 
#define PETSC_USE_ISATTY 1 
#define PETSC_USE_LOG 1 
#define PETSC_USE_MICROSOFT_TIME 1 
#define PETSC_USE_PROC_FOR_SIZE 1 
#define PETSC_USE_REAL_DOUBLE 1 
#define PETSC_USE_SINGLE_LIBRARY 1 
#define PETSC_USE_WINDOWS_GRAPHICS 1 
#define PETSC_USING_64BIT_PTR 1 
#define PETSC_USING_F2003 1 
#define PETSC_USING_F90FREEFORM 1 
#define PETSC__BSD_SOURCE 1 
#define PETSC__DEFAULT_SOURCE 1 
#define R_OK 04 
#define S_ISDIR(a) (((a)&_S_IFMT) == _S_IFDIR) 
#define S_ISREG(a) (((a)&_S_IFMT) == _S_IFREG) 
#define W_OK 02 
#define X_OK 01 
#define _USE_MATH_DEFINES 1 
----------------------------------------- 
Using C compile: /cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3/lib/petsc/bin/win32fe/win32fe_icl -o .o -c -Qstd=c99 -MT -Z7 -Od 
mpicc -show: Unavailable 
C compiler version: Win32 Development Tool Front End, version 1.11.4 Fri, Sep 10, 2021 6:33:40 PM 
Intel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.8.275 Build 20180907 
Using C++ compile: /cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3/lib/petsc/bin/win32fe/win32fe_icl -o .o -c -MT -GR -EHsc -Z7 -Od -Qstd=c++14 -TP -I/cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3/include -I/cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3/arch-mswin-c-debug/include 
mpicxx -show: Unavailable 
C++ compiler version: Win32 Development Tool Front End, version 1.11.4 Fri, Sep 10, 2021 6:33:40 PM 
Intel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.8.275 Build 20180907 
Using Fortran compile: /cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3/lib/petsc/bin/win32fe/win32fe_ifort -o .o -c -MT -Z7 -Od -fpp -I/cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3/include -I/cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3/arch-mswin-c-debug/include 
mpif90 -show: Unavailable 
Fortran compiler version: Win32 Development Tool Front End, version 1.11.4 Fri, Sep 10, 2021 6:33:40 PM 
Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.8.275 Build 20180907 
----------------------------------------- 
Using C/C++ linker: /cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3/lib/petsc/bin/win32fe/win32fe_icl 
Using C/C++ flags: -Qwd10161 -Qstd=c99 -MT -Z7 -Od 
Using Fortran linker: /cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3/lib/petsc/bin/win32fe/win32fe_ifort 
Using Fortran flags: -MT -Z7 -Od -fpp 
----------------------------------------- 
Using system modules: 
Using mpi.h: mpiuni 
----------------------------------------- 
Using libraries: -L/cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3/arch-mswin-c-debug/lib -L/cygdrive/c/PROGRA~2/INTELS~1/COMPIL~2/windows/mkl/lib/intel64 -lpetsc mkl_intel_lp64_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib Gdi32.lib User32.lib Advapi32.lib Kernel32.lib Ws2_32.lib 
------------------------------------------ 
Using mpiexec: /cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3/lib/petsc/bin/petsc-mpiexec.uni 
------------------------------------------ 
Using MAKE: /usr/bin/make 
Default MAKEFLAGS: MAKE_NP:24 MAKE_LOAD:48.0 MAKEFLAGS: --no-print-directory -- PETSC_ARCH=arch-mswin-c-debug PETSC_DIR=/cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3 
========================================== 
/usr/bin/make --print-directory -f gmakefile -j24 -l48.0 --output-sync=recurse V= libs 
make[3]: Entering directory '/cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3' 
/usr/bin/python3 ./config/gmakegen.py --petsc-arch=arch-mswin-c-debug 
CC arch-mswin-c-debug/obj/src/sys/error/pstack.o 
pstack.c 
CC arch-mswin-c-debug/obj/src/sys/error/signal.o 
signal.c 
CC arch-mswin-c-debug/obj/src/sys/fileio/fwd.o 
fwd.c 
CC arch-mswin-c-debug/obj/src/sys/fileio/ghome.o 
ghome.c 
CC arch-mswin-c-debug/obj/src/sys/fileio/grpath.o 
grpath.c 
CC arch-mswin-c-debug/obj/src/sys/fileio/mpiuopen.o 
mpiuopen.c 
CC arch-mswin-c-debug/obj/src/sys/fileio/mprint.o 
mprint.c 
CC arch-mswin-c-debug/obj/src/sys/fileio/rpath.o 
rpath.c 
CC arch-mswin-c-debug/obj/src/sys/fileio/smatlab.o 
smatlab.c 
CC arch-mswin-c-debug/obj/src/sys/fileio/sysio.o 
sysio.c 
CC arch-mswin-c-debug/obj/src/sys/objects/garbage.o 
garbage.c 
CC arch-mswin-c-debug/obj/src/sys/objects/gcomm.o 
gcomm.c 
CC arch-mswin-c-debug/obj/src/sys/objects/gcookie.o 
gcookie.c 
CC arch-mswin-c-debug/obj/src/sys/objects/gtype.o 
gtype.c 
CC arch-mswin-c-debug/obj/src/sys/objects/inherit.o 
inherit.c 
CC arch-mswin-c-debug/obj/src/sys/objects/init.o 
init.c 
CC arch-mswin-c-debug/obj/src/sys/objects/olist.o 
olist.c 
CC arch-mswin-c-debug/obj/src/sys/objects/options.o 
options.c 
CC arch-mswin-c-debug/obj/src/sys/objects/package.o 
package.c 
CC arch-mswin-c-debug/obj/src/sys/objects/pgname.o 
pgname.c 
CC arch-mswin-c-debug/obj/src/sys/objects/optionsyaml.o 
optionsyaml.c 
C:\Users\gli\Desktop\PETSc\PETSC-~1.3\src\sys\objects\optionsyaml.c(297): warning #161: unrecognized #pragma 
#pragma GCC diagnostic push 
^ 
C:\Users\gli\Desktop\PETSc\PETSC-~1.3\src\sys\objects\optionsyaml.c(298): warning #161: unrecognized #pragma 
#pragma GCC diagnostic ignored "-Wsign-conversion" 
^ 
C:\Users\gli\Desktop\PETSc\PETSC-~1.3\src\sys\objects\optionsyaml.c(300): warning #161: unrecognized #pragma 
#pragma GCC diagnostic pop 
^ 
CC arch-mswin-c-debug/obj/src/sys/objects/pname.o 
pname.c 
CC arch-mswin-c-debug/obj/src/sys/objects/pinit.o 
pinit.c 
CC arch-mswin-c-debug/obj/src/sys/objects/prefix.o 
prefix.c 
CC arch-mswin-c-debug/obj/src/sys/objects/ptype.o 
ptype.c 
CC arch-mswin-c-debug/obj/src/sys/objects/tagm.o 
tagm.c 
CC arch-mswin-c-debug/obj/src/sys/objects/subcomm.o 
subcomm.c 
CC arch-mswin-c-debug/obj/src/sys/objects/state.o 
state.c 
CC arch-mswin-c-debug/obj/src/sys/objects/version.o 
version.c 
CC arch-mswin-c-debug/obj/src/vec/vec/interface/veccreate.o 
veccreate.c 
CC arch-mswin-c-debug/obj/src/vec/vec/interface/vecreg.o 
vecreg.c 
CC arch-mswin-c-debug/obj/src/vec/vec/interface/vecregall.o 
vecregall.c 
CC arch-mswin-c-debug/obj/src/vec/vec/interface/rvector.o 
rvector.c 
CC arch-mswin-c-debug/obj/src/vec/vec/interface/vector.o 
vector.c 
CC arch-mswin-c-debug/obj/src/vec/vec/utils/vecglvis.o 
vecglvis.c 
CC arch-mswin-c-debug/obj/src/vec/vec/utils/vecs.o 
vecs.c 
CC arch-mswin-c-debug/obj/src/vec/vec/utils/vecio.o 
vecio.c 
CC arch-mswin-c-debug/obj/src/vec/vec/utils/vecstash.o 
vecstash.c 
CC arch-mswin-c-debug/obj/src/vec/vec/utils/vsection.o 
vsection.c 
CC arch-mswin-c-debug/obj/src/vec/vec/utils/vinv.o 
vinv.c 
CC arch-mswin-c-debug/obj/src/mat/graphops/coarsen/scoarsen.o 
scoarsen.c 
CC arch-mswin-c-debug/obj/src/mat/impls/aij/seq/fdaij.o 
fdaij.c 
CC arch-mswin-c-debug/obj/src/mat/impls/aij/seq/ij.o 
ij.c 
CC arch-mswin-c-debug/obj/src/mat/impls/aij/seq/matmatmatmult.o 
matmatmatmult.c 
CC arch-mswin-c-debug/obj/src/mat/impls/aij/seq/inode2.o 
inode2.c 
CC arch-mswin-c-debug/obj/src/mat/impls/aij/seq/inode.o 
inode.c 
CC arch-mswin-c-debug/obj/src/mat/impls/aij/seq/matrart.o 
matrart.c 
CC arch-mswin-c-debug/obj/src/mat/impls/aij/seq/matmatmult.o 
matmatmult.c 
CC arch-mswin-c-debug/obj/src/mat/impls/aij/seq/matptap.o 
matptap.c 
CC arch-mswin-c-debug/obj/src/mat/impls/aij/seq/mattransposematmult.o 
mattransposematmult.c 
CC arch-mswin-c-debug/obj/src/mat/impls/aij/seq/symtranspose.o 
symtranspose.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolv.o 
baijsolv.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvnat1.o 
baijsolvnat1.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvnat14.o 
baijsolvnat14.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvnat11.o 
baijsolvnat11.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvnat15.o 
baijsolvnat15.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvnat2.o 
baijsolvnat2.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvnat3.o 
baijsolvnat3.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvnat4.o 
baijsolvnat4.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvnat5.o 
baijsolvnat5.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvnat6.o 
baijsolvnat6.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvtran1.o 
baijsolvtran1.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvnat7.o 
baijsolvnat7.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvtran2.o 
baijsolvtran2.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvtran3.o 
baijsolvtran3.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvtran4.o 
baijsolvtran4.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvtran5.o 
baijsolvtran5.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvtran6.o 
baijsolvtran6.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvtran7.o 
baijsolvtran7.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvtrann.o 
baijsolvtrann.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvtrannat1.o 
baijsolvtrannat1.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvtrannat2.o 
baijsolvtrannat2.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvtrannat4.o 
baijsolvtrannat4.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvtrannat3.o 
baijsolvtrannat3.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvtrannat5.o 
baijsolvtrannat5.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvtrannat6.o 
baijsolvtrannat6.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/dgedi.o 
dgedi.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/dgefa.o 
dgefa.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/baijsolvtrannat7.o 
baijsolvtrannat7.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/dgefa2.o 
dgefa2.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/dgefa4.o 
dgefa4.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/dgefa3.o 
dgefa3.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/dgefa5.o 
dgefa5.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/dgefa6.o 
dgefa6.c 
CC arch-mswin-c-debug/obj/src/mat/impls/baij/seq/dgefa7.o 
dgefa7.c 
CC arch-mswin-c-debug/obj/src/mat/interface/matnull.o 
matnull.c 
CC arch-mswin-c-debug/obj/src/mat/interface/matproduct.o 
matproduct.c 
CC arch-mswin-c-debug/obj/src/mat/interface/matreg.o 
matreg.c 
CC arch-mswin-c-debug/obj/src/mat/interface/matregis.o 
matregis.c 
CC arch-mswin-c-debug/obj/src/mat/interface/matrix.o 
matrix.c 
CC arch-mswin-c-debug/obj/src/dm/impls/da/gr1.o 
gr1.c 
CC arch-mswin-c-debug/obj/src/dm/impls/da/gr2.o 
gr2.c 
CC arch-mswin-c-debug/obj/src/dm/impls/da/grglvis.o 
grglvis.c 
CC arch-mswin-c-debug/obj/src/dm/impls/da/grvtk.o 
grvtk.c 
CC arch-mswin-c-debug/obj/src/dm/impls/swarm/swarm_migrate.o 
swarm_migrate.c 
CC arch-mswin-c-debug/obj/src/dm/impls/swarm/swarm.o 
swarm.c 
CC arch-mswin-c-debug/obj/src/dm/impls/swarm/swarmpic.o 
swarmpic.c 
CC arch-mswin-c-debug/obj/src/dm/impls/swarm/swarmpic_da.o 
swarmpic_da.c 
CC arch-mswin-c-debug/obj/src/dm/impls/swarm/swarmpic_plex.o 
swarmpic_plex.c 
CC arch-mswin-c-debug/obj/src/dm/impls/swarm/swarmpic_sort.o 
swarmpic_sort.c 
CC arch-mswin-c-debug/obj/src/dm/impls/swarm/swarmpic_view.o 
swarmpic_view.c 
CC arch-mswin-c-debug/obj/src/ksp/ksp/impls/gmres/gmpre.o 
gmpre.c 
CC arch-mswin-c-debug/obj/src/ksp/ksp/impls/gmres/gmreig.o 
gmreig.c 
CC arch-mswin-c-debug/obj/src/ksp/ksp/impls/gmres/gmres.o 
gmres.c 
CC arch-mswin-c-debug/obj/src/ksp/ksp/impls/gmres/gmres2.o 
gmres2.c 
CC arch-mswin-c-debug/obj/src/ksp/ksp/interface/iguess.o 
iguess.c 
CC arch-mswin-c-debug/obj/src/ksp/ksp/interface/itcl.o 
itcl.c 
CC arch-mswin-c-debug/obj/src/ksp/ksp/interface/itcreate.o 
itcreate.c 
CC arch-mswin-c-debug/obj/src/ksp/ksp/interface/itregis.o 
itregis.c 
CC arch-mswin-c-debug/obj/src/ksp/ksp/interface/iterativ.o 
iterativ.c 
CC arch-mswin-c-debug/obj/src/ksp/ksp/interface/itres.o 
itres.c 
CC arch-mswin-c-debug/obj/src/ksp/ksp/interface/itfunc.o 
itfunc.c 
CC arch-mswin-c-debug/obj/src/ksp/ksp/interface/xmon.o 
xmon.c 
CC arch-mswin-c-debug/obj/src/ksp/pc/impls/mg/gdsw.o 
gdsw.c 
CC arch-mswin-c-debug/obj/src/ksp/pc/impls/mg/mgfunc.o 
mgfunc.c 
CC arch-mswin-c-debug/obj/src/ksp/pc/impls/mg/mg.o 
mg.c 
CC arch-mswin-c-debug/obj/src/ksp/pc/impls/mg/mgadapt.o 
mgadapt.c 
CC arch-mswin-c-debug/obj/src/ksp/pc/impls/mg/smg.o 
smg.c 
CC arch-mswin-c-debug/obj/src/snes/interface/snesj.o 
snesj.c 
CC arch-mswin-c-debug/obj/src/snes/interface/snesj2.o 
snesj2.c 
CC arch-mswin-c-debug/obj/src/snes/interface/snesob.o 
snesob.c 
CC arch-mswin-c-debug/obj/src/snes/interface/snespc.o 
snespc.c 
CC arch-mswin-c-debug/obj/src/snes/interface/snesregi.o 
snesregi.c 
CC arch-mswin-c-debug/obj/src/snes/interface/snesut.o 
snesut.c 
CC arch-mswin-c-debug/obj/src/snes/interface/snes.o 
snes.c 
CC arch-mswin-c-debug/obj/src/ts/interface/tscreate.o 
tscreate.c 
CC arch-mswin-c-debug/obj/src/ts/interface/tseig.o 
tseig.c 
CC arch-mswin-c-debug/obj/src/ts/interface/tshistory.o 
tshistory.c 
CC arch-mswin-c-debug/obj/src/ts/interface/tsreg.o 
tsreg.c 
CC arch-mswin-c-debug/obj/src/ts/interface/tsmon.o 
tsmon.c 
CC arch-mswin-c-debug/obj/src/ts/interface/ts.o 
ts.c 
CC arch-mswin-c-debug/obj/src/ts/interface/tsregall.o 
tsregall.c 
CC arch-mswin-c-debug/obj/src/ts/interface/tsrhssplit.o 
tsrhssplit.c 
CC arch-mswin-c-debug/obj/src/ts/utils/dmplexts.o 
dmplexts.c 
CC arch-mswin-c-debug/obj/src/ts/utils/tsconvest.o 
tsconvest.c 
CC arch-mswin-c-debug/obj/src/ts/utils/dmts.o 
dmts.c 
FC arch-mswin-c-debug/obj/src/sys/mpiuni/f90-mod/mpiunimod.o 
FC arch-mswin-c-debug/obj/src/sys/f90-src/fsrc/f90_fwrap.o 
FC arch-mswin-c-debug/obj/src/sys/fsrc/somefort.o 
CXX arch-mswin-c-debug/obj/src/sys/dll/cxx/demangle.o 
demangle.cxx 
CXX arch-mswin-c-debug/obj/src/sys/objects/device/impls/host/hostcontext.o 
hostcontext.cxx 
CXX arch-mswin-c-debug/obj/src/sys/objects/cxx/object_pool.o 
object_pool.cxx 
C:\Users\gli\Desktop\PETSc\PETSC-~1.3\src\sys\objects\cxx\object_pool.cxx(330): error: no instance of function template "Petsc::util::construct_at" matches the argument list 
argument types are: (Petsc::memory::PoolAllocator::AllocationHeader *, Petsc::memory::PoolAllocator::size_type, Petsc::memory::PoolAllocator::align_type) 
PetscCallCXX(base_ptr = reinterpret_cast<unsigned char *>(util::construct_at(reinterpret_cast<AllocationHeader *>(base_ptr), size, align))); 
^ 
C:\Users\gli\Desktop\PETSc\PETSC-~1.3\include\petsc/private/cpp/memory.hpp(77): note: this candidate was rejected because at least one template argument could not be deduced 
inline constexpr T *construct_at(T *ptr, Args &&...args) noexcept(std::is_nothrow_constructible<T, Args...>::value) 
^ 
compilation aborted for C:\Users\gli\Desktop\PETSc\PETSC-~1.3\src\sys\objects\cxx\object_pool.cxx (code 2) 
make[3]: *** [gmakefile:203: arch-mswin-c-debug/obj/src/sys/objects/cxx/object_pool.o] Error 2 
make[3]: *** Waiting for unfinished jobs.... 
CXX arch-mswin-c-debug/obj/src/sys/objects/device/impls/host/hostdevice.o 
hostdevice.cxx 
CXX arch-mswin-c-debug/obj/src/sys/objects/device/interface/dcontext.o 
dcontext.cxx 
C:\Users\gli\Desktop\PETSc\PETSC-~1.3\src\sys\objects\device\INTERF~1\petscdevice_interface_internal.hpp(47): error: defaulted default constructor cannot be constexpr because the corresponding implicitly declared default constructor would not be constexpr 
constexpr _n_WeakContext() noexcept = default; 
^ 
compilation aborted for C:\Users\gli\Desktop\PETSc\PETSC-~1.3\src\sys\objects\device\INTERF~1\dcontext.cxx (code 2) 
make[3]: *** [gmakefile:203: arch-mswin-c-debug/obj/src/sys/objects/device/interface/dcontext.o] Error 2 
CXX arch-mswin-c-debug/obj/src/sys/objects/device/interface/global_dcontext.o 
global_dcontext.cxx 
C:\Users\gli\Desktop\PETSc\PETSC-~1.3\src\sys\objects\device\INTERF~1\petscdevice_interface_internal.hpp(47): error: defaulted default constructor cannot be constexpr because the corresponding implicitly declared default constructor would not be constexpr 
constexpr _n_WeakContext() noexcept = default; 
^ 
compilation aborted for C:\Users\gli\Desktop\PETSc\PETSC-~1.3\src\sys\objects\device\INTERF~1\global_dcontext.cxx (code 2) 
make[3]: *** [gmakefile:203: arch-mswin-c-debug/obj/src/sys/objects/device/interface/global_dcontext.o] Error 2 
CXX arch-mswin-c-debug/obj/src/sys/objects/device/interface/device.o 
device.cxx 
C:\Users\gli\Desktop\PETSc\PETSC-~1.3\src\sys\objects\device\INTERF~1\petscdevice_interface_internal.hpp(47): error: defaulted default constructor cannot be constexpr because the corresponding implicitly declared default constructor would not be constexpr 
constexpr _n_WeakContext() noexcept = default; 
^ 
compilation aborted for C:\Users\gli\Desktop\PETSc\PETSC-~1.3\src\sys\objects\device\INTERF~1\device.cxx (code 2) 
make[3]: *** [gmakefile:203: arch-mswin-c-debug/obj/src/sys/objects/device/interface/device.o] Error 2 
CXX arch-mswin-c-debug/obj/src/sys/objects/device/interface/mark_dcontext.o 
mark_dcontext.cxx 
C:\Users\gli\Desktop\PETSc\PETSC-~1.3\src\sys\objects\device\INTERF~1\petscdevice_interface_internal.hpp(47): error: defaulted default constructor cannot be constexpr because the corresponding implicitly declared default constructor would not be constexpr 
constexpr _n_WeakContext() noexcept = default; 
^ 
compilation aborted for C:\Users\gli\Desktop\PETSc\PETSC-~1.3\src\sys\objects\device\INTERF~1\mark_dcontext.cxx (code 2) 
make[3]: *** [gmakefile:203: arch-mswin-c-debug/obj/src/sys/objects/device/interface/mark_dcontext.o] Error 2 
make[3]: Leaving directory '/cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3' 
make[2]: *** [/cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3/lib/petsc/conf/rules_doc.mk:5: libs] Error 2 
make[2]: Leaving directory '/cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3' 
**************************ERROR************************************* 
Error during compile, check arch-mswin-c-debug/lib/petsc/conf/make.log 
Send it and arch-mswin-c-debug/lib/petsc/conf/configure.log to petsc-maint at mcs.anl.gov 
******************************************************************** 
make[1]: *** [makefile:44: all] Error 1 
make: *** [GNUmakefile:9: all] Error 2 
gli at WROKSTATION-OFFICE308 /cygdrive/c/Users/gli/Desktop/PETSc/petsc-3.21.3 
$ 
Sincerely,
Gang
---- Replied Message ----
FromGang Li<ligang0309 at gmail.com>Date6/30/2024 12:43Topetsc-users<petsc-users at mcs.anl.gov>SubjectRe: [petsc-users] Problem about compiling PETSc-3.21.2 under Cygwin
Hi Satish,
Thanks for your help. I find the problem. I uninstall the Perl software under windows now the configure works. 
Sincerely,
Gang
---- Replied Message ----
FromSatish Balay<balay.anl at fastmail.org>Date6/28/2024 13:51Topetsc-users<petsc-users at mcs.anl.gov>CcGang Li<ligang0309 at gmail.com>SubjectRe: [petsc-users] Problem about compiling PETSc-3.21.2 under Cygwin
Here is what I get
Satish
----
balay at petsc-win01 /cygdrive/e/balay
$ wget -q https://urldefense.us/v3/__https://web.cels.anl.gov/projects/petsc/download/release-snapshots/petsc-3.21.2.tar.gz__;!!G_uCfscf7eWS!drRoCJiI5IcVVrrjYlGWO1leUL5hjFHVfTGJtV0Smxkw6N7wTSeO5I3sGNYcF_DVCZjpoTfUtIbHzDqPEqlDiEPK$ 
balay at petsc-win01 /cygdrive/e/balay
$ tar -xzf petsc-3.21.2.tar.gz
balay at petsc-win01 /cygdrive/e/balay
$ cd petsc-3.21.2
balay at petsc-win01 /cygdrive/e/balay/petsc-3.21.2
$ ./configure --with-cc=win32fe_icl --with-fc=win32fe_ifort --with-cxx=win32fe_icl --with-precision=double --with-scalar-type=complex --with-shared-libraries=0 --with-mpi=0 '--with-blaslapack-lib=-L/cygdrive/c/PROGRA~2/Intel/oneAPI/mkl/latest/lib/intel64 mkl_intel_lp64_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib'
=============================================================================================
Configuring PETSc to compile on your system
=============================================================================================
Compilers:
C Compiler: /cygdrive/e/balay/petsc-3.21.2/lib/petsc/bin/win32fe/win32fe_icl -Qstd=c99 -MT -Z7 -Od 
Version: Win32 Development Tool Front End, version 1.11.4 Fri, Sep 10, 2021 6:33:40 PM\nIntel(R) C++ Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.6.0 Build 20220226_000000
C++ Compiler: /cygdrive/e/balay/petsc-3.21.2/lib/petsc/bin/win32fe/win32fe_icl -MT -GR -EHsc -Z7 -Od -Qstd=c++17 -TP 
Version: Win32 Development Tool Front End, version 1.11.4 Fri, Sep 10, 2021 6:33:40 PM\nIntel(R) C++ Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.6.0 Build 20220226_000000
Fortran Compiler: /cygdrive/e/balay/petsc-3.21.2/lib/petsc/bin/win32fe/win32fe_ifort -MT -Z7 -Od -fpp 
Version: Win32 Development Tool Front End, version 1.11.4 Fri, Sep 10, 2021 6:33:40 PM\nIntel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.6.0 Build 20220226_000000
Linkers:
Static linker: /cygdrive/e/balay/petsc-3.21.2/lib/petsc/bin/win32fe/win32fe_lib -a
BlasLapack:
Libraries: -L/cygdrive/c/PROGRA~2/Intel/oneAPI/mkl/latest/lib/intel64 mkl_intel_lp64_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib
Unknown if this uses OpenMP (try export OMP_NUM_THREADS=<1-4> yourprogram -log_view) 
uses 4 byte integers
MPI:
Version: PETSc MPIUNI uniprocessor MPI replacement
mpiexec: ${PETSC_DIR}/lib/petsc/bin/petsc-mpiexec.uni
python:
Executable: /usr/bin/python3
cmake:
Version: 3.20.0
Executable: /usr/bin/cmake
bison:
Version: 3.8
Executable: /usr/bin/bison
PETSc:
Language used to compile PETSc: C
PETSC_ARCH: arch-mswin-c-debug
PETSC_DIR: /cygdrive/e/balay/petsc-3.21.2
Prefix: <inplace installation>
Scalar type: complex
Precision: double
Integer size: 4 bytes
Single library: yes
Shared libraries: no
Memory alignment from malloc(): 16 bytes
Using GNU make: /usr/bin/make
xxx=======================================================================================xxx
Configure stage complete. Now build PETSc libraries with:
make PETSC_DIR=/cygdrive/e/balay/petsc-3.21.2 PETSC_ARCH=arch-mswin-c-debug all
xxx=======================================================================================xxx
balay at petsc-win01 /cygdrive/e/balay/petsc-3.21.2
$ ls -l lib/petsc/conf/
total 135
-rw-r--r--+ 1 balay Domain Users 391 Mar 29 08:59 bfort-base.txt
-rw-r--r--+ 1 balay Domain Users 877 Mar 29 08:59 bfort-mpi.txt
-rw-r--r--+ 1 balay Domain Users 5735 Mar 29 19:34 bfort-petsc.txt
-rw-rw-r--+ 1 balay Domain Users 136 Jun 28 00:33 petscvariables
-rw-r--r--+ 1 balay Domain Users 13140 May 29 14:34 rules
-rw-r--r--+ 1 balay Domain Users 613 Mar 29 19:34 rules_doc.mk
-rw-r--r--+ 1 balay Domain Users 16516 May 29 14:06 rules_util.mk
-rw-r--r--+ 1 balay Domain Users 119 Mar 29 08:59 test
-rw-r--r--+ 1 balay Domain Users 71503 Mar 29 08:59 uncrustify.cfg
-rw-r--r--+ 1 balay Domain Users 4769 Mar 29 19:34 variables
balay at petsc-win01 /cygdrive/e/balay/petsc-3.21.2
$ make
==========================================
See documentation/faq.html and documentation/bugreporting.html
for help with installation problems. Please send EVERYTHING
printed out below when reporting problems. Please check the
mailing list archives and consider subscribing.
https://urldefense.us/v3/__https://petsc.org/release/community/mailing/__;!!G_uCfscf7eWS!drRoCJiI5IcVVrrjYlGWO1leUL5hjFHVfTGJtV0Smxkw6N7wTSeO5I3sGNYcF_DVCZjpoTfUtIbHzDqPEqUK3Mfi$ 
==========================================
Starting make run on petsc-win01 at Fri, 28 Jun 2024 00:34:15 -0500
Machine characteristics: CYGWIN_NT-10.0 petsc-win01 3.2.0(0.340/5/3) 2021-03-29 08:42 x86_64 Cygwin
-----------------------------------------
Using PETSc directory: /cygdrive/e/balay/petsc-3.21.2
Using PETSc arch: arch-mswin-c-debug
-----------------------------------------
PETSC_VERSION_RELEASE 1
PETSC_VERSION_MAJOR 3
PETSC_VERSION_MINOR 21
PETSC_VERSION_SUBMINOR 2
PETSC_VERSION_DATE "May 29, 2024"
PETSC_VERSION_GIT "v3.21.2"
PETSC_VERSION_DATE_GIT "2024-05-29 14:05:28 -0500"
-----------------------------------------
Using configure Options: --with-cc=win32fe_icl --with-fc=win32fe_ifort --with-cxx=win32fe_icl --with-precision=double --with-scalar-type=complex --with-shared-libraries=0 --with-mpi=0 --with-blaslapack-lib="-L/cygdrive/c/PROGRA~2/Intel/oneAPI/mkl/latest/lib/intel64 mkl_intel_lp64_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib"
Using configuration flags:
#define MPI_Comm_create_errhandler(p_err_fun,p_errhandler) MPI_Errhandler_create((p_err_fun),(p_errhandler))
#define MPI_Comm_set_errhandler(comm,p_errhandler) MPI_Errhandler_set((comm),(p_errhandler))
#define MPI_Type_create_struct(count,lens,displs,types,newtype) MPI_Type_struct((count),(lens),(displs),(types),(newtype))
#define PETSC_ARCH "arch-mswin-c-debug"
#define PETSC_ATTRIBUTEALIGNED(size) 
#define PETSC_BLASLAPACK_CAPS 1
#define PETSC_CANNOT_START_DEBUGGER 1
#define PETSC_CLANGUAGE_C 1
#define PETSC_CXX_RESTRICT __restrict
#define PETSC_DEPRECATED_ENUM_BASE(string_literal_why) 
#define PETSC_DEPRECATED_FUNCTION_BASE(string_literal_why) __declspec(deprecated(string_literal_why))
#define PETSC_DEPRECATED_MACRO_BASE(string_literal_why) PETSC_DEPRECATED_MACRO_BASE_(GCC warning string_literal_why)
#define PETSC_DEPRECATED_MACRO_BASE_(why) _Pragma(#why)
#define PETSC_DEPRECATED_OBJECT_BASE(string_literal_why) __declspec(deprecated(string_literal_why))
#define PETSC_DEPRECATED_TYPEDEF_BASE(string_literal_why) 
#define PETSC_DIR "E:\\balay\\petsc-3.21.2"
#define PETSC_DIR_SEPARATOR '\\'
#define PETSC_FORTRAN_CHARLEN_T int
#define PETSC_FORTRAN_TYPE_INITIALIZE = -2
#define PETSC_FUNCTION_NAME_C __func__
#define PETSC_FUNCTION_NAME_CXX __func__
#define PETSC_HAVE_ACCESS 1
#define PETSC_HAVE_ATOLL 1
#define PETSC_HAVE_BUILTIN_EXPECT 1
#define PETSC_HAVE_C99_COMPLEX 1
#define PETSC_HAVE_CLOCK 1
#define PETSC_HAVE_CLOSESOCKET 1
#define PETSC_HAVE_CXX 1
#define PETSC_HAVE_CXX_COMPLEX 1
#define PETSC_HAVE_CXX_COMPLEX_FIX 1
#define PETSC_HAVE_CXX_DIALECT_CXX11 1
#define PETSC_HAVE_CXX_DIALECT_CXX14 1
#define PETSC_HAVE_CXX_DIALECT_CXX17 1
#define PETSC_HAVE_DIRECT_H 1
#define PETSC_HAVE_DOS_H 1
#define PETSC_HAVE_DOUBLE_ALIGN_MALLOC 1
#define PETSC_HAVE_ERF 1
#define PETSC_HAVE_FCNTL_H 1
#define PETSC_HAVE_FENV_H 1
#define PETSC_HAVE_FE_VALUES 1
#define PETSC_HAVE_FLOAT_H 1
#define PETSC_HAVE_FORTRAN_CAPS 1
#define PETSC_HAVE_FORTRAN_FLUSH 1
#define PETSC_HAVE_FORTRAN_FREE_LINE_LENGTH_NONE 1
#define PETSC_HAVE_FORTRAN_TYPE_STAR 1
#define PETSC_HAVE_FREELIBRARY 1
#define PETSC_HAVE_GETCOMPUTERNAME 1
#define PETSC_HAVE_GETCWD 1
#define PETSC_HAVE_GETLASTERROR 1
#define PETSC_HAVE_GETPROCADDRESS 1
#define PETSC_HAVE_GET_USER_NAME 1
#define PETSC_HAVE_IMMINTRIN_H 1
#define PETSC_HAVE_INTTYPES_H 1
#define PETSC_HAVE_IO_H 1
#define PETSC_HAVE_ISINF 1
#define PETSC_HAVE_ISNAN 1
#define PETSC_HAVE_ISNORMAL 1
#define PETSC_HAVE_LARGE_INTEGER_U 1
#define PETSC_HAVE_LGAMMA 1
#define PETSC_HAVE_LOADLIBRARY 1
#define PETSC_HAVE_LOG2 1
#define PETSC_HAVE_LSEEK 1
#define PETSC_HAVE_MALLOC_H 1
#define PETSC_HAVE_MEMMOVE 1
#define PETSC_HAVE_MKL_LIBS 1
#define PETSC_HAVE_MPIUNI 1
#define PETSC_HAVE_O_BINARY 1
#define PETSC_HAVE_PACKAGES ":blaslapack:mathlib:mpi:"
#define PETSC_HAVE_RAND 1
#define PETSC_HAVE_SETJMP_H 1
#define PETSC_HAVE_SETLASTERROR 1
#define PETSC_HAVE_SNPRINTF 1
#define PETSC_HAVE_STDINT_H 1
#define PETSC_HAVE_STRICMP 1
#define PETSC_HAVE_SYS_TYPES_H 1
#define PETSC_HAVE_TAU_PERFSTUBS 1
#define PETSC_HAVE_TGAMMA 1
#define PETSC_HAVE_TIME 1
#define PETSC_HAVE_TIME_H 1
#define PETSC_HAVE_TMPNAM_S 1
#define PETSC_HAVE_VA_COPY 1
#define PETSC_HAVE_VSNPRINTF 1
#define PETSC_HAVE_WINDOWSX_H 1
#define PETSC_HAVE_WINDOWS_COMPILERS 1
#define PETSC_HAVE_WINDOWS_H 1
#define PETSC_HAVE_WINSOCK2_H 1
#define PETSC_HAVE_WS2TCPIP_H 1
#define PETSC_HAVE_WSAGETLASTERROR 1
#define PETSC_HAVE_XMMINTRIN_H 1
#define PETSC_HAVE__ACCESS 1
#define PETSC_HAVE__GETCWD 1
#define PETSC_HAVE__LSEEK 1
#define PETSC_HAVE__MKDIR 1
#define PETSC_HAVE__SLEEP 1
#define PETSC_HAVE__SNPRINTF 1
#define PETSC_HAVE___INT64 1
#define PETSC_INTPTR_T intptr_t
#define PETSC_INTPTR_T_FMT "#" PRIxPTR
#define PETSC_IS_COLORING_MAX USHRT_MAX
#define PETSC_IS_COLORING_VALUE_TYPE short
#define PETSC_IS_COLORING_VALUE_TYPE_F integer2
#define PETSC_LEVEL1_DCACHE_LINESIZE 32
#define PETSC_LIB_DIR "/cygdrive/e/balay/petsc-3.21.2/arch-mswin-c-debug/lib"
#define PETSC_MAX_PATH_LEN 4096
#define PETSC_MEMALIGN 16
#define PETSC_MISSING_GETLINE 1
#define PETSC_MISSING_SIGALRM 1
#define PETSC_MISSING_SIGBUS 1
#define PETSC_MISSING_SIGCHLD 1
#define PETSC_MISSING_SIGCONT 1
#define PETSC_MISSING_SIGHUP 1
#define PETSC_MISSING_SIGKILL 1
#define PETSC_MISSING_SIGPIPE 1
#define PETSC_MISSING_SIGQUIT 1
#define PETSC_MISSING_SIGSTOP 1
#define PETSC_MISSING_SIGSYS 1
#define PETSC_MISSING_SIGTRAP 1
#define PETSC_MISSING_SIGTSTP 1
#define PETSC_MISSING_SIGURG 1
#define PETSC_MISSING_SIGUSR1 1
#define PETSC_MISSING_SIGUSR2 1
#define PETSC_MPICC_SHOW "Unavailable"
#define PETSC_MPIU_IS_COLORING_VALUE_TYPE MPI_UNSIGNED_SHORT
#define PETSC_NEEDS_UTYPE_TYPEDEFS 1
#define PETSC_OMAKE "/usr/bin/make --no-print-directory"
#define PETSC_PREFETCH_HINT_NTA _MM_HINT_NTA
#define PETSC_PREFETCH_HINT_T0 _MM_HINT_T0
#define PETSC_PREFETCH_HINT_T1 _MM_HINT_T1
#define PETSC_PREFETCH_HINT_T2 _MM_HINT_T2
#define PETSC_PYTHON_EXE "/usr/bin/python3"
#define PETSC_Prefetch(a,b,c) _mm_prefetch((const char*)(a),(c))
#define PETSC_REPLACE_DIR_SEPARATOR '/'
#define PETSC_SIGNAL_CAST 
#define PETSC_SIZEOF_INT 4
#define PETSC_SIZEOF_LONG 4
#define PETSC_SIZEOF_LONG_LONG 8
#define PETSC_SIZEOF_SIZE_T 8
#define PETSC_SIZEOF_VOID_P 8
#define PETSC_SLSUFFIX ""
#define PETSC_UINTPTR_T uintptr_t
#define PETSC_UINTPTR_T_FMT "#" PRIxPTR
#define PETSC_UNUSED 
#define PETSC_USE_AVX512_KERNELS 1
#define PETSC_USE_BACKWARD_LOOP 1
#define PETSC_USE_COMPLEX 1
#define PETSC_USE_CTABLE 1
#define PETSC_USE_DEBUG 1
#define PETSC_USE_DEBUGGER "gdb"
#define PETSC_USE_DMLANDAU_2D 1
#define PETSC_USE_FORTRAN_BINDINGS 1
#define PETSC_USE_INFO 1
#define PETSC_USE_ISATTY 1
#define PETSC_USE_LOG 1
#define PETSC_USE_MICROSOFT_TIME 1
#define PETSC_USE_PROC_FOR_SIZE 1
#define PETSC_USE_REAL_DOUBLE 1
#define PETSC_USE_SINGLE_LIBRARY 1
#define PETSC_USE_WINDOWS_GRAPHICS 1
#define PETSC_USING_64BIT_PTR 1
#define PETSC_USING_F2003 1
#define PETSC_USING_F90FREEFORM 1
#define PETSC__BSD_SOURCE 1
#define PETSC__DEFAULT_SOURCE 1
#define R_OK 04
#define S_ISDIR(a) (((a)&_S_IFMT) == _S_IFDIR)
#define S_ISREG(a) (((a)&_S_IFMT) == _S_IFREG)
#define W_OK 02
#define X_OK 01
#define _USE_MATH_DEFINES 1
-----------------------------------------
Using C compile: /cygdrive/e/balay/petsc-3.21.2/lib/petsc/bin/win32fe/win32fe_icl -o .o -c -Qstd=c99 -MT -Z7 -Od 
mpicc -show: Unavailable
C compiler version: Win32 Development Tool Front End, version 1.11.4 Fri, Sep 10, 2021 6:33:40 PM
Intel(R) C++ Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.6.0 Build 20220226_000000
Using C++ compile: /cygdrive/e/balay/petsc-3.21.2/lib/petsc/bin/win32fe/win32fe_icl -o .o -c -MT -GR -EHsc -Z7 -Od -Qstd=c++17 -TP -I/cygdrive/e/balay/petsc-3.21.2/include -I/cygdrive/e/balay/petsc-3.21.2/arch-mswin-c-debug/include 
mpicxx -show: Unavailable
C++ compiler version: Win32 Development Tool Front End, version 1.11.4 Fri, Sep 10, 2021 6:33:40 PM
Intel(R) C++ Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.6.0 Build 20220226_000000
Using Fortran compile: /cygdrive/e/balay/petsc-3.21.2/lib/petsc/bin/win32fe/win32fe_ifort -o .o -c -MT -Z7 -Od -fpp -I/cygdrive/e/balay/petsc-3.21.2/include -I/cygdrive/e/balay/petsc-3.21.2/arch-mswin-c-debug/include 
mpif90 -show: Unavailable
Fortran compiler version: Win32 Development Tool Front End, version 1.11.4 Fri, Sep 10, 2021 6:33:40 PM
Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.6.0 Build 20220226_000000
-----------------------------------------
Using C/C++ linker: /cygdrive/e/balay/petsc-3.21.2/lib/petsc/bin/win32fe/win32fe_icl
Using C/C++ flags: -Qwd10161 -Qstd=c99 -MT -Z7 -Od
Using Fortran linker: /cygdrive/e/balay/petsc-3.21.2/lib/petsc/bin/win32fe/win32fe_ifort
Using Fortran flags: -MT -Z7 -Od -fpp
-----------------------------------------
Using system modules: 
Using mpi.h: mpiuni
-----------------------------------------
Using libraries: -L/cygdrive/e/balay/petsc-3.21.2/arch-mswin-c-debug/lib -L/cygdrive/c/PROGRA~2/Intel/oneAPI/mkl/latest/lib/intel64 -lpetsc mkl_intel_lp64_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib Gdi32.lib User32.lib Advapi32.lib Kernel32.lib Ws2_32.lib
------------------------------------------
Using mpiexec: /cygdrive/e/balay/petsc-3.21.2/lib/petsc/bin/petsc-mpiexec.uni
------------------------------------------
Using MAKE: /usr/bin/make
Default MAKEFLAGS: MAKE_NP:10 MAKE_LOAD:18.0 MAKEFLAGS: --no-print-directory -- PETSC_ARCH=arch-mswin-c-debug PETSC_DIR=/cygdrive/e/balay/petsc-3.21.2
==========================================
/usr/bin/make --print-directory -f gmakefile -j10 -l18.0 --output-sync=recurse V= libs
/usr/bin/python3 ./config/gmakegen.py --petsc-arch=arch-mswin-c-debug
CC arch-mswin-c-debug/obj/src/vec/vec/interface/veccreate.o
veccreate.c
CC arch-mswin-c-debug/obj/src/vec/vec/interface/vecreg.o
vecreg.c
CC arch-mswin-c-debug/obj/src/vec/vec/interface/vecregall.o
vecregall.c
CC arch-mswin-c-debug/obj/src/vec/vec/interface/vector.o
vector.c
CC arch-mswin-c-debug/obj/src/vec/vec/utils/vecglvis.o
vecglvis.c
CC arch-mswin-c-debug/obj/src/vec/vec/interface/rvector.o
rvector.c
CC arch-mswin-c-debug/obj/src/vec/vec/utils/vecs.o
vecs.c
CC arch-mswin-c-debug/obj/src/vec/vec/utils/vecio.o
vecio.c
CC arch-mswin-c-debug/obj/src/vec/vec/utils/vecstash.o
vecstash.c
CC arch-mswin-c-debug/obj/src/vec/vec/utils/vsection.o
vsection.c
CC arch-mswin-c-debug/obj/src/vec/vec/utils/vinv.o
vinv.c
CC arch-mswin-c-debug/obj/src/mat/graphops/coarsen/scoarsen.o
scoarsen.c
CC arch-mswin-c-debug/obj/src/mat/impls/aij/seq/fdaij.o
fdaij.c
CC arch-mswin-c-debug/obj/src/mat/impls/aij/seq/ij.o
ij.c
CC arch-mswin-c-debug/obj/src/mat/impls/aij/seq/inode2.o
inode2.c
CC arch-mswin-c-debug/obj/src/mat/impls/aij/seq/matrart.o
matrart.c
CC arch-mswin-c-debug/obj/src/mat/impls/aij/seq/mattransposematmult.o
<snip>
taoshell.c
CC arch-mswin-c-debug/obj/src/tao/snes/taosnes.o
taosnes.c
CC arch-mswin-c-debug/obj/src/tao/util/ftn-auto/tao_utilf.o
tao_utilf.c
CC arch-mswin-c-debug/obj/src/tao/python/ftn-custom/zpythontaof.o
zpythontaof.c
CC arch-mswin-c-debug/obj/src/tao/util/tao_util.o
tao_util.c
FC arch-mswin-c-debug/obj/src/sys/f90-mod/petscsysmod.o
FC arch-mswin-c-debug/obj/src/sys/mpiuni/fsrc/somempifort.o
FC arch-mswin-c-debug/obj/src/sys/objects/f2003-src/fsrc/optionenum.o
FC arch-mswin-c-debug/obj/src/vec/f90-mod/petscvecmod.o
FC arch-mswin-c-debug/obj/src/sys/classes/bag/f2003-src/fsrc/bagenum.o
FC arch-mswin-c-debug/obj/src/mat/f90-mod/petscmatmod.o
FC arch-mswin-c-debug/obj/src/dm/f90-mod/petscdmmod.o
FC arch-mswin-c-debug/obj/src/dm/f90-mod/petscdmswarmmod.o
FC arch-mswin-c-debug/obj/src/dm/f90-mod/petscdmplexmod.o
FC arch-mswin-c-debug/obj/src/dm/f90-mod/petscdmdamod.o
FC arch-mswin-c-debug/obj/src/ksp/f90-mod/petsckspdefmod.o
CC arch-mswin-c-debug/obj/src/tao/python/pythontao.o
pythontao.c
FC arch-mswin-c-debug/obj/src/ksp/f90-mod/petscpcmod.o
FC arch-mswin-c-debug/obj/src/ksp/f90-mod/petsckspmod.o
FC arch-mswin-c-debug/obj/src/snes/f90-mod/petscsnesmod.o
FC arch-mswin-c-debug/obj/src/ts/f90-mod/petsctsmod.o
FC arch-mswin-c-debug/obj/src/tao/f90-mod/petsctaomod.o
AR arch-mswin-c-debug/lib/libpetsc.lib
=========================================
Now to check if the libraries are working do:
make PETSC_DIR=/cygdrive/e/balay/petsc-3.21.2 PETSC_ARCH=arch-mswin-c-debug check
=========================================
balay at petsc-win01 /cygdrive/e/balay/petsc-3.21.2
$ make check
Running PETSc check examples to verify correct installation
Using PETSC_DIR=/cygdrive/e/balay/petsc-3.21.2 and PETSC_ARCH=arch-mswin-c-debug
C/C++ example src/snes/tutorials/ex19 run successfully with 1 MPI process
Fortran example src/snes/tutorials/ex5f run successfully with 1 MPI process
Completed PETSc check examples
balay at petsc-win01 /cygdrive/e/balay/petsc-3.21.2
$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240705/e50868a8/attachment-0001.html>


More information about the petsc-users mailing list