Hey! I am Mingqi and I am trying to install ASPECT on M1 Mac. I already successfully installed the deall.ii following the instructions at Apple ARM M1 OSX · dealii/dealii Wiki · GitHub. However, when I compiled ASPECT, I met some problems.
detailed.log from the deal.ii showed as below:
deal.II configuration:
CMAKE_BUILD_TYPE: DebugRelease
BUILD_SHARED_LIBS: ON
CMAKE_INSTALL_PREFIX: /Users/liumq/dealii-candi/deal.II-v9.3.3
CMAKE_SOURCE_DIR: /Users/liumq/dealii-candi/tmp/unpack/deal.II-v9.3.3
(version 9.3.3, shortrev 1e662e9dc9)
CMAKE_BINARY_DIR: /Users/liumq/dealii-candi/tmp/build/deal.II-v9.3.3
CMAKE_CXX_COMPILER: GNU 11.2.0 on platform Darwin arm64
/opt/homebrew/bin/mpicxx
C++ language standard: C++17
CMAKE_C_COMPILER: /opt/homebrew/bin/mpicc
CMAKE_Fortran_COMPILER: /opt/homebrew/bin/mpifort
CMAKE_GENERATOR: Unix Makefiles
Base configuration (prior to feature configuration):
DEAL_II_CXX_FLAGS: -pedantic -fPIC -Wall -Wextra -Wmissing-braces -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wsuggest-override -Wswitch -Wsynth -Wwrite-strings -Wno-placement-new -Wno-deprecated-declarations -Wno-literal-suffix -Wno-psabi -Wno-class-memaccess -fopenmp-simd -ftemplate-depth=1024
DEAL_II_CXX_FLAGS_RELEASE: -O2 -funroll-loops -funroll-all-loops -fstrict-aliasing -Wno-unused-local-typedefs
DEAL_II_CXX_FLAGS_DEBUG: -O0 -ggdb
DEAL_II_LINKER_FLAGS: -fuse-ld=lld
DEAL_II_LINKER_FLAGS_RELEASE:
DEAL_II_LINKER_FLAGS_DEBUG: -ggdb
DEAL_II_DEFINITIONS:
DEAL_II_DEFINITIONS_RELEASE:
DEAL_II_DEFINITIONS_DEBUG: DEBUG
DEAL_II_USER_DEFINITIONS:
DEAL_II_USER_DEFINITIONS_REL:
DEAL_II_USER_DEFINITIONS_DEB: DEBUG
DEAL_II_INCLUDE_DIRS
DEAL_II_USER_INCLUDE_DIRS:
DEAL_II_BUNDLED_INCLUDE_DIRS:
DEAL_II_LIBRARIES:
DEAL_II_LIBRARIES_RELEASE:
DEAL_II_LIBRARIES_DEBUG:
DEAL_II_VECTORIZATION_WIDTH_IN_BITS: 0
DEAL_II_HAVE_CXX17
Configured Features (DEAL_II_ALLOW_BUNDLED = ON, DEAL_II_ALLOW_AUTODETECTION = ON):
( DEAL_II_WITH_64BIT_INDICES = OFF )
( DEAL_II_WITH_ADOLC = OFF )
( DEAL_II_WITH_ARBORX = OFF )
( DEAL_II_WITH_ARPACK = OFF )
( DEAL_II_WITH_ASSIMP = OFF )
DEAL_II_WITH_BOOST set up with bundled packages
BOOST_CXX_FLAGS = -Wno-unused-local-typedefs
BOOST_DEFINITIONS = BOOST_NO_AUTO_PTR
BOOST_USER_DEFINITIONS = BOOST_NO_AUTO_PTR
BOOST_BUNDLED_INCLUDE_DIRS = /Users/liumq/dealii-candi/tmp/unpack/deal.II-v9.3.3/bundled/boost-1.70.0/include
DEAL_II_WITH_COMPLEX_VALUES = ON
( DEAL_II_WITH_CUDA = OFF )
( DEAL_II_WITH_GINKGO = OFF )
( DEAL_II_WITH_GMSH = OFF )
( DEAL_II_WITH_GSL = OFF )
DEAL_II_WITH_HDF5 set up with external dependencies
HDF5_DIR = /Users/liumq/dealii-candi/hdf5-1.10.7
HDF5_INCLUDE_DIRS = /Users/liumq/dealii-candi/hdf5-1.10.7/include
HDF5_USER_INCLUDE_DIRS = /Users/liumq/dealii-candi/hdf5-1.10.7/include
HDF5_LIBRARIES = /Users/liumq/dealii-candi/hdf5-1.10.7/lib/libhdf5_hl.dylib;/Users/liumq/dealii-candi/hdf5-1.10.7/lib/libhdf5.dylib
DEAL_II_WITH_KOKKOS set up with external dependencies
DEAL_II_WITH_LAPACK set up with external dependencies
LAPACK_WITH_64BIT_BLAS_INDICES = OFF
LAPACK_LINKER_FLAGS =
LAPACK_INCLUDE_DIRS =
LAPACK_USER_INCLUDE_DIRS =
LAPACK_LIBRARIES = -lm;-ldl;/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Accelerate.framework
( DEAL_II_WITH_METIS = OFF )
DEAL_II_WITH_MPI set up with external dependencies
MPI_VERSION = 3.1
MPI_C_COMPILER = /opt/homebrew/bin/mpicc
MPI_CXX_COMPILER = /opt/homebrew/bin/mpicxx
MPI_Fortran_COMPILER = /opt/homebrew/bin/mpifort
MPI_CXX_FLAGS =
MPI_LINKER_FLAGS =
MPI_INCLUDE_DIRS =
MPI_USER_INCLUDE_DIRS =
DEAL_II_WITH_MUPARSER set up with bundled packages
MUPARSER_BUNDLED_INCLUDE_DIRS = /Users/liumq/dealii-candi/tmp/unpack/deal.II-v9.3.3/bundled/muparser_v2_2_4//include
( DEAL_II_WITH_OPENCASCADE = OFF )
DEAL_II_WITH_P4EST set up with external dependencies
P4EST_VERSION = 2.3.2
P4EST_DIR = /Users/liumq/dealii-candi/p4est-2.3.2
P4EST_INCLUDE_DIRS = /Users/liumq/dealii-candi/p4est-2.3.2/FAST/include
P4EST_USER_INCLUDE_DIRS = /Users/liumq/dealii-candi/p4est-2.3.2/FAST/include
P4EST_LIBRARIES = optimized;/Users/liumq/dealii-candi/p4est-2.3.2/FAST/lib/libp4est.dylib;/Users/liumq/dealii-candi/p4est-2.3.2/FAST/lib/libsc.dylib;debug;/Users/liumq/dealii-candi/p4est-2.3.2/DEBUG/lib/libp4est.dylib;/Users/liumq/dealii-candi/p4est-2.3.2/DEBUG/lib/libsc.dylib;general;-lm;-ldl;/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Accelerate.framework
( DEAL_II_WITH_PETSC = OFF )
( DEAL_II_WITH_SCALAPACK = OFF )
( DEAL_II_WITH_SLEPC = OFF )
( DEAL_II_WITH_SUNDIALS = OFF )
( DEAL_II_WITH_SYMENGINE = OFF )
DEAL_II_WITH_TBB set up with bundled packages
TBB_CXX_FLAGS = -Wno-parentheses
TBB_BUNDLED_INCLUDE_DIRS = /Users/liumq/dealii-candi/tmp/unpack/deal.II-v9.3.3/bundled/tbb-2018_U2/include
DEAL_II_WITH_TRILINOS set up with external dependencies
TRILINOS_VERSION = 12.18.1
TRILINOS_DIR = /Users/liumq/dealii-candi/trilinos-release-12-18-1
TRILINOS_LINKER_FLAGS =
TRILINOS_INCLUDE_DIRS = /Users/liumq/dealii-candi/trilinos-release-12-18-1/include
TRILINOS_USER_INCLUDE_DIRS = /Users/liumq/dealii-candi/trilinos-release-12-18-1/include
TRILINOS_LIBRARIES = /Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/librol.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libtempus.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libmuelu-adapters.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libmuelu-interface.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libmuelu.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/liblocathyra.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/liblocaepetra.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/liblocalapack.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libloca.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libnoxepetra.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libnoxlapack.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libnox.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libintrepid2.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libintrepid.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libteko.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libstratimikos.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libstratimikosbelos.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libstratimikosamesos2.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libstratimikosaztecoo.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libstratimikosamesos.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libstratimikosml.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libstratimikosifpack.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libanasazitpetra.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libModeLaplace.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libanasaziepetra.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libanasazi.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libamesos2.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libshylu_nodetacho.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libbelosxpetra.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libbelostpetra.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libbelosepetra.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libbelos.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libml.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libifpack.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libzoltan2.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libpamgen_extras.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libpamgen.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libamesos.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libgaleri-xpetra.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libgaleri-epetra.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libaztecoo.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libisorropia.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libxpetra-sup.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libxpetra.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libthyratpetra.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libthyraepetraext.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libthyraepetra.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libthyracore.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libtrilinosss.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libtpetraext.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libtpetrainout.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libtpetra.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libkokkostsqr.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libtpetraclassiclinalg.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libtpetraclassicnodeapi.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libtpetraclassic.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libepetraext.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libtriutils.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libshards.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libzoltan.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libepetra.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libsacado.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/librtop.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libkokkoskernels.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libteuchoskokkoscomm.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libteuchoskokkoscompat.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libteuchosremainder.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libteuchosnumerics.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libteuchoscomm.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libteuchosparameterlist.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libteuchosparser.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libteuchoscore.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libkokkosalgorithms.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libkokkoscontainers.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libkokkoscore.dylib;/Users/liumq/dealii-candi/trilinos-release-12-18-1/lib/libgtest.dylib;/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/lib/liblapack.tbd;/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/lib/libblas.tbd;/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/lib/libdl.tbd
DEAL_II_WITH_UMFPACK set up with bundled packages
UMFPACK_BUNDLED_INCLUDE_DIRS = /Users/liumq/dealii-candi/tmp/unpack/deal.II-v9.3.3/bundled/umfpack/UMFPACK/Include;/Users/liumq/dealii-candi/tmp/unpack/deal.II-v9.3.3/bundled/umfpack/AMD/Include
DEAL_II_WITH_ZLIB set up with external dependencies
ZLIB_VERSION = 1.2.11
ZLIB_INCLUDE_DIRS = /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include
ZLIB_LIBRARIES = /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/lib/libz.tbd
Component configuration:
( DEAL_II_COMPONENT_DOCUMENTATION = OFF )
DEAL_II_COMPONENT_EXAMPLES
( DEAL_II_COMPONENT_PACKAGE = OFF )
( DEAL_II_COMPONENT_PYTHON_BINDINGS = OFF )
detailed.log from the ASPECT build directory showed as below:
ASPECT configuration:
ASPECT_VERSION: 2.4.0-pre
GIT REVISION: 8dcb250aa (main)
CMAKE_BUILD_TYPE: Debug
DEAL_II_DIR: /Users/liumq/dealii-candi/deal.II-v9.3.3/lib/cmake/deal.II
DEAL_II VERSION: 9.3.3
ASPECT_USE_FP_EXCEPTIONS: OFF
ASPECT_RUN_ALL_TESTS: OFF
ASPECT_USE_SHARED_LIBS: ON
ASPECT_HAVE_LINK_H: OFF
ASPECT_WITH_LIBDAP: OFF
ASPECT_WITH_WORLD_BUILDER: ON /Users/liumq/aspect/contrib/world_builder
ASPECT_PRECOMPILE_HEADERS: ON
ASPECT_UNITY_BUILD: ON
CMAKE_INSTALL_PREFIX: /usr/local
CMAKE_SOURCE_DIR: /Users/liumq/aspect
CMAKE_BINARY_DIR: /Users/liumq/aspect/build
CMAKE_CXX_COMPILER: GNU 11.2.0 on platform Darwin arm64
/opt/homebrew/bin/mpicxx
PARAMETER_GUI_EXECUTABLE: PARAMETER_GUI_EXECUTABLE-NOTFOUND
LINKAGE: DYNAMIC
COMPILE_FLAGS:
_WITH_CXX14: ON
_WITH_CXX17: TRUE
_MPI_VERSION: 3.1
_WITH_64BIT_INDICES: OFF
Perhaps it is a configuration problem. If anyone can give me some suggestions, I will very much appreciate it.
Mingqi