Hello!
I have followed Timo’s instructions for compiling on the M1 processor but I get an error when I try to install deal.22. Specifically, when I type:
./candi.sh -j 8 --packages=“hdf5 p4est trilinos dealii”
within the candi directory, I get the following error message:
[ 90%] Building CXX object examples/CMakeFiles/step-16b.release.dir/step-16b/step-16b.cc.o
[ 90%] Linking CXX executable …/bin/step-22.release
[ 90%] Linking CXX executable …/bin/step-56.release
[ 90%] Built target step-22.release
[ 90%] Building CXX object examples/CMakeFiles/step-74.release.dir/step-74/step-74.cc.o
[ 90%] Built target step-56.release
[ 90%] Building CXX object examples/CMakeFiles/step-39.release.dir/step-39/step-39.cc.o
[ 90%] Linking CXX executable …/bin/step-76.release
[ 90%] Built target step-76.release
[ 90%] Building CXX object examples/CMakeFiles/step-34.release.dir/step-34/step-34.cc.o
[ 90%] Linking CXX executable …/bin/step-11.release
[ 90%] Built target step-11.release
[ 90%] Building CXX object examples/CMakeFiles/step-15.release.dir/step-15/step-15.cc.o
[ 90%] Linking CXX executable …/bin/step-47.release
[ 90%] Built target step-47.release
[ 91%] Building CXX object examples/CMakeFiles/step-40.release.dir/step-40/step-40.cc.o
[ 91%] Linking CXX executable …/bin/step-14.release
[ 91%] Built target step-14.release
[ 91%] Building CXX object examples/CMakeFiles/step-1.release.dir/step-1/step-1.cc.o
[ 91%] Linking CXX executable …/bin/step-21.release
[ 91%] Linking CXX executable …/bin/step-74.release
[ 91%] Built target step-21.release
[ 91%] Building CXX object examples/CMakeFiles/step-4.release.dir/step-4/step-4.cc.o
[ 91%] Built target step-74.release
[ 91%] Building CXX object examples/CMakeFiles/step-20.release.dir/step-20/step-20.cc.o
[ 91%] Linking CXX executable …/bin/step-1.release
[ 91%] Built target step-1.release
[ 91%] Building CXX object examples/CMakeFiles/step-7.release.dir/step-7/step-7.cc.o
[ 91%] Linking CXX executable …/bin/step-40.release
[ 91%] Linking CXX executable …/bin/step-15.release
[ 91%] Built target step-40.release
[ 91%] Building CXX object examples/CMakeFiles/step-43.release.dir/step-43/step-43.cc.o
[ 91%] Built target step-15.release
[ 91%] Building CXX object examples/CMakeFiles/step-10.release.dir/step-10/step-10.cc.o
[ 91%] Linking CXX executable …/bin/step-16b.release
[ 91%] Built target step-16b.release
[ 91%] Building CXX object examples/CMakeFiles/step-52.release.dir/step-52/step-52.cc.o
[ 91%] Linking CXX executable …/bin/step-39.release
[ 91%] Linking CXX executable …/bin/step-34.release
[ 91%] Built target step-39.release
[ 91%] Building CXX object source/CMakeFiles/deal_II.g.dir/dummy.cc.o
[ 91%] Linking CXX shared library …/lib/libdeal_II.g.dylib
[ 91%] Built target step-34.release
[ 91%] Linking CXX executable …/bin/step-10.release
[ 91%] Linking CXX executable …/bin/step-4.release
[ 91%] Built target step-10.release
[ 91%] Built target step-4.release
[ 91%] Linking CXX executable …/bin/step-20.release
[ 91%] Linking CXX executable …/bin/step-52.release
[ 91%] Built target step-20.release
[ 91%] Built target step-52.release
[ 91%] Linking CXX executable …/bin/step-7.release
[ 91%] Built target step-7.release
[ 91%] Linking CXX executable …/bin/step-43.release
[ 91%] Built target step-43.release
final section layout:
__TEXT/__text addr=0x00018BA0, size=0x07A0B2E0, fileOffset=0x00018BA0, type=1
__TEXT/__stubs addr=0x07A23E80, size=0x00650124, fileOffset=0x07A23E80, type=29
__TEXT/__stub_helper addr=0x08073FA4, size=0x00002124, fileOffset=0x08073FA4, type=33
__TEXT/__const addr=0x080760D0, size=0x002B6E58, fileOffset=0x080760D0, type=0
__TEXT/__cstring addr=0x0832CF28, size=0x01739C38, fileOffset=0x0832CF28, type=13
__TEXT/__eh_frame addr=0x09A66B60, size=0x024E14A0, fileOffset=0x09A66B60, type=19
__DATA_CONST/__got addr=0x0BF48000, size=0x000353C0, fileOffset=0x0BF48000, type=30
__DATA_CONST/__mod_init_func addr=0x0BF7D3C0, size=0x00000C00, fileOffset=0x0BF7D3C0, type=34
__DATA_CONST/__const addr=0x0BF7DFC0, size=0x00134100, fileOffset=0x0BF7DFC0, type=0
__DATA/__la_symbol_ptr addr=0x0C0B4000, size=0x00435618, fileOffset=0x0C0B4000, type=28
__DATA/__gcc_except_tab addr=0x0C4E9618, size=0x005FF1F0, fileOffset=0x0C4E9618, type=0
__DATA/__data addr=0x0CAE8808, size=0x0000AEA8, fileOffset=0x0CAE8808, type=0
__DATA/__bss addr=0x0CAF36B0, size=0x00009C49, fileOffset=0x00000000, type=26
__DATA/__common addr=0x0CAFD300, size=0x00000719, fileOffset=0x00000000, type=26
ld: b(l) ARM64 branch out of range (134586840 max is +/-128MB): from _ZN5boost7archive17archive_exceptionC2ENS1_14exception_codeEPKcS4 (0x00018C58) to ___assert_rtn@0x00000000 (0x08073344) in ‘_ZN5boost7archive17archive_exceptionC2ENS1_14exception_codeEPKcS4’ from …/bundled/boost-1.70.0/libs/serialization/src/CMakeFiles/obj_boost_serialization_debug.dir/archive_exception.cpp.o for architecture arm64
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libdeal_II.g.9.3.1.dylib] Error 1
make[2]: *** Deleting file `lib/libdeal_II.g.9.3.1.dylib’
make[1]: *** [source/CMakeFiles/deal_II.g.dir/all] Error 2
make: *** [all] Error 2
Failure with exit status: 2
Exit message: There was a problem building dealii v9.3.1.
Any idea what the problem might be?
Thanks, Pedro