========================================== 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://petsc.org/release/community/mailing/ ========================================== Starting make run on MacBookPro at Tue, 29 Apr 2025 09:05:27 -0400 Machine characteristics: Darwin MacBookPro 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:16 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6000 arm64 ----------------------------------------- Using PETSc directory: /Users/hymanjd/src/petsc Using PETSc arch: arch-darwin-c-debug ----------------------------------------- PETSC_VERSION_RELEASE 1 PETSC_VERSION_MAJOR 3 PETSC_VERSION_MINOR 21 PETSC_VERSION_SUBMINOR 5 PETSC_VERSION_DATE "unknown" PETSC_VERSION_GIT "unknown" PETSC_VERSION_DATE_GIT "unknown" ----------------------------------------- Using configure Options: --COPTFLAGS=-O3 --CXXOPTFLAGS=-O3 --FOPTFLAGS="-O3 -Wno-unused-function -fallow-argument-mismatch" --with-debugging=no --download-mpich=yes --download-hdf5=yes --with-hdf5-fortran-bindings=yes --download-fblaslapack=yes --download-metis=yes --download-parmetis=yes --download-cmake=https://gitlab.kitware.com/cmake/cmake/-/archive/v3.31.7/cmake-v3.31.7.tar.gz --download-cmake-cc=clang --download-cmake-cxx=clang++ Using configuration flags: #define PETSC_ARCH "arch-darwin-c-debug" #define PETSC_ATTRIBUTEALIGNED(size) __attribute((aligned(size))) #define PETSC_BLASLAPACK_UNDERSCORE 1 #define PETSC_CLANGUAGE_C 1 #define PETSC_DEPRECATED_ENUM_BASE(string_literal_why) __attribute__((deprecated(string_literal_why))) #define PETSC_DEPRECATED_FUNCTION_BASE(string_literal_why) __attribute__((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) __attribute__((deprecated(string_literal_why))) #define PETSC_DEPRECATED_TYPEDEF_BASE(string_literal_why) __attribute__((deprecated(string_literal_why))) #define PETSC_DIR "/Users/hymanjd/src/petsc" #define PETSC_DIR_SEPARATOR '/' #define PETSC_DO_NOT_SWAP_CHILD_FOR_DEBUGGER 1 #define PETSC_FORTRAN_CHARLEN_T size_t #define PETSC_FORTRAN_TYPE_INITIALIZE = -2 #define PETSC_FUNCTION_NAME_C __func__ #define PETSC_HAVE_ACCESS 1 #define PETSC_HAVE_ATOLL 1 #define PETSC_HAVE_ATTRIBUTEALIGNED 1 #define PETSC_HAVE_BUILTIN_EXPECT 1 #define PETSC_HAVE_BZERO 1 #define PETSC_HAVE_C99_COMPLEX 1 #define PETSC_HAVE_CLOCK 1 #define PETSC_HAVE_CMAKE 1 #define PETSC_HAVE_DLADDR 1 #define PETSC_HAVE_DLCLOSE 1 #define PETSC_HAVE_DLERROR 1 #define PETSC_HAVE_DLFCN_H 1 #define PETSC_HAVE_DLOPEN 1 #define PETSC_HAVE_DLSYM 1 #define PETSC_HAVE_DOUBLE_ALIGN_MALLOC 1 #define PETSC_HAVE_DRAND48 1 #define PETSC_HAVE_DYNAMIC_LIBRARIES 1 #define PETSC_HAVE_ERF 1 #define PETSC_HAVE_EXECUTABLE_EXPORT 1 #define PETSC_HAVE_FBLASLAPACK 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_FORK 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_FORTRAN_UNDERSCORE 1 #define PETSC_HAVE_GETCWD 1 #define PETSC_HAVE_GETDOMAINNAME 1 #define PETSC_HAVE_GETHOSTBYNAME 1 #define PETSC_HAVE_GETHOSTNAME 1 #define PETSC_HAVE_GETPAGESIZE 1 #define PETSC_HAVE_GETRUSAGE 1 #define PETSC_HAVE_HDF5 1 #define PETSC_HAVE_INTTYPES_H 1 #define PETSC_HAVE_ISINF 1 #define PETSC_HAVE_ISNAN 1 #define PETSC_HAVE_ISNORMAL 1 #define PETSC_HAVE_LGAMMA 1 #define PETSC_HAVE_LOG2 1 #define PETSC_HAVE_LSEEK 1 #define PETSC_HAVE_MACHINE_ENDIAN_H 1 #define PETSC_HAVE_MEMMOVE 1 #define PETSC_HAVE_METIS 1 #define PETSC_HAVE_MKSTEMP 1 #define PETSC_HAVE_MMAP 1 #define PETSC_HAVE_MPICH 1 #define PETSC_HAVE_MPICH_NUMVERSION 40201300 #define PETSC_HAVE_MPIEXEC_ENVIRONMENTAL_VARIABLE MPIR_CVAR_CH3 #define PETSC_HAVE_MPIIO 1 #define PETSC_HAVE_MPIX_STREAM 1 #define PETSC_HAVE_MPIX_THREADCOMM 1 #define PETSC_HAVE_MPI_COMBINER_CONTIGUOUS 1 #define PETSC_HAVE_MPI_COMBINER_DUP 1 #define PETSC_HAVE_MPI_COMBINER_NAMED 1 #define PETSC_HAVE_MPI_F90MODULE 1 #define PETSC_HAVE_MPI_F90MODULE_VISIBILITY 1 #define PETSC_HAVE_MPI_FEATURE_DYNAMIC_WINDOW 1 #define PETSC_HAVE_MPI_GET_ACCUMULATE 1 #define PETSC_HAVE_MPI_GET_LIBRARY_VERSION 1 #define PETSC_HAVE_MPI_INIT_THREAD 1 #define PETSC_HAVE_MPI_INT64_T 1 #define PETSC_HAVE_MPI_LARGE_COUNT 1 #define PETSC_HAVE_MPI_LONG_DOUBLE 1 #define PETSC_HAVE_MPI_NEIGHBORHOOD_COLLECTIVES 1 #define PETSC_HAVE_MPI_NONBLOCKING_COLLECTIVES 1 #define PETSC_HAVE_MPI_ONE_SIDED 1 #define PETSC_HAVE_MPI_PERSISTENT_NEIGHBORHOOD_COLLECTIVES 1 #define PETSC_HAVE_MPI_PROCESS_SHARED_MEMORY 1 #define PETSC_HAVE_MPI_REDUCE_LOCAL 1 #define PETSC_HAVE_MPI_REDUCE_SCATTER_BLOCK 1 #define PETSC_HAVE_MPI_RGET 1 #define PETSC_HAVE_MPI_WIN_CREATE 1 #define PETSC_HAVE_NANOSLEEP 1 #define PETSC_HAVE_NETDB_H 1 #define PETSC_HAVE_NETINET_IN_H 1 #define PETSC_HAVE_PACKAGES ":blaslapack:cmake:fblaslapack:hdf5:mathlib:metis:mpi:mpich:parmetis:pthread:regex:sowing:x11:" #define PETSC_HAVE_PARMETIS 1 #define PETSC_HAVE_POPEN 1 #define PETSC_HAVE_POSIX_MEMALIGN 1 #define PETSC_HAVE_PTHREAD 1 #define PETSC_HAVE_PWD_H 1 #define PETSC_HAVE_RAND 1 #define PETSC_HAVE_READLINK 1 #define PETSC_HAVE_REALPATH 1 #define PETSC_HAVE_REAL___FP16 1 #define PETSC_HAVE_REGEX 1 #define PETSC_HAVE_RTLD_DEFAULT 1 #define PETSC_HAVE_RTLD_GLOBAL 1 #define PETSC_HAVE_RTLD_LAZY 1 #define PETSC_HAVE_RTLD_LOCAL 1 #define PETSC_HAVE_RTLD_NOW 1 #define PETSC_HAVE_SETJMP_H 1 #define PETSC_HAVE_SLEEP 1 #define PETSC_HAVE_SNPRINTF 1 #define PETSC_HAVE_SOCKET 1 #define PETSC_HAVE_SOWING 1 #define PETSC_HAVE_SO_REUSEADDR 1 #define PETSC_HAVE_STDATOMIC_H 1 #define PETSC_HAVE_STDINT_H 1 #define PETSC_HAVE_STRCASECMP 1 #define PETSC_HAVE_STRINGS_H 1 #define PETSC_HAVE_STRUCT_SIGACTION 1 #define PETSC_HAVE_SYS_PARAM_H 1 #define PETSC_HAVE_SYS_RESOURCE_H 1 #define PETSC_HAVE_SYS_SOCKET_H 1 #define PETSC_HAVE_SYS_TIMES_H 1 #define PETSC_HAVE_SYS_TIME_H 1 #define PETSC_HAVE_SYS_TYPES_H 1 #define PETSC_HAVE_SYS_UTSNAME_H 1 #define PETSC_HAVE_SYS_WAIT_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_UNAME 1 #define PETSC_HAVE_UNISTD_H 1 #define PETSC_HAVE_USLEEP 1 #define PETSC_HAVE_VA_COPY 1 #define PETSC_HAVE_VSNPRINTF 1 #define PETSC_HAVE_X 1 #define PETSC_HDF5_HAVE_PARALLEL 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 128 #define PETSC_LIB_DIR "/Users/hymanjd/src/petsc/arch-darwin-c-debug/lib" #define PETSC_MAX_PATH_LEN 1024 #define PETSC_MEMALIGN 16 #define PETSC_MPICC_SHOW "gcc -fPIC -fno-stack-check -Qunused-arguments -O3 -g -I/Users/hymanjd/src/petsc/arch-darwin-c-debug/include -L/Users/hymanjd/src/petsc/arch-darwin-c-debug/lib -lmpi -lpmpi" #define PETSC_MPIU_IS_COLORING_VALUE_TYPE MPI_UNSIGNED_SHORT #define PETSC_OMAKE "/usr/bin/make --no-print-directory" #define PETSC_PREFETCH_HINT_NTA 0 #define PETSC_PREFETCH_HINT_T0 3 #define PETSC_PREFETCH_HINT_T1 2 #define PETSC_PREFETCH_HINT_T2 1 #define PETSC_PYTHON_EXE "/opt/homebrew/opt/python@3.13/bin/python3.13" #define PETSC_Prefetch(a,b,c) __builtin_prefetch((a),(b),(c)) #define PETSC_REPLACE_DIR_SEPARATOR '\\' #define PETSC_SIZEOF_INT 4 #define PETSC_SIZEOF_LONG 8 #define PETSC_SIZEOF_LONG_LONG 8 #define PETSC_SIZEOF_SIZE_T 8 #define PETSC_SIZEOF_VOID_P 8 #define PETSC_SLSUFFIX "dylib" #define PETSC_UINTPTR_T uintptr_t #define PETSC_UINTPTR_T_FMT "#" PRIxPTR #define PETSC_UNUSED __attribute((unused)) #define PETSC_USE_AVX512_KERNELS 1 #define PETSC_USE_BACKWARD_LOOP 1 #define PETSC_USE_CTABLE 1 #define PETSC_USE_DEBUGGER "lldb" #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_MALLOC_COALESCED 1 #define PETSC_USE_REAL_DOUBLE 1 #define PETSC_USE_SHARED_LIBRARIES 1 #define PETSC_USE_SINGLE_LIBRARY 1 #define PETSC_USE_SOCKET_VIEWER 1 #define PETSC_USE_VISIBILITY_C 1 #define PETSC_USING_64BIT_PTR 1 #define PETSC_USING_DARWIN 1 #define PETSC_USING_F2003 1 #define PETSC_USING_F90FREEFORM 1 #define PETSC_VERSION_BRANCH_GIT "HEAD" #define PETSC_VERSION_DATE_GIT "2024-08-30 17:09:27 -0500" #define PETSC_VERSION_GIT "v3.21.5" #define PETSC__BSD_SOURCE 1 #define PETSC__DEFAULT_SOURCE 1 #define PETSC__GNU_SOURCE 1 ----------------------------------------- Using C compile: /Users/hymanjd/src/petsc/arch-darwin-c-debug/bin/mpicc -o .o -c -Wall -Wwrite-strings -Wno-unknown-pragmas -fstack-protector -fno-stack-check -Qunused-arguments -fvisibility=hidden -O3 mpicc -show: gcc -fPIC -fno-stack-check -Qunused-arguments -O3 -g -I/Users/hymanjd/src/petsc/arch-darwin-c-debug/include -L/Users/hymanjd/src/petsc/arch-darwin-c-debug/lib -lmpi -lpmpi C compiler version: Apple clang version 16.0.0 (clang-1600.0.26.6) Using Fortran compile: /Users/hymanjd/src/petsc/arch-darwin-c-debug/bin/mpif90 -o .o -c -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -Wno-unused-function -fallow-argument-mismatch -I/Users/hymanjd/src/petsc/include -I/Users/hymanjd/src/petsc/arch-darwin-c-debug/include -I/opt/X11/include mpif90 -show: gfortran -fPIC -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -O3 -Wno-unused-function -fallow-argument-mismatch -fallow-argument-mismatch -g -I/Users/hymanjd/src/petsc/arch-darwin-c-debug/include -I/Users/hymanjd/src/petsc/arch-darwin-c-debug/include -L/Users/hymanjd/src/petsc/arch-darwin-c-debug/lib -lmpifort -lmpi -lpmpi Fortran compiler version: GNU Fortran (Homebrew GCC 14.2.0_1) 14.2.0 ----------------------------------------- Using C/C++ linker: /Users/hymanjd/src/petsc/arch-darwin-c-debug/bin/mpicc Using C/C++ flags: -Wl,-commons,use_dylibs -Wl,-search_paths_first -Wl,-no_compact_unwind -Wl,-no_warn_duplicate_libraries -Wl,-commons,use_dylibs -Wl,-search_paths_first -Wl,-no_compact_unwind -Wl,-no_warn_duplicate_libraries -Wall -Wwrite-strings -Wno-unknown-pragmas -fstack-protector -fno-stack-check -Qunused-arguments -fvisibility=hidden -O3 Using Fortran linker: /Users/hymanjd/src/petsc/arch-darwin-c-debug/bin/mpif90 Using Fortran flags: -Wl,-commons,use_dylibs -Wl,-search_paths_first -Wl,-no_compact_unwind -Wl,-no_warn_duplicate_libraries -Wl,-commons,use_dylibs -Wl,-search_paths_first -Wl,-no_compact_unwind -Wl,-no_warn_duplicate_libraries -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -Wno-unused-function -fallow-argument-mismatch ----------------------------------------- Using system modules: Using mpi.h: # 1 "/Users/hymanjd/src/petsc/arch-darwin-c-debug/include/mpi.h" 1 ----------------------------------------- Using libraries: -Wl,-rpath,/Users/hymanjd/src/petsc/arch-darwin-c-debug/lib -L/Users/hymanjd/src/petsc/arch-darwin-c-debug/lib -Wl,-rpath,/opt/X11/lib -L/opt/X11/lib -Wl,-rpath,/opt/homebrew/Cellar/gcc/14.2.0_1/lib/gcc/current/gcc/aarch64-apple-darwin24/14 -L/opt/homebrew/Cellar/gcc/14.2.0_1/lib/gcc/current/gcc/aarch64-apple-darwin24/14 -Wl,-rpath,/opt/homebrew/Cellar/gcc/14.2.0_1/lib/gcc/current/gcc -L/opt/homebrew/Cellar/gcc/14.2.0_1/lib/gcc/current/gcc -Wl,-rpath,/opt/homebrew/Cellar/gcc/14.2.0_1/lib/gcc/current -L/opt/homebrew/Cellar/gcc/14.2.0_1/lib/gcc/current -lpetsc -lflapack -lfblas -lparmetis -lmetis -lhdf5hl_fortran -lhdf5_fortran -lhdf5_hl -lhdf5 -lX11 -lmpifort -lmpi -lpmpi -lgfortran -lemutls_w -lheapt_w -lgfortran -lquadmath ------------------------------------------ Using mpiexec: /Users/hymanjd/src/petsc/arch-darwin-c-debug/bin/mpiexec ------------------------------------------ Using MAKE: /usr/bin/make Default MAKEFLAGS: MAKE_NP:8 MAKE_LOAD:15.0 MAKEFLAGS: --no-print-directory -- PETSC_DIR=/Users/hymanjd/src/petsc PETSC_ARCH=arch-darwin-c-debug ========================================== /usr/bin/make --print-directory -f gmakefile -j8 -l15.0 V= libs /opt/homebrew/opt/python@3.13/bin/python3.13 ./config/gmakegen.py --petsc-arch=arch-darwin-c-debug Traceback (most recent call last): File "/Users/hymanjd/src/petsc/./config/gmakegen.py", line 4, in from sysconfig import _parse_makefile as parse_makefile ImportError: cannot import name '_parse_makefile' from 'sysconfig' (/opt/homebrew/Cellar/python@3.13/3.13.3/Frameworks/Python.framework/Versions/3.13/lib/python3.13/sysconfig/__init__.py) make[3]: *** [arch-darwin-c-debug/lib/petsc/conf/files] Error 1 make[2]: *** [libs] Error 2 **************************ERROR************************************* Error during compile, check arch-darwin-c-debug/lib/petsc/conf/make.log Send it and arch-darwin-c-debug/lib/petsc/conf/configure.log to petsc-maint@mcs.anl.gov ******************************************************************** Finishing make run at Tue, 29 Apr 2025 09:05:28 -0400