FormingWorlds / PROTEUS

Coupled atmosphere-interior framework to simulate the temporal evolution of rocky planets.
https://fwl-proteus.readthedocs.io
Apache License 2.0
12 stars 1 forks source link

PETSC installation w/ Apple Silicon #32

Closed timlichtenberg closed 1 year ago

timlichtenberg commented 1 year ago

Just tried to install PROTEUS on an Apple Silicon machine, and got the following error. Haven't found a solution yet.

`(proteus) timlichtenberg@Tims-MacBook-Air petsc % make PETSC_DIR=/Users/timlichtenberg/git/PROTEUS/petsc PETSC_ARCH=arch-darwin-c-opt all

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 Tims-MacBook-Air.local at Fri, 05 May 2023 12:20:17 +0200 Machine characteristics: Darwin Tims-MacBook-Air.local 21.6.0 Darwin Kernel Version 21.6.0: Mon Dec 19 20:45:43 PST 2022; root:xnu-8020.240.18~2/RELEASE_ARM64_T8110 arm64

Using PETSc directory: /Users/timlichtenberg/git/PROTEUS/petsc Using PETSc arch: arch-darwin-c-opt

PETSC_VERSION_RELEASE 1 PETSC_VERSION_MAJOR 3 PETSC_VERSION_MINOR 19 PETSC_VERSION_SUBMINOR 0 PETSC_VERSION_DATE "unknown" PETSC_VERSION_GIT "unknown" PETSC_VERSION_DATE_GIT "unknown"

Using configure Options: --with-debugging=0 --with-fc=0 --with-cxx=0 --download-sundials2 --download-mpich --COPTFLAGS="-g -O3" --CXXOPTFLAGS="-g -O3" Using configuration flags:

define PETSC_ARCH "arch-darwin-c-opt"

define PETSC_ATTRIBUTEALIGNED(size) __attribute((aligned(size)))

define PETSC_BLASLAPACK_SDOT_RETURNS_DOUBLE 1

define PETSC_BLASLAPACK_SNRM2_RETURNS_DOUBLE 1

define PETSC_CLANGUAGE_C 1

define PETSC_DEPRECATED_ENUM(why) attribute((deprecated(why)))

define PETSC_DEPRECATED_FUNCTION(why) attribute((deprecated(why)))

define PETSC_DEPRECATED_MACRO(why) _Pragma(why)

define PETSC_DEPRECATED_TYPEDEF(why) attribute((deprecated(why)))

define PETSC_DIR "/Users/timlichtenberg/git/PROTEUS/petsc"

define PETSC_DIR_SEPARATOR '/'

define PETSC_DO_NOT_SWAP_CHILD_FOR_DEBUGGER 1

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_CXXABI_H 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_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_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_GETWD 1

define PETSC_HAVE_IMMINTRIN_H 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_MKSTEMP 1

define PETSC_HAVE_MMAP 1

define PETSC_HAVE_MPICH 1

define PETSC_HAVE_MPICH_NUMVERSION 40101300

define PETSC_HAVE_MPIEXEC_ENVIRONMENTAL_VARIABLE MPIR_CVAR_CH3

define PETSC_HAVE_MPIIO 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_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_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:mathlib:mpi:mpich:pthread:regex:sundials2:"

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_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_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_SUNDIALS2 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_XMMINTRIN_H 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 64

define PETSC_LIB_DIR "/Users/timlichtenberg/git/PROTEUS/petsc/arch-darwin-c-opt/lib"

define PETSC_MAX_PATH_LEN 1024

define PETSC_MEMALIGN 16

define PETSC_MISSING_LAPACK_lsame 1

define PETSC_MPICC_SHOW "gcc -fPIC -fno-stack-check -Qunused-arguments -g -O3 -fno-common -Wno-implicit-function-declaration -I/Users/timlichtenberg/git/PROTEUS/petsc/arch-darwin-c-opt/include -L/Users/timlichtenberg/git/PROTEUS/petsc/arch-darwin-c-opt/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 _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 "/Users/timlichtenberg/opt/anaconda3/envs/proteus/bin/python3"

define PETSC_Prefetch(a,b,c) _mm_prefetch((const char*)(a),(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_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_VERSION_BRANCH_GIT "HEAD"

define PETSC_VERSION_DATE_GIT "2023-04-20 04:29:36 +0000"

define PETSC_VERSION_GIT "v3.19.0-113-gbe26c74a516"

define PETSC__BSD_SOURCE 1

define PETSC__DEFAULT_SOURCE 1

define PETSC__GNU_SOURCE 1


Using C compile: /Users/timlichtenberg/git/PROTEUS/petsc/arch-darwin-c-opt/bin/mpicc -o .o -c -Wall -Wwrite-strings -Wno-unknown-pragmas -fstack-protector -fno-stack-check -Qunused-arguments -fvisibility=hidden -g -O3 mpicc -show: gcc -fPIC -fno-stack-check -Qunused-arguments -g -O3 -fno-common -Wno-implicit-function-declaration -I/Users/timlichtenberg/git/PROTEUS/petsc/arch-darwin-c-opt/include -L/Users/timlichtenberg/git/PROTEUS/petsc/arch-darwin-c-opt/lib -lmpi -lpmpi C compiler version: Apple clang version 14.0.0 (clang-1400.0.29.202)

Using C/C++ linker: /Users/timlichtenberg/git/PROTEUS/petsc/arch-darwin-c-opt/bin/mpicc Using C/C++ flags: -Wl,-bind_at_load -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -Wl,-no_compact_unwind -Wl,-bind_at_load -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-unknown-pragmas -fstack-protector -fno-stack-check -Qunused-arguments -fvisibility=hidden -g -O3

Using system modules: Using mpi.h: # 1 "/Users/timlichtenberg/git/PROTEUS/petsc/arch-darwin-c-opt/include/mpi.h" 1

Using libraries: -Wl,-rpath,/Users/timlichtenberg/git/PROTEUS/petsc/arch-darwin-c-opt/lib -L/Users/timlichtenberg/git/PROTEUS/petsc/arch-darwin-c-opt/lib -Wl,-rpath,/Users/timlichtenberg/git/PROTEUS/petsc/arch-darwin-c-opt/lib -L/Users/timlichtenberg/git/PROTEUS/petsc/arch-darwin-c-opt/lib -lpetsc -lsundials_cvode -lsundials_nvecserial -lsundials_nvecparallel -llapack -lblas

Using mpiexec: /Users/timlichtenberg/git/PROTEUS/petsc/arch-darwin-c-opt/bin/mpiexec

Using MAKE: /usr/bin/make Default MAKEFLAGS: MAKE_NP:7 MAKE_LOAD:12.0 MAKEFLAGS: --no-print-directory -- PETSC_ARCH=arch-darwin-c-opt PETSC_DIR=/Users/timlichtenberg/git/PROTEUS/petsc

/usr/bin/make --print-directory -f gmakefile -j7 -l12.0 V= libs CC arch-darwin-c-opt/obj/sys/time/cputime.o CC arch-darwin-c-opt/obj/sys/time/fdate.o CC arch-darwin-c-opt/obj/sys/logging/plog.o CC arch-darwin-c-opt/obj/sys/logging/xmllogevent.o CC arch-darwin-c-opt/obj/sys/logging/xmlviewer.o CC arch-darwin-c-opt/obj/sys/logging/utils/classlog.o CC arch-darwin-c-opt/obj/sys/logging/utils/eventlog.o In file included from /Users/timlichtenberg/git/PROTEUS/petsc/src/sys/logging/plog.c:11: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petsc/private/logimpl.h:4: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petsc/private/petscimpl.h:7: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petscsys.h:1404: /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/xmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"

error "This header is only meant to be used on x86 and x64 architecture"

^ In file included from /Users/timlichtenberg/git/PROTEUS/petsc/src/sys/logging/plog.c:11: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petsc/private/logimpl.h:4: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petsc/private/petscimpl.h:7: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petscsys.h:1404: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/xmmintrin.h:17: /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"

error "This header is only meant to be used on x86 and x64 architecture"

^ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:54:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_vec_init_v2si(i, 0); ^~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:133:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_packsswb((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:163:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_packssdw((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:193:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_packuswb((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:220:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckhbw((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:243:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckhwd((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:264:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckhdq((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:291:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpcklbw((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:314:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpcklwd((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:335:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckldq((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:356:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddb((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:377:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddw((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:398:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddd((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:420:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddsb((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:443:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddsw((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:465:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddusb((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:487:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddusw((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from /Users/timlichtenberg/git/PROTEUS/petsc/src/sys/logging/xmllogevent.c:8: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petsclog.h:7: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petscsys.h:1404: /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/xmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"

error "This header is only meant to be used on x86 and x64 architecture"

^ In file included from /Users/timlichtenberg/git/PROTEUS/petsc/src/sys/logging/xmllogevent.c:8: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petsclog.h:7: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petscsys.h:1404: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/xmmintrin.h:17: /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"

error "This header is only meant to be used on x86 and x64 architecture"

^ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:54:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_vec_init_v2si(i, 0); ^~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:133:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_packsswb((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:163:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_packssdw((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:193:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_packuswb((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:220:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckhbw((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:243:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckhwd((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:264:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckhdq((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:291:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpcklbw((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:314:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpcklwd((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:335:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckldq((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:356:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddb((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:377:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddw((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:398:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddd((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:420:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddsb((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:443:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddsw((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:465:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddusb((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:487:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddusw((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from /Users/timlichtenberg/git/PROTEUS/petsc/src/sys/logging/xmlviewer.c:8: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petscviewer.h:7: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petscsys.h:1404: /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/xmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"

error "This header is only meant to be used on x86 and x64 architecture"

^ In file included from /Users/timlichtenberg/git/PROTEUS/petsc/src/sys/logging/xmlviewer.c:8: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petscviewer.h:7: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petscsys.h:1404: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/xmmintrin.h:17: /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"

error "This header is only meant to be used on x86 and x64 architecture"

^ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:54:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_vec_init_v2si(i, 0); ^~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:133:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_packsswb((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:163:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_packssdw((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:193:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_packuswb((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:220:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckhbw((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:243:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckhwd((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:264:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckhdq((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:291:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpcklbw((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:314:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpcklwd((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:335:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckldq((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:356:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddb((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:377:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddw((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:398:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddd((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:420:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddsb((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:443:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddsw((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:465:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddusb((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:487:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddusw((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from /Users/timlichtenberg/git/PROTEUS/petsc/src/sys/time/cputime.c:7: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petscsys.h:1404: /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/xmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"

error "This header is only meant to be used on x86 and x64 architecture"

^ In file included from /Users/timlichtenberg/git/PROTEUS/petsc/src/sys/time/cputime.c:7: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petscsys.h:1404: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/xmmintrin.h:17: /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"

error "This header is only meant to be used on x86 and x64 architecture"

^ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:54:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_vec_init_v2si(i, 0); ^~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:133:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_packsswb((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:163:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_packssdw((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:193:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_packuswb((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:220:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckhbw((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:243:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckhwd((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:264:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckhdq((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:291:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpcklbw((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:314:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpcklwd((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:335:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckldq((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:356:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddb((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:377:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddw((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:398:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddd((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:420:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddsb((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:443:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddsw((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:465:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddusb((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:487:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddusw((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from /Users/timlichtenberg/git/PROTEUS/petsc/src/sys/time/fdate.c:2: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petscsys.h:1404: /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/xmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"

error "This header is only meant to be used on x86 and x64 architecture"

^ In file included from /Users/timlichtenberg/git/PROTEUS/petsc/src/sys/time/fdate.c:2: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petscsys.h:1404: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/xmmintrin.h:17: /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"

error "This header is only meant to be used on x86 and x64 architecture"

^ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:54:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_vec_init_v2si(i, 0); ^~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:133:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_packsswb((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:163:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_packssdw((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:193:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_packuswb((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:220:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckhbw((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:243:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckhwd((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:264:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckhdq((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:291:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpcklbw((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:314:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpcklwd((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:335:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckldq((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:356:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddb((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:377:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddw((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:398:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddd((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:420:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddsb((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:443:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddsw((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:465:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddusb((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:487:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddusw((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from /Users/timlichtenberg/git/PROTEUS/petsc/src/sys/logging/utils/eventlog.c:8: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petsc/private/logimpl.h:4: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petsc/private/petscimpl.h:7: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petscsys.h:1404: /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/xmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"

error "This header is only meant to be used on x86 and x64 architecture"

^ In file included from /Users/timlichtenberg/git/PROTEUS/petsc/src/sys/logging/utils/eventlog.c:8: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petsc/private/logimpl.h:4: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petsc/private/petscimpl.h:7: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petscsys.h:1404: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/xmmintrin.h:17: /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"

error "This header is only meant to be used on x86 and x64 architecture"

^ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:54:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_vec_init_v2si(i, 0); ^~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:133:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_packsswb((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:163:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_packssdw((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:193:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_packuswb((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:220:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckhbw((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:243:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckhwd((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:264:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckhdq((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:291:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpcklbw((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:314:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpcklwd((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:335:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckldq((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:356:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddb((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:377:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddw((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:398:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddd((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:420:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddsb((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:443:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddsw((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:465:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddusb((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:487:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddusw((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from /Users/timlichtenberg/git/PROTEUS/petsc/src/sys/logging/utils/classlog.c:8: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petsc/private/logimpl.h:4: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petsc/private/petscimpl.h:7: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petscsys.h:1404: /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/xmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"

error "This header is only meant to be used on x86 and x64 architecture"

^ In file included from /Users/timlichtenberg/git/PROTEUS/petsc/src/sys/logging/utils/classlog.c:8: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petsc/private/logimpl.h:4: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petsc/private/petscimpl.h:7: In file included from /Users/timlichtenberg/git/PROTEUS/petsc/include/petscsys.h:1404: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/xmmintrin.h:17: /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"

error "This header is only meant to be used on x86 and x64 architecture"

^ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:54:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_vec_init_v2si(i, 0); ^~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:133:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_packsswb((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:163:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_packssdw((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:193:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_packuswb((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:220:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckhbw((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:243:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckhwd((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:264:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckhdq((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:291:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpcklbw((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:314:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpcklwd((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:335:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_punpckldq((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:356:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddb((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:377:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddw((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:398:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddd((v2si)m1, (v2si)m2); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:420:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddsb((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:443:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddsw((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:465:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddusb((v8qi)m1, (v8qi)m2); ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:487:12: error: invalid conversion between vector type 'm64' (vector of 1 'long long' value) and integer type 'int' of different size return (m64)builtin_ia32_paddusw((v4hi)m1, (v4hi)m2); ^~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. 20 errors generated. make[3]: [arch-darwin-c-opt/obj/sys/time/fdate.o] Error 1 make[3]: Waiting for unfinished jobs.... 20 errors generated. make[3]: [arch-darwin-c-opt/obj/sys/logging/xmlviewer.o] Error 1 make[3]: [arch-darwin-c-opt/obj/sys/time/cputime.o] Error 1 20 errors generated. 20 errors generated. make[3]: [arch-darwin-c-opt/obj/sys/logging/utils/classlog.o] Error 1 make[3]: [arch-darwin-c-opt/obj/sys/logging/xmllogevent.o] Error 1 20 errors generated. make[3]: [arch-darwin-c-opt/obj/sys/logging/utils/eventlog.o] Error 1 20 errors generated. make[3]: [arch-darwin-c-opt/obj/sys/logging/plog.o] Error 1 make[2]: * [libs] Error 2 **ERROR*** Error during compile, check arch-darwin-c-opt/lib/petsc/conf/make.log Send it and arch-darwin-c-opt/lib/petsc/conf/configure.log to petsc-maint@mcs.anl.gov


make[1]: [all] Error 1 make: [all] Error 2`

nichollsh commented 1 year ago

PETSc runs on my Apple Silicon laptop - I've attached my make.log file for comparison.

Your log file complains about having the wrong header files, and that the ones it's using are for an x86_64 architecture. One difference that stands out between our configurations is that my make command runs the program at /opt/homebrew/bin/gmake but yours runs /usr/bin/make.

make.log

timlichtenberg commented 1 year ago

Found the issue, on my machine conda created a problem with the ARM architecture. Resolution is to use brew as a python package manager. I updated INSTALL and TROUBLESHOOTING accordingly.