Problem MPI_CXX during default Compilation
Hello,
I wanted to do the default Compilation, however cmake couldn't find MPI_CXX. That is the Output from the Terminal:
Could NOT find MPI_CXX (missing: MPI_CXX_WORKS)
CMake Error at /home/zszlobod/
Could NOT find MPI (missing: MPI_CXX_FOUND) (found version "3.1")
Reason given by package: MPI component 'Fortran' was requested, but language Fortran is not enabled.
Call Stack (most recent call first):
/home/
/home/
CMakeLists.
-- Configuring incomplete, errors occurred!
See also "/home/
See also "/home/
When I looked up CMakeError.log , it says test_mpi for CXX in mode normal failed to compile:
The MPI test test_mpi for CXX in mode normal failed to compile with the following output:
Change Dir: /home/zszlobod/
Run Build Command(
make[1]: Entering directory '/home/
Building CXX object CMakeFiles/
/usr/bin/c++ -isystem /usr/lib/
clang: error: unknown argument: '-fdce'
CMakeFiles/
make[1]: *** [CMakeFiles/
make[1]: Leaving directory '/home/
Makefile:140: recipe for target 'cmTC_3f232/fast' failed
make: *** [cmTC_3f232/fast] Error 2
I tried to reinstall openmpi and cmake, but that didn't work. Can anyone help me?
Compiler: gcc 7.5.0
cmake 3.19.7
openmpi 2.1.1
yade 2020.01a
Ubuntu 18.04.4 lts
Thank you in advance!
Steve
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Anton Gladky
- Solved:
- Last query:
- Last reply: