Soooo I’m trying to install ASPECT on a cluster which is a Linux Centos 7.6, and first I need to install deal II via candi. Everything is obtained by modules (not access to yum), so I need to choose the correct modules (and hope that they have been compiled with the same compilers).
I loaded the modules for GCC and openmpi (I tried both GCC 8.1 and GCC 10.1) and for cmake.
But I got a very strange error: the system does not find a C compiler or a CXX compiler (The C compiler identification is unknown) and then tries to look for an intel compiler…
I’m not sure what I’ve done wrong here.
Any idea? (before I open an issue in github.com/dealii/candi?)
Best
Marine
======
Project: deal.II-toolchain
Platform: deal.II-toolchain/platforms/supported/centos7.platform
Loading dealii-prepare
Fetching opencascade 0.18.2
Verifying OCE-0.18.2.tar.gz
OCE-0.18.2.tar.gz: OK
OCE-0.18.2.tar.gz already downloaded and verified.
Unpacking OCE-0.18.2.tar.gz
applying patch for missing xlocale.h for glibc v2.26 and above
patching file src/Standard/Standard_CLocaleSentry.hxx
Building opencascade 0.18.2
– The C compiler identification is unknown
– The CXX compiler identification is unknown
– Detecting C compiler ABI info
– Detecting C compiler ABI info - failed
– Check for working C compiler: /trinity/shared/apps/cv-standard/openmpi/ucx/icc20/4.0.3_ib/bin/mpicc
– Check for working C compiler: /trinity/shared/apps/cv-standard/openmpi/ucx/icc20/4.0.3_ib/bin/mpicc - broken
CMake Error at /trinity/shared/apps/cv-standard/cmake/3.18.2/share/cmake-3.18/Modules/CMakeTestCCompiler.cmake:66 (message):
The C compiler
"/trinity/shared/apps/cv-standard/openmpi/ucx/icc20/4.0.3_ib/bin/mpicc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/LPGN/lasbleis-m/deal.ii-candi/tmp/build/oce-OCE-0.18.2/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_a8144/fast && /usr/bin/gmake -f CMakeFiles/cmTC_a8144.dir/build.make CMakeFiles/cmTC_a8144.dir/build
gmake[1]: Entering directory `/home/LPGN/lasbleis-m/deal.ii-candi/tmp/build/oce-OCE-0.18.2/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_a8144.dir/testCCompiler.c.o
/trinity/shared/apps/cv-standard/openmpi/ucx/icc20/4.0.3_ib/bin/mpicc -o CMakeFiles/cmTC_a8144.dir/testCCompiler.c.o -c /home/LPGN/lasbleis-m/deal.ii-candi/tmp/build/oce-OCE-0.18.2/CMakeFiles/CMakeTmp/testCCompiler.c
/trinity/shared/apps/cv-standard/openmpi/ucx/icc20/4.0.3_ib/bin/mpicc: error while loading shared libraries: libimf.so: cannot open shared object file: No such file or directory
gmake[1]: *** [CMakeFiles/cmTC_a8144.dir/testCCompiler.c.o] Error 127
gmake[1]: Leaving directory `/home/LPGN/lasbleis-m/deal.ii-candi/tmp/build/oce-OCE-0.18.2/CMakeFiles/CMakeTmp'
gmake: *** [cmTC_a8144/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:20 (project)
– Configuring incomplete, errors occurred!
See also “/home/LPGN/lasbleis-m/deal.ii-candi/tmp/build/oce-OCE-0.18.2/CMakeFiles/CMakeOutput.log”.
See also “/home/LPGN/lasbleis-m/deal.ii-candi/tmp/build/oce-OCE-0.18.2/CMakeFiles/CMakeError.log”.
Failure with exit status: 1
Exit message: There was a problem configuring opencascade 0.18.2.