make[1]: Entering directory `/Users/iancclin/softwares/src/petsc-3.10.2' ========================================== 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. http://www.mcs.anl.gov/petsc/miscellaneous/mailing-lists.html ========================================== Starting make run on Ians-MacBook-Pro.local at Wed, 17 Oct 2018 11:41:37 -0400 Machine characteristics: Darwin Ians-MacBook-Pro.local 18.0.0 Darwin Kernel Version 18.0.0: Wed Aug 22 20:13:40 PDT 2018; root:xnu-4903.201.2~1/RELEASE_X86_64 x86_64 ----------------------------------------- Using PETSc directory: /Users/iancclin/softwares/src/petsc-3.10.2 Using PETSc arch: arch-darwin-c-debug ----------------------------------------- PETSC_VERSION_RELEASE 1 PETSC_VERSION_MAJOR 3 PETSC_VERSION_MINOR 10 PETSC_VERSION_SUBMINOR 2 PETSC_VERSION_PATCH 0 PETSC_VERSION_DATE "Oct, 09, 2018" PETSC_VERSION_GIT "v3.10.2" PETSC_VERSION_DATE_GIT "2018-10-09 09:18:25 -0500" PETSC_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \ PETSC_VERSION_ PETSC_VERSION_EQ PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ PETSC_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ PETSC_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ PETSC_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ ----------------------------------------- Using configure Options: --with-blaslapack-dir=/usr/local/opt/openblas --with-mpi-dir=/Users/iancclin/softwares/openmpi/1.10.7/gcc8 --prefix=/Users/iancclin/softwares/petsc/3.10.2/openmpi1.10.7_gcc8.2.0 Using configuration flags: #define INCLUDED_PETSCCONF_H #define HAVE_MATH_INFINITY 1 #define IS_COLORING_MAX 65535 #define STDC_HEADERS 1 #define MPIU_COLORING_VALUE MPI_UNSIGNED_SHORT #define PETSC_RTLD_DEFAULT 1 #define PETSC_HAVE_CXX 1 #define PETSC_UINTPTR_T uintptr_t #define PETSC_HAVE_PTHREAD 1 #define PETSC_DEPRECATED(why) __attribute((deprecated)) #define PETSC_REPLACE_DIR_SEPARATOR '\\' #define PETSC_HAVE_SO_REUSEADDR 1 #define PETSC_HAVE_MPI 1 #define PETSC_PREFETCH_HINT_T2 _MM_HINT_T2 #define PETSC_PREFETCH_HINT_T0 _MM_HINT_T0 #define PETSC_PREFETCH_HINT_T1 _MM_HINT_T1 #define PETSC_ARCH "" #define PETSC_HAVE_FORTRAN 1 #define PETSC_DIR "/Users/iancclin/softwares/petsc/3.10.2/openmpi1.10.7_gcc8.2.0" #define PETSC_HAVE_X 1 #define PETSC_LIB_DIR "/Users/iancclin/softwares/petsc/3.10.2/openmpi1.10.7_gcc8.2.0/lib" #define PETSC_USE_SOCKET_VIEWER 1 #define PETSC_USE_ISATTY 1 #define PETSC_SLSUFFIX "dylib" #define PETSC_FUNCTION_NAME_CXX __func__ #define PETSC_HAVE_ATOLL 1 #define PETSC_HAVE_ATTRIBUTEALIGNED 1 #define PETSC_HAVE_DOUBLE_ALIGN_MALLOC 1 #define PETSC_UNUSED __attribute((unused)) #define PETSC_ATTRIBUTEALIGNED(size) __attribute((aligned (size))) #define PETSC_MPICC_SHOW "gcc-8 -I/Users/iancclin/softwares/openmpi/1.10.7/gcc8/include -L/Users/iancclin/softwares/openmpi/1.10.7/gcc8/lib -lmpi" #define PETSC_FUNCTION_NAME_C __func__ #define PETSC_HAVE_VALGRIND 1 #define PETSC_USE_SINGLE_LIBRARY 1 #define PETSC_HAVE_BUILTIN_EXPECT 1 #define PETSC_HAVE_MATHLIB 1 #define PETSC_DIR_SEPARATOR '/' #define PETSC_PATH_SEPARATOR ':' #define PETSC_HAVE_XMMINTRIN_H 1 #define PETSC_PREFETCH_HINT_NTA _MM_HINT_NTA #define PETSC_Prefetch(a,b,c) _mm_prefetch((const char*)(a),(c)) #define PETSC_HAVE_BLASLAPACK 1 #define PETSC_HAVE_GZIP 1 #define PETSC_HAVE_STRING_H 1 #define PETSC_HAVE_SYS_TYPES_H 1 #define PETSC_HAVE_DLFCN_H 1 #define PETSC_HAVE_MACHINE_ENDIAN_H 1 #define PETSC_HAVE_SCHED_H 1 #define PETSC_HAVE_STDINT_H 1 #define PETSC_HAVE_TIME_H 1 #define PETSC_HAVE_MATH_H 1 #define PETSC_HAVE_INTTYPES_H 1 #define PETSC_HAVE_STDLIB_H 1 #define PETSC_HAVE_SYS_PARAM_H 1 #define PETSC_HAVE_PTHREAD_H 1 #define PETSC_HAVE_UNISTD_H 1 #define PETSC_HAVE_CXXABI_H 1 #define PETSC_HAVE_SYS_WAIT_H 1 #define PETSC_HAVE_SETJMP_H 1 #define PETSC_HAVE_LIMITS_H 1 #define PETSC_HAVE_SEARCH_H 1 #define PETSC_HAVE_NETINET_IN_H 1 #define PETSC_HAVE_SYS_SOCKET_H 1 #define PETSC_HAVE_FLOAT_H 1 #define PETSC_HAVE_SYS_RESOURCE_H 1 #define PETSC_HAVE_SYS_TIMES_H 1 #define PETSC_HAVE_NETDB_H 1 #define PETSC_HAVE_SYS_UTSNAME_H 1 #define PETSC_HAVE_PWD_H 1 #define PETSC_HAVE_FCNTL_H 1 #define PETSC_HAVE_STRINGS_H 1 #define PETSC_HAVE_IMMINTRIN_H 1 #define PETSC_TIME_WITH_SYS_TIME 1 #define PETSC_HAVE_SYS_TIME_H 1 #define PETSC_HAVE_C99 1 #define PETSC_USING_F90 1 #define PETSC_USING_F2003 1 #define PETSC_FORTRAN_CHARLEN_T size_t #define PETSC_HAVE_RTLD_NOW 1 #define PETSC_HAVE_RTLD_LOCAL 1 #define PETSC_HAVE_FORTRAN_TYPE_INITIALIZE -2 #define PETSC_HAVE_RTLD_LAZY 1 #define PETSC_CXX_INLINE inline #define PETSC_HAVE_FORTRAN_FLUSH 1 #define PETSC_USING_F90FREEFORM 1 #define PETSC_HAVE_FORTRAN_UNDERSCORE 1 #define PETSC_HAVE_CXX_NAMESPACE 1 #define PETSC_HAVE_RTLD_GLOBAL 1 #define PETSC_C_RESTRICT __restrict #define PETSC_FORTRAN_TYPE_INITIALIZE = -2 #define PETSC_HAVE_FORTRAN_TYPE_STAR 1 #define PETSC_CXX_RESTRICT __restrict #define PETSC_C_INLINE inline #define PETSC_HAVE_LIBBLAS 1 #define PETSC_HAVE_LIBDL 1 #define PETSC_HAVE_LIBMPI 1 #define PETSC_HAVE_LIBSTDC__ 1 #define PETSC_HAVE_LIBLAPACK 1 #define PETSC_HAVE_FENV_H 1 #define PETSC_HAVE_LOG2 1 #define PETSC_HAVE_LIBMPI_USEMPI_IGNORE_TKR 1 #define PETSC_HAVE_LIBMPI_USEMPIF08 1 #define PETSC_HAVE_ERF 1 #define PETSC_HAVE_LIBX11 1 #define PETSC_HAVE_LIBM 1 #define PETSC_HAVE_LIBQUADMATH 1 #define PETSC_HAVE_LIBMPI_MPIFH 1 #define PETSC_HAVE_TGAMMA 1 #define PETSC_HAVE_LIBGFORTRAN 1 #define PETSC_USE_SCALAR_REAL 1 #define PETSC_HAVE_ISINF 1 #define PETSC_HAVE_ISNAN 1 #define PETSC_HAVE_ISNORMAL 1 #define PETSC_USE_REAL_DOUBLE 1 #define PETSC_SIZEOF_MPI_COMM 8 #define PETSC_BITS_PER_BYTE 8 #define PETSC_SIZEOF_MPI_FINT 4 #define PETSC_USE_VISIBILITY_C 1 #define PETSC_SIZEOF_VOID_P 8 #define PETSC_RETSIGTYPE void #define PETSC_HAVE_CXX_COMPLEX 1 #define PETSC_SIZEOF_LONG 8 #define PETSC_USE_FORTRANKIND 1 #define PETSC_USE_VISIBILITY_CXX 1 #define PETSC_SIZEOF_SIZE_T 8 #define PETSC_HAVE_SIGINFO_T 1 #define PETSC_SIZEOF_CHAR 1 #define PETSC_SIZEOF_DOUBLE 8 #define PETSC_SIZEOF_FLOAT 4 #define PETSC_HAVE_C99_COMPLEX 1 #define PETSC_SIZEOF_INT 4 #define PETSC_SIZEOF_LONG_LONG 8 #define PETSC_SIZEOF_SHORT 2 #define PETSC_CLANGUAGE_C 1 #define PETSC_HAVE_STRCASECMP 1 #define PETSC_HAVE_POPEN 1 #define PETSC_HAVE_SIGSET 1 #define PETSC_HAVE_GETWD 1 #define PETSC_HAVE_VSNPRINTF 1 #define PETSC_HAVE_TIMES 1 #define PETSC_HAVE_DLSYM 1 #define PETSC_HAVE_SNPRINTF 1 #define PETSC_HAVE_GETHOSTBYNAME 1 #define PETSC_HAVE_GETCWD 1 #define PETSC_HAVE_ACCESS 1 #define PETSC_HAVE_DLERROR 1 #define PETSC_HAVE_FORK 1 #define PETSC_HAVE_RAND 1 #define PETSC_HAVE_GETTIMEOFDAY 1 #define PETSC_HAVE_DLCLOSE 1 #define PETSC_HAVE_UNAME 1 #define PETSC_HAVE_GETHOSTNAME 1 #define PETSC_HAVE_MKSTEMP 1 #define PETSC_HAVE_SIGACTION 1 #define PETSC_HAVE_DRAND48 1 #define PETSC_HAVE_MMAP 1 #define PETSC_HAVE_VA_COPY 1 #define PETSC_HAVE_CLOCK 1 #define PETSC_HAVE_SYSCTLBYNAME 1 #define PETSC_HAVE_SIGNAL 1 #define PETSC_HAVE_USLEEP 1 #define PETSC_HAVE_GETRUSAGE 1 #define PETSC_HAVE_VFPRINTF 1 #define PETSC_HAVE_NANOSLEEP 1 #define PETSC_HAVE_GETDOMAINNAME 1 #define PETSC_HAVE_TIME 1 #define PETSC_HAVE_LSEEK 1 #define PETSC_HAVE_SOCKET 1 #define PETSC_HAVE_READLINK 1 #define PETSC_HAVE_REALPATH 1 #define PETSC_HAVE_DLOPEN 1 #define PETSC_HAVE_MEMMOVE 1 #define PETSC_HAVE__GFORTRAN_IARGC 1 #define PETSC_SIGNAL_CAST #define PETSC_HAVE_SLEEP 1 #define PETSC_HAVE_VPRINTF 1 #define PETSC_HAVE_BZERO 1 #define PETSC_HAVE_GETPAGESIZE 1 #define PETSC_WRITE_MEMORY_BARRIER() __asm__ __volatile__ ("sfence":::"memory") #define PETSC_MEMORY_BARRIER() __asm__ __volatile__ ("mfence":::"memory") #define PETSC_READ_MEMORY_BARRIER() __asm__ __volatile__ ("lfence":::"memory") #define PETSC_CPU_RELAX() __asm__ __volatile__("rep; nop" ::: "memory") #define PETSC_HAVE_DYNAMIC_LIBRARIES 1 #define PETSC_HAVE_SHARED_LIBRARIES 1 #define PETSC_USE_SHARED_LIBRARIES 1 #define PETSC_BLASLAPACK_UNDERSCORE 1 #define PETSC_HAVE_MPI_F90MODULE 1 #define PETSC_HAVE_MPI_WIN_CREATE_FEATURE 1 #define PETSC_HAVE_MPI_IALLREDUCE 1 #define PETSC_HAVE_OMPI_MINOR_VERSION 10 #define PETSC_HAVE_MPI_REDUCE_SCATTER_BLOCK 1 #define PETSC_HAVE_MPI_IN_PLACE 1 #define PETSC_HAVE_MPI_COMM_C2F 1 #define PETSC_HAVE_MPI_GET_LIBRARY_VERSION 1 #define PETSC_HAVE_MPI_SHARED_COMM 1 #define PETSC_HAVE_MPI_TYPE_GET_EXTENT 1 #define PETSC_HAVE_MPI_WIN_CREATE 1 #define PETSC_HAVE_MPIIO 1 #define PETSC_HAVE_MPI_INIT_THREAD 1 #define PETSC_HAVE_MPI_COMBINER_NAMED 1 #define PETSC_HAVE_MPI_COMM_F2C 1 #define PETSC_HAVE_MPI_PROCESS_SHARED_MEMORY 1 #define PETSC_HAVE_MPI_TYPE_GET_ENVELOPE 1 #define PETSC_HAVE_OMPI_MAJOR_VERSION 1 #define PETSC_HAVE_MPI_REDUCE_SCATTER 1 #define PETSC_HAVE_MPI_COMBINER_DUP 1 #define PETSC_HAVE_MPI_TYPE_DUP 1 #define PETSC_HAVE_MPI_COMM_SPAWN 1 #define PETSC_HAVE_MPI_FINT 1 #define PETSC_HAVE_MPI_IBARRIER 1 #define PETSC_HAVE_MPI_FINALIZED 1 #define PETSC_HAVE_MPI_COMBINER_CONTIGUOUS 1 #define PETSC_HAVE_MPI_WIN_SHARED_QUERY 1 #define PETSC_HAVE_OMPI_RELEASE_VERSION 7 #define PETSC_HAVE_MPI_REDUCE_LOCAL 1 #define PETSC_HAVE_MPI_REPLACE 1 #define PETSC_HAVE_MPI_EXSCAN 1 #define PETSC_HAVE_MPI_ALLTOALLW 1 #define PETSC_HAVE_MPI_WIN_ALLOCATE_SHARED 1 #define PETSC_USE_INFO 1 #define PETSC_Alignx(a,b) #define PETSC_USE_BACKWARD_LOOP 1 #define PETSC_USE_DEBUG 1 #define PETSC_USE_LOG 1 #define PETSC_IS_COLOR_VALUE_TYPE_F integer2 #define PETSC_IS_COLOR_VALUE_TYPE short #define PETSC_USE_CTABLE 1 #define PETSC_MEMALIGN 16 #define PETSC_LEVEL1_DCACHE_LINESIZE 32 #define PETSC_LEVEL1_DCACHE_SIZE 32768 #define PETSC_LEVEL1_DCACHE_ASSOC 2 #define PETSC__BSD_SOURCE 1 #define PETSC__DEFAULT_SOURCE 1 #define PETSC_HAVE_FORTRAN_GET_COMMAND_ARGUMENT 1 #define PETSC_HAVE_GFORTRAN_IARGC 1 #define PETSC_USE_BYTES_FOR_SIZE 1 #define PETSC_HAVE_SYS_SYSCTL_H 1 ----------------------------------------- Using C/C++ compile: /Users/iancclin/softwares/openmpi/1.10.7/gcc8/bin/mpicc -c -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g3 -I/Users/iancclin/softwares/src/petsc-3.10.2/include -I/Users/iancclin/softwares/src/petsc-3.10.2/arch-darwin-c-debug/include -I/opt/X11/include -I/usr/local/include -I/Users/iancclin/softwares/openmpi/1.10.7/gcc8/include mpicc -show: gcc-8 -I/Users/iancclin/softwares/openmpi/1.10.7/gcc8/include -L/Users/iancclin/softwares/openmpi/1.10.7/gcc8/lib -lmpi Using Fortran compile: /Users/iancclin/softwares/openmpi/1.10.7/gcc8/bin/mpif90 -c -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -g -I/Users/iancclin/softwares/src/petsc-3.10.2/include -I/Users/iancclin/softwares/src/petsc-3.10.2/arch-darwin-c-debug/include -I/opt/X11/include -I/usr/local/include -I/Users/iancclin/softwares/openmpi/1.10.7/gcc8/include mpif90 -show: gfortran-8 -I/Users/iancclin/softwares/openmpi/1.10.7/gcc8/include -Wl,-flat_namespace -Wl,-commons,use_dylibs -I/Users/iancclin/softwares/openmpi/1.10.7/gcc8/lib -L/Users/iancclin/softwares/openmpi/1.10.7/gcc8/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi ----------------------------------------- Using C/C++ linker: /Users/iancclin/softwares/openmpi/1.10.7/gcc8/bin/mpicc Using C/C++ flags: -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -Wl,-no_compact_unwind -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g3 Using Fortran linker: /Users/iancclin/softwares/openmpi/1.10.7/gcc8/bin/mpif90 Using Fortran flags: -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -Wl,-no_compact_unwind -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -g ----------------------------------------- Using system modules: Using mpi.h: # 1 "/usr/local/include/mpi.h" 1 ----------------------------------------- Using libraries: -Wl,-rpath,/Users/iancclin/softwares/src/petsc-3.10.2/arch-darwin-c-debug/lib -L/Users/iancclin/softwares/src/petsc-3.10.2/arch-darwin-c-debug/lib -Wl,-rpath,/usr/local/opt/openblas -L/usr/local/opt/openblas -Wl,-rpath,/opt/X11/lib -L/opt/X11/lib -Wl,-rpath,/Users/iancclin/softwares/openmpi/1.10.7/gcc8/lib -L/Users/iancclin/softwares/openmpi/1.10.7/gcc8/lib -Wl,-rpath,/usr/local/Cellar/gcc/8.2.0/lib/gcc/8/gcc/x86_64-apple-darwin18.0.0/8.2.0 -L/usr/local/Cellar/gcc/8.2.0/lib/gcc/8/gcc/x86_64-apple-darwin18.0.0/8.2.0 -Wl,-rpath,/usr/local/Cellar/gcc/8.2.0/lib/gcc/8 -L/usr/local/Cellar/gcc/8.2.0/lib/gcc/8 -lpetsc -llapack -lblas -lX11 -lstdc++ -ldl -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lquadmath -lm -lstdc++ -ldl ------------------------------------------ Using mpiexec: /Users/iancclin/softwares/openmpi/1.10.7/gcc8/bin/mpiexec ------------------------------------------ Using MAKEFLAGS: -j4 -l6.0 w -- PETSC_DIR=/Users/iancclin/softwares/src/petsc-3.10.2 PETSC_ARCH=arch-darwin-c-debug ========================================== make[2]: Entering directory `/Users/iancclin/softwares/src/petsc-3.10.2' /usr/local/opt/python@2/bin/python2.7 ./config/gmakegen.py --petsc-arch=arch-darwin-c-debug /usr/local/opt/python@2/bin/python2.7 config/gmakegentest.py --petsc-dir=/Users/iancclin/softwares/src/petsc-3.10.2 --petsc-arch=arch-darwin-c-debug --testdir=./arch-darwin-c-debug/tests make[2]: Leaving directory `/Users/iancclin/softwares/src/petsc-3.10.2' make[2]: Entering directory `/Users/iancclin/softwares/src/petsc-3.10.2' Use "/usr/bin/make V=1" to see verbose compile lines, "/usr/bin/make V=0" to suppress. FC arch-darwin-c-debug/obj/sys/f90-mod/petscsysmod.o FC arch-darwin-c-debug/obj/sys/fsrc/somefort.o FC arch-darwin-c-debug/obj/sys/f90-src/fsrc/f90_fwrap.o CC arch-darwin-c-debug/obj/sys/info/verboseinfo.o In file included from /Users/iancclin/softwares/src/petsc-3.10.2/include/petsc/private/petscimpl.h:8, from /Users/iancclin/softwares/src/petsc-3.10.2/src/sys/info/verboseinfo.c:6: /Users/iancclin/softwares/src/petsc-3.10.2/include/petscsys.h:167:6: error: #error "PETSc was configured with one OpenMPI mpi.h version but now appears to be compiling using a different OpenMPI mpi.h version" # error "PETSc was configured with one OpenMPI mpi.h version but now appears to be compiling using a different OpenMPI mpi.h version" ^~~~~ CC arch-darwin-c-debug/obj/sys/info/ftn-auto/verboseinfof.o In file included from /Users/iancclin/softwares/src/petsc-3.10.2/src/sys/info/ftn-auto/verboseinfof.c:1: /Users/iancclin/softwares/src/petsc-3.10.2/include/petscsys.h:167:6: error: #error "PETSc was configured with one OpenMPI mpi.h version but now appears to be compiling using a different OpenMPI mpi.h version" # error "PETSc was configured with one OpenMPI mpi.h version but now appears to be compiling using a different OpenMPI mpi.h version" ^~~~~ make[2]: *** [arch-darwin-c-debug/obj/sys/info/verboseinfo.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CC arch-darwin-c-debug/obj/sys/info/ftn-custom/zverboseinfof.o In file included from /Users/iancclin/softwares/src/petsc-3.10.2/include/petsc/private/petscimpl.h:8, from /Users/iancclin/softwares/src/petsc-3.10.2/include/petsc/private/fortranimpl.h:6, from /Users/iancclin/softwares/src/petsc-3.10.2/src/sys/info/ftn-custom/zverboseinfof.c:1: /Users/iancclin/softwares/src/petsc-3.10.2/include/petscsys.h:167:6: error: #error "PETSc was configured with one OpenMPI mpi.h version but now appears to be compiling using a different OpenMPI mpi.h version" # error "PETSc was configured with one OpenMPI mpi.h version but now appears to be compiling using a different OpenMPI mpi.h version" ^~~~~ make[2]: *** [arch-darwin-c-debug/obj/sys/info/ftn-auto/verboseinfof.o] Error 1 make[2]: *** [arch-darwin-c-debug/obj/sys/info/ftn-custom/zverboseinfof.o] Error 1 make[2]: Leaving directory `/Users/iancclin/softwares/src/petsc-3.10.2' make[1]: *** [gnumake] Error 2 make[1]: Leaving directory `/Users/iancclin/softwares/src/petsc-3.10.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 Wed, 17 Oct 2018 11:41:53 -0400