-
Hi, I'm just throwing this out there to see if anyone's run into this before. CMake tests throw an error compiling the test Fortran programs because of a name mangling issue. My OpenMPI is version 5.0.2 (latest stable) and was built with GCC-12.2.1 by me. Happy to provide more details if anyone is interested. [bgusto@galadriel nekRS]$ CC=mpicc CXX=mpic++ FC=mpif77 ./nrsconfig -DCMAKE_INSTALL_PREFIX=$NEKRS_HOME/build -- Verifying Fortran/CXX Compiler Compatibility - Failed -- Found MPI_UNDERLYING_COMPILER: /opt/rh/gcc-toolset-12/root/usr/bin/g++ Update the VERSION argument value or use a ... suffix to tell -- Checking if build type is 'Coverage' Update the VERSION argument value or use a ... suffix to tell -- Looking for Fortran NONE - found Update the VERSION argument value or use a ... suffix to tell -- Looking for Fortran INT_CPU_TIME - found Update the VERSION argument value or use a ... suffix to tell -- Looking for Fortran EXT_ETIME - not found Update the VERSION argument value or use a ... suffix to tell -- Looking for Fortran EXT_ETIME_ - not found Update the VERSION argument value or use a ... suffix to tell -- Looking for Fortran INT_ETIME - found -- Verifying Fortran/C Compiler Compatibility - Failed
and the C compiler:
failed to compile a simple test project using both languages. The output
Call Stack (most recent call first): |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Is there any reason to use a different version for gfortran? |
Beta Was this translation helpful? Give feedback.
Is there any reason to use a different version for gfortran?