Comments (8)
Updating cmake from 3.16 to 3.20 fixes it... :-(
from candi.
"/home/heister/deal.ii-candi/tmp/unpack/deal.II-v9.3.0/'/software/external/intelmpi/oneapi/mpi/2021.1.1/include'"
It's pretty weird that there are additional apostrophes in that path. I guess it should just be /software/external/intelmpi/oneapi/mpi/2021.1.1/include
?
from candi.
@tjhei There is definitely something funny with the toolchain.
Testing your configuration line
CXX=icpc CC=icc cmake -D DEAL_II_WITH_MPI=ON -D MPI_CXX_COMPILER=mpiicpc -D MPI_C_COMPILER=mpiicc ..
works like a charm on TACC resources (the only intel compiler I have access to).
The mpiicc
, mpicpc
wrappers are simple shell scripts. Just for confirmation - what happens with the following (assuming intelmpi)?
% export CC=icc
% export CXX=icpc
% export I_MPI_CC=icc
% export I_MPI_CXX=icpc
% mpicc -V
Intel(R) C Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.1.1.217 Build 20200306
% cmake -DWITH_MPI=ON ..
from candi.
How do I know when to set CXX to the mpi wrapper and automatically?
I think there are compilers out there, for which we can't know it automatically. I remember having issues with an older intel compiler series.
Maybe we should introduce a special case for intel compilers, as you suggested.
Or, we undo #159 and find a different solution to that. In the comments of #159 I remarked that this may lead to issues for some compilers.
from candi.
works like a charm on TACC resources (the only intel compiler I have access to).
@zjiaqi2018 this did not work for you on frontera but hangs in DEAL_II_HAVE_USABLE_FLAGS_DEBUG right?
from candi.
It's pretty weird that there are additional apostrophes in that path.
Yes, but I can not find it in env
, so I wonder if the cmake MPI detection is broken.
from candi.
works like a charm on TACC resources (the only intel compiler I have access to).
@zjiaqi2018 this did not work for you on frontera but hangs in DEAL_II_HAVE_USABLE_FLAGS_DEBUG right?
Yes, after more than half an hour, still here...
from candi.
The
mpiicc
,mpicpc
wrappers are simple shell scripts. Just for confirmation - what happens with the following (assuming intelmpi)?
Same error with the broken include path. I guess it would work if that path wasn't there.
I think the broken path is because of the apostrophe in:
$ mpicxx -show
g++ -I'/software/external/intelmpi/oneapi/mpi/2021.1.1/include' -L'/software/external/intelmpi/oneapi/mpi/2021.1.1/lib/release' -L'/software/external/intelmpi/oneapi/mpi/2021.1.1/lib' -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker '/software/external/intelmpi/oneapi/mpi/2021.1.1/lib/release' -Xlinker -rpath -Xlinker '/software/external/intelmpi/oneapi/mpi/2021.1.1/lib' -lmpicxx -lmpifort -lmpi -lrt -lpthread -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Xlinker --enable-new-dtags -ldl
$ I_MPI_CXX=icpc mpicxx -show
icpc -I'/software/external/intelmpi/oneapi/mpi/2021.1.1/include' -L'/software/external/intelmpi/oneapi/mpi/2021.1.1/lib/release' -L'/software/external/intelmpi/oneapi/mpi/2021.1.1/lib' -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker '/software/external/intelmpi/oneapi/mpi/2021.1.1/lib/release' -Xlinker -rpath -Xlinker '/software/external/intelmpi/oneapi/mpi/2021.1.1/lib' -lmpicxx -lmpifort -lmpi -ldl -lrt -lpthread
but I still blame cmake for that.
from candi.
Related Issues (20)
- Failed to build dealii HOT 4
- How to use self-build library? HOT 2
- strange dealii configure failure, RHEL8 HOT 1
- DEAL_II_HAVE_USABLE_FLAGS_DEBUG error
- 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
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.