Hardware Overview:
Model Name: MacBook Pro
Model Identifier: MacBookPro10,1
Processor Name: Quad-Core Intel Core i7
Processor Speed: 2.3 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 6 MB
Hyper-Threading Technology: Enabled
Memory: 8 GB
bash-3.2$ echo $DEAL_II_DIR
/Applications/deal.II.app/Contents/Resources/Libraries
bash-3.2$ which cmake
/Applications/deal.II.app/Contents/Resources/Libraries/bin/cmake
bash-3.2$ cmake -G 'Unix Makefiles'
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
-- The C compiler identification is AppleClang 11.0.3.11030032
-- The CXX compiler identification is Clang 9.0.0
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/deal.II.app/Contents/Resources/spack/opt/spack/darwin-catalina-haswell/clang-9.0.0/mpich-3.3.2-xfnadjyi3l5hbjla3xm2vhdtwq4sjsmi/bin/mpic++
-- Check for working CXX compiler: /Applications/deal.II.app/Contents/Resources/spack/opt/spack/darwin-catalina-haswell/clang-9.0.0/mpich-3.3.2-xfnadjyi3l5hbjla3xm2vhdtwq4sjsmi/bin/mpic++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Autopilot invoked
###
#
# Project step-18 set up with deal.II-9.1.1 found at
# /Applications/deal.II.app/Contents/Resources/Libraries
#
# CMAKE_BUILD_TYPE: Debug
#
# You can now run
# $ make - to compile and link the program
# $ make run - to (compile, link and) run the program
#
# $ make sign - to sign the executable with the supplied OSX developer key
#
# $ make debug - to switch the build type to 'Debug'
# $ make release - to switch the build type to 'Release'
#
# $ make edit_cache - to change (cached) configuration variables
# and rerun the configure and generate phases of CMake
#
# $ make strip_comments - to strip the source files in this
# directory off their comments; this is irreversible
# $ make clean - to remove the generated executable as well as
# all intermediate compilation files
# $ make runclean - to remove all output generated by the program
# $ make distclean - to clean the directory from _all_ generated
# files (includes clean, runclean and the removal
# of the generated build system)
# $ make info - to view this message again
#
# Have a nice day!
#
###
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/albertosalvadori/Codes/dealii-9.1.1/examples/mystep-18
bash-3.2$ make relase
make: *** No rule to make target `relase'. Stop.
bash-3.2$ make release
Scanning dependencies of target release
[100%] Switching CMAKE_BUILD_TYPE to Release
-- Autopilot invoked
-- Run $ make info to print a detailed help message
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/albertosalvadori/Codes/dealii-9.1.1/examples/mystep-18
***
*** Switched to Release mode. Now recompile with: $ make
***
[100%] Built target release
bash-3.2$ make
Scanning dependencies of target step-18
[ 50%] Building CXX object CMakeFiles/step-18.dir/step-18.cc.o
[100%] Linking CXX executable step-18
[100%] Built target step-18
bash-3.2$ ./step-18
Timestep 1 at time 1
Cycle 0:
Number of active cells: 3712 (by partition: 3712)
Number of degrees of freedom: 17226 (by partition: 17226)
Assembling system... norm of rhs is Illegal instruction: 4
bash-3.2$ which mpirun
/Applications/deal.II.app/Contents/Resources/Libraries/bin/mpirun
bash-3.2$ mpirun -np 2 ./step-18
Timestep 1 at time 1
Cycle 0:
Number of active cells: 3712 (by partition: 1972+1740)
Number of degrees of freedom: 17226 (by partition: 9396+7830)
Assembling system... norm of rhs is
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= PID 61826 RUNNING AT tests-MacBook-Pro.fritz.box
= EXIT CODE: 4
= CLEANING UP REMAINING PROCESSES
= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================
YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Illegal instruction: 4 (signal 4)
This typically refers to a problem with your application.
Please see the FAQ page for debugging suggestions
bash-3.2$