cannot install nekRS on Ubuntu #550
-
I cannot install nekRS on Ubuntu 22.04 When I try to install nekRS as : CC=mpicc CXX=mpic++ FC=mpif77 ./nrsconfig -DCMAKE_INSTALL_PREFIX=$HOME/.local/nekrs It appears : cmake -S . -B build -Wfatal-errors -DCMAKE_INSTALL_PREFIX=/home/chunheng/.local/nekrs
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- The Fortran compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/mpicc
-- Check for working C compiler: /usr/bin/mpicc - broken
CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake:69 (message):
The C compiler
"/usr/bin/mpicc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/chunheng/.local/nekRS/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_af5a2/fast && /usr/bin/gmake -f CMakeFiles/cmTC_af5a2.dir/build.make CMakeFiles/cmTC_af5a2.dir/build
gmake[1]: Entering directory '/home/chunheng/.local/nekRS/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_af5a2.dir/testCCompiler.c.o
/usr/bin/mpicc -o CMakeFiles/cmTC_af5a2.dir/testCCompiler.c.o -c /home/chunheng/.local/nekRS/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_af5a2
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_af5a2.dir/link.txt --verbose=1
/usr/bin/mpicc CMakeFiles/cmTC_af5a2.dir/testCCompiler.c.o -o cmTC_af5a2
/usr/bin/ld: cannot find -lopen-rte: No such file or directory
/usr/bin/ld: cannot find -lopen-pal: No such file or directory
/usr/bin/ld: cannot find -levent_core: No such file or directory
/usr/bin/ld: cannot find -levent_pthreads: No such file or directory
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_af5a2.dir/build.make:99: cmTC_af5a2] Error 1
gmake[1]: Leaving directory '/home/chunheng/.local/nekRS/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_af5a2/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- Configuring incomplete, errors occurred!
See also "/home/chunheng/.local/nekRS/build/CMakeFiles/CMakeOutput.log".
See also "/home/chunheng/.local/nekRS/build/CMakeFiles/CMakeError.log". Desktop
I appreciate your help. |
Beta Was this translation helpful? Give feedback.
Answered by
stgeke
Mar 5, 2024
Replies: 1 comment
-
It looks like something is off with your MPI installation. Did you manage to compile any MPI program successfully? |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Maccchiatooo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks like something is off with your MPI installation. Did you manage to compile any MPI program successfully?