Comments (7)
from candi.
Thank you for your reply. I have tried candi master branch and the problem is solved.
I have another issue, when I use gcc-11 compiler I get the error message in the first picture (as it is expected due to ARM64). On the other hand, when I try gcc compiler a get the error in the second picture.
from candi.
Current GCC does not work on M1 hardware for large c++ codebases. Please use clang as described in https://github.com/dealii/dealii/wiki/Apple-ARM-M1-OSX
from candi.
I have used clang and also it did not work. I have received the following message
"The current version of deal.II requires a compiler with enabled C++14
support. Make sure to use a modern enough compiler (GCC version 5 onwards,
Clang version 4 onwards, or Microsoft MS VS 2015 onwards) and check that
the compiler flag "-std=" is either unset, or set to at least c++14."
the apple clang installed on my machine has version 13.1.6.
from candi.
the apple clang installed on my machine has version 13.1.6.
Clang 13 supports c++ 14. I probably did something incorrectly during configuration.
Can you post the whole text output that deal.II generates during configuration? Did you set any environment variable like CXX? What is the exact command line you used to run candi?
from candi.
I use the following command line without any further configuration
export CC=mpicc; export CXX=mpicxx; export FC=mpifort; export FF=mpifort;
OMPI_CC=calng; export OMPI_CXX=clang++; export OMPI_FC=gfortran-11
The output message is
-- Include /Users/saeed/dealii-candi/tmp/unpack/deal.II-master/cmake/setup_cached_variables.cmake
-- Prepending ${CUDA_NVCC_FLAGS} to ${DEAL_II_CUDA_FLAGS}
-- The CXX compiler identification is AppleClang 13.1.6.13160021
-- The C compiler identification is AppleClang 13.1.6.13160021
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/homebrew/bin/mpicxx - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/homebrew/bin/mpicc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The Fortran compiler identification is GNU 11.2.0
-- Checking whether Fortran compiler has -isysroot
-- Checking whether Fortran compiler has -isysroot - yes
-- Checking whether Fortran compiler supports OSX deployment target flag
-- Checking whether Fortran compiler supports OSX deployment target flag - yes
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /opt/homebrew/bin/mpifort - skipped
-- Include /Users/saeed/dealii-candi/tmp/unpack/deal.II-master/cmake/setup_deal_ii.cmake
-- Include /Users/saeed/dealii-candi/tmp/unpack/deal.II-master/cmake/setup_compiler_flags.cmake
-- Include /Users/saeed/dealii-candi/tmp/unpack/deal.II-master/cmake/setup_compiler_flags_gnu.cmake
-- Include /Users/saeed/dealii-candi/tmp/unpack/deal.II-master/bundled/setup_bundled.cmake
-- Include /Users/saeed/dealii-candi/tmp/unpack/deal.II-master/cmake/checks/check_01_cpu_features.cmake
-- Include /Users/saeed/dealii-candi/tmp/unpack/deal.II-master/cmake/checks/check_01_cxx_features.cmake
-- C++14 support is disabled.
-- C++14 support not available. Try to set -std=c++14 explicitly
-- Performing Test DEAL_II_HAVE_FLAG_std=c__14
-- Performing Test DEAL_II_HAVE_FLAG_std=c__14 - Failed
-- C++14 support is disabled.
CMake Error at cmake/checks/check_01_cxx_features.cmake:322 (MESSAGE):
The current version of deal.II requires a compiler with enabled C++14
support. Make sure to use a modern enough compiler (GCC version 5 onwards,
Clang version 4 onwards, or Microsoft MS VS 2015 onwards) and check that
the compiler flag "-std=" is either unset, or set to at least c++14.
Call Stack (most recent call first):
cmake/macros/macro_verbose_include.cmake:19 (INCLUDE)
CMakeLists.txt:112 (VERBOSE_INCLUDE)
-- Configuring incomplete, errors occurred!
See also "/Users/saeed/dealii-candi/tmp/build/deal.II-master/CMakeFiles/CMakeOutput.log".
See also "/Users/saeed/dealii-candi/tmp/build/deal.II-master/CMakeFiles/CMakeError.log".
Failure with exit status: 1
Exit message: There was a problem configuring dealii master.
from candi.
Try to not set any of the ENV variables and try again.
from candi.
Related Issues (20)
- ERROR: Failed finding all of the parts of TPL 'BLAS' with Trilinos when OpenBLAS is there on RHEL 8 HOT 2
- Installing Parmetis HOT 1
- segmentation fault at finalize
- Issue with checksum in slepc HOT 1
- Build Trilinos with NOX HOT 1
- M1 parmetis is broken HOT 3
- Intel Compiler and p4est
- SLEPc link failure HOT 2
- muelu compilation HOT 1
- cmake on a broken mirror HOT 3
- Want to turn into C99 model in building p4est HOT 2
- p4est on Apple Silicon HOT 1
- Linker issue on Xcode 15 and PETSc v 3.19 on macOS Sonoma(intel) HOT 1
- deal.II installation faliure on RHEL8
- Trilinos: Symbol(s) not found for architecture arm64 during Linking CXX shared library libteko.dylib HOT 2
- SVE(Scaler Vector Extension) HOT 1
- Intel compiler icpx 2024 takes a long time to compile deal.II with -O3 HOT 2
- Ubuntu 23.10 issues? HOT 1
- Error during installation of ASPECT using dealii 9.5.2 both in ARM64 and x86x64 HOT 1
- deal.ii version control HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from candi.