8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Environment : CentOS Linux release 7.9.2009 (Core) when compiling this command cmake -D CMAKE_INSTALL_PREFIX=/usr/local/trilinos -D CMAKE_BUILD_TYPE=RELEASE -D TPL_ENABLE_MPI=ON -D Trilinos_ENABLE_Teuchos=ON -D Trilinos_ENABLE_Epetra=ON -D Trilinos_ENABLE_Tpetra=ON -D Trilinos_ENABLE_Belos=ON -D Trilinos_ENABLE_Zoltan=ON -D Trilinos_ENABLE_Ifpack=ON -D Trilinos_ENABLE_AztecOO=ON -D Trilinos_ENABLE_Amesos=ON -D Trilinos_ENABLE_Anasazi=ON ..
CMake Error at /opt/cmake-3.30.0-rc4-linux-x86_64/share/cmake-3.30/Modules/FortranCInterface.cmake:398 (message): The Fortran compiler:
/usr/bin/gfortran
and the CXX compiler:
/opt/rh/devtoolset-7/root/usr/bin/c++
failed to compile a simple test project using both languages. The output was:
Change Dir: '/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX' Run Build Command(s): /opt/cmake-3.30.0-rc4-linux-x86_64/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile VerifyFortranC /opt/cmake-3.30.0-rc4-linux-x86_64/bin/cmake -S/opt/cmake-3.30.0-rc4-linux-x86_64/share/cmake-3.30/Modules/FortranCInterface/Verify -B/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/gmake -f CMakeFiles/Makefile2 VerifyFortranC gmake[1]: Entering directory `/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX' /opt/cmake-3.30.0-rc4-linux-x86_64/bin/cmake -S/opt/cmake-3.30.0-rc4-linux-x86_64/share/cmake-3.30/Modules/FortranCInterface/Verify -B/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX --check-build-system CMakeFiles/Makefile.cmake 0 /opt/cmake-3.30.0-rc4-linux-x86_64/bin/cmake -E cmake_progress_start /home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles 6 /usr/bin/gmake -f CMakeFiles/Makefile2 CMakeFiles/VerifyFortranC.dir/all gmake[2]: Entering directory `/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX' /usr/bin/gmake -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/depend gmake[3]: Entering directory `/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX' cd /home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX && /opt/cmake-3.30.0-rc4-linux-x86_64/bin/cmake -E cmake_depends "Unix Makefiles" /opt/cmake-3.30.0-rc4-linux-x86_64/share/cmake-3.30/Modules/FortranCInterface/Verify /opt/cmake-3.30.0-rc4-linux-x86_64/share/cmake-3.30/Modules/FortranCInterface/Verify /home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX /home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX /home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles/VerifyFortran.dir/DependInfo.cmake Dependee "/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles/VerifyFortran.dir/DependInfo.cmake" is newer than depender "/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles/VerifyFortran.dir/depend.internal". Dependee "/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles/VerifyFortran.dir/depend.internal". Scanning dependencies of target VerifyFortran gmake[3]: Leaving directory `/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX' /usr/bin/gmake -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/build gmake[3]: Entering directory `/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX' [ 16%] Building Fortran object CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o /usr/bin/gfortran -DVERIFY_CXX -I/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX -O3 -c /opt/cmake-3.30.0-rc4-linux-x86_64/share/cmake-3.30/Modules/FortranCInterface/Verify/VerifyFortran.f -o CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o [ 33%] Linking Fortran static library libVerifyFortran.a /opt/cmake-3.30.0-rc4-linux-x86_64/bin/cmake -P CMakeFiles/VerifyFortran.dir/cmake_clean_target.cmake /opt/cmake-3.30.0-rc4-linux-x86_64/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortran.dir/link.txt --verbose=1 /opt/rh/devtoolset-7/root/usr/bin/ar qc libVerifyFortran.a CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o /opt/rh/devtoolset-7/root/usr/bin/ranlib libVerifyFortran.a gmake[3]: Leaving directory `/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX' [ 33%] Built target VerifyFortran /usr/bin/gmake -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/depend gmake[3]: Entering directory `/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX' cd /home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX && /opt/cmake-3.30.0-rc4-linux-x86_64/bin/cmake -E cmake_depends "Unix Makefiles" /opt/cmake-3.30.0-rc4-linux-x86_64/share/cmake-3.30/Modules/FortranCInterface/Verify /opt/cmake-3.30.0-rc4-linux-x86_64/share/cmake-3.30/Modules/FortranCInterface/Verify /home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX /home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX /home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles/VerifyFortranC.dir/DependInfo.cmake Dependee "/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles/VerifyFortranC.dir/DependInfo.cmake" is newer than depender "/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles/VerifyFortranC.dir/depend.internal". Dependee "/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles/VerifyFortranC.dir/depend.internal". Scanning dependencies of target VerifyFortranC gmake[3]: Leaving directory `/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX' /usr/bin/gmake -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/build gmake[3]: Entering directory `/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX' [ 50%] Building C object CMakeFiles/VerifyFortranC.dir/main.c.o /opt/rh/devtoolset-7/root/usr/bin/cc -DVERIFY_CXX -I/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX -O3 -DNDEBUG -o CMakeFiles/VerifyFortranC.dir/main.c.o -c /opt/cmake-3.30.0-rc4-linux-x86_64/share/cmake-3.30/Modules/FortranCInterface/Verify/main.c [ 66%] Building C object CMakeFiles/VerifyFortranC.dir/VerifyC.c.o /opt/rh/devtoolset-7/root/usr/bin/cc -DVERIFY_CXX -I/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX -O3 -DNDEBUG -o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o -c /opt/cmake-3.30.0-rc4-linux-x86_64/share/cmake-3.30/Modules/FortranCInterface/Verify/VerifyC.c [ 83%] Building CXX object CMakeFiles/VerifyFortranC.dir/VerifyCXX.cxx.o /opt/rh/devtoolset-7/root/usr/bin/c++ -DVERIFY_CXX -I/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX -O3 -DNDEBUG -o CMakeFiles/VerifyFortranC.dir/VerifyCXX.cxx.o -c /opt/cmake-3.30.0-rc4-linux-x86_64/share/cmake-3.30/Modules/FortranCInterface/Verify/VerifyCXX.cxx [100%] Linking CXX executable VerifyFortranC /opt/cmake-3.30.0-rc4-linux-x86_64/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortranC.dir/link.txt --verbose=1 /opt/rh/devtoolset-7/root/usr/bin/c++ -O3 -DNDEBUG CMakeFiles/VerifyFortranC.dir/main.c.o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o CMakeFiles/VerifyFortranC.dir/VerifyCXX.cxx.o -o VerifyFortranC -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 libVerifyFortran.a -lgfortran -lquadmath CMakeFiles/VerifyFortranC.dir/VerifyCXX.cxx.o: In function `VerifyCXX': VerifyCXX.cxx:(.text+0x1b): undefined reference to `operator delete(void*, unsigned long)' collect2: error: ld returned 1 exit status gmake[3]: *** [VerifyFortranC] Error 1 gmake[3]: Leaving directory `/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX' gmake[2]: *** [CMakeFiles/VerifyFortranC.dir/all] Error 2 gmake[2]: Leaving directory `/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX' gmake[1]: *** [CMakeFiles/VerifyFortranC.dir/rule] Error 2 gmake[1]: Leaving directory `/home/suresh/Desktop/suresh/gits/Trilinos-master/build/CMakeFiles/FortranCInterface/VerifyCXX' gmake: *** [VerifyFortranC] Error 2
Call Stack (most recent call first): cmake/tribits/core/package_arch/TribitsFortranMangling.cmake:50 (fortrancinterface_verify) cmake/tribits/core/package_arch/TribitsGlobalMacros.cmake:1593 (include) cmake/tribits/core/package_arch/TribitsProjectImpl.cmake:189 (tribits_setup_env) cmake/tribits/core/package_arch/TribitsProject.cmake:92 (tribits_project_impl) CMakeLists.txt:103 (TRIBITS_PROJECT)
-- Configuring incomplete, errors occurred!
The text was updated successfully, but these errors were encountered:
Did you try to disable fortran with -DTrilinos_ENABLE_Fortran=OFF?
-DTrilinos_ENABLE_Fortran=OFF
Sorry, something went wrong.
No branches or pull requests
Environment : CentOS Linux release 7.9.2009 (Core)
when compiling this command
cmake
-D CMAKE_INSTALL_PREFIX=/usr/local/trilinos
-D CMAKE_BUILD_TYPE=RELEASE
-D TPL_ENABLE_MPI=ON
-D Trilinos_ENABLE_Teuchos=ON
-D Trilinos_ENABLE_Epetra=ON
-D Trilinos_ENABLE_Tpetra=ON
-D Trilinos_ENABLE_Belos=ON
-D Trilinos_ENABLE_Zoltan=ON
-D Trilinos_ENABLE_Ifpack=ON
-D Trilinos_ENABLE_AztecOO=ON
-D Trilinos_ENABLE_Amesos=ON
-D Trilinos_ENABLE_Anasazi=ON
..
this is the error i'm getting
CMake Error at /opt/cmake-3.30.0-rc4-linux-x86_64/share/cmake-3.30/Modules/FortranCInterface.cmake:398 (message):
The Fortran compiler:
and the CXX compiler:
failed to compile a simple test project using both languages. The output
was:
Call Stack (most recent call first):
cmake/tribits/core/package_arch/TribitsFortranMangling.cmake:50 (fortrancinterface_verify)
cmake/tribits/core/package_arch/TribitsGlobalMacros.cmake:1593 (include)
cmake/tribits/core/package_arch/TribitsProjectImpl.cmake:189 (tribits_setup_env)
cmake/tribits/core/package_arch/TribitsProject.cmake:92 (tribits_project_impl)
CMakeLists.txt:103 (TRIBITS_PROJECT)
-- Configuring incomplete, errors occurred!
The text was updated successfully, but these errors were encountered: