mutationpp / Mutationpp

The MUlticomponent Thermodynamic And Transport library for IONized gases in C++
GNU Lesser General Public License v3.0
101 stars 58 forks source link

/usr/bin/ld: cannot find -lmutation++_fortran #189

Closed enrico1193 closed 2 years ago

enrico1193 commented 2 years ago
**My OS is**: Linux

OS Version:

NAME=Fedora
VERSION="30 (Thirty)"
ID=fedora
VERSION_ID=30
VERSION_CODENAME=""
PLATFORM_ID="platform:f30"
PRETTY_NAME="Fedora 30 (Thirty)"
ANSI_COLOR="0;34"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:30"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f30/system-administrators-guide/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=30
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=30
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
**Cmake Version:** 3.17.2 **`uname -a` output**
Linux aglin26.private.vki.eu 5.6.13-100.fc30.x86_64 #1 SMP Fri May 15 00:36:06 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

env output

``` ``` **Mutation++ origin**

Mutation++ build steps

git clone github.com/mutationpp/Mutationpp
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=$(realpath ../install) ..
make -j4 install

Step: modify the ~/.bashrc
export MPP_DIRECTORY='{MyPath}/Mutationpp'
export MPP_DATA_DIRECTORY=$MPP_DIRECTORY/data
export PATH=$MPP_DIRECTORY/install/bin:$PATH
export LD_LIBRARY_PATH=$MPP_DIRECTORY/install/lib64:$LD_LIBRARY_PATH

Step
ccmake ..
BUILD_FORTRAN_WRAPPER --> ON

Step
cd Mutationpp
cd build
make -j4 install

Mutation++ cmake output

``` The system is: Linux - 5.6.13-100.fc30.x86_64 - x86_64 Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler: /usr/lib64/ccache/c++ Build flags: Id flags: The output was: 0 Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" The CXX compiler identification is GNU, found in "/students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/3.17.2/CompilerIdCXX/a.out" Determining if the CXX compiler works passed with the following output: Change Dir: /students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_148d4/fast && /usr/bin/gmake -f CMakeFiles/cmTC_148d4.dir/build.make CMakeFiles/cmTC_148d4.dir/build gmake[1]: Entering directory '/students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_148d4.dir/testCXXCompiler.cxx.o /usr/lib64/ccache/c++ -o CMakeFiles/cmTC_148d4.dir/testCXXCompiler.cxx.o -c /students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx Linking CXX executable cmTC_148d4 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_148d4.dir/link.txt --verbose=1 /usr/lib64/ccache/c++ CMakeFiles/cmTC_148d4.dir/testCXXCompiler.cxx.o -o cmTC_148d4 gmake[1]: Leaving directory '/students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp' Detecting CXX compiler ABI info compiled with the following output: Change Dir: /students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_89aa7/fast && /usr/bin/gmake -f CMakeFiles/cmTC_89aa7.dir/build.make CMakeFiles/cmTC_89aa7.dir/build gmake[1]: Entering directory '/students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_89aa7.dir/CMakeCXXCompilerABI.cpp.o /usr/lib64/ccache/c++ -v -o CMakeFiles/cmTC_89aa7.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp Using built-in specs. COLLECT_GCC=/usr/bin/c++ OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC) COLLECT_GCC_OPTIONS='-v' '-c' '-o' 'CMakeFiles/cmTC_669bf.dir/CMakeCXXCompilerABI.cpp.o' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /usr/libexec/gcc/x86_64-redhat-linux/9/cc1plus -quiet -v -D_GNU_SOURCE /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_669bf.dir/CMakeCXXCompilerABI.cpp.o -version -o /tmp/ccbaBNdN.s GNU C++14 (GCC) version 9.3.1 20200408 (Red Hat 9.3.1-2) (x86_64-redhat-linux) compiled by GNU C version 9.3.1 20200408 (Red Hat 9.3.1-2), GMP version 6.1.2, MPFR version 3.1.6-p2, MPC version 1.1.0, isl version isl-0.16.1-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/9/include-fixed" ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/9/../../../../x86_64-redhat-linux/include" #include "..." search starts here: #include <...> search starts here: /usr/lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9 /usr/lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/x86_64-redhat-linux /usr/lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/backward /usr/lib/gcc/x86_64-redhat-linux/9/include /usr/local/include /usr/include End of search list. GNU C++14 (GCC) version 9.3.1 20200408 (Red Hat 9.3.1-2) (x86_64-redhat-linux) compiled by GNU C version 9.3.1 20200408 (Red Hat 9.3.1-2), GMP version 6.1.2, MPFR version 3.1.6-p2, MPC version 1.1.0, isl version isl-0.16.1-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 4151ce2b749d126fab5f19b7a39df4ac COLLECT_GCC_OPTIONS='-v' '-c' '-o' 'CMakeFiles/cmTC_669bf.dir/CMakeCXXCompilerABI.cpp.o' '-shared-libgcc' '-mtune=generic' '-march=x86-64' as -v --64 -o CMakeFiles/cmTC_669bf.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccbaBNdN.s GNU assembler version 2.31.1 (x86_64-redhat-linux) using BFD version version 2.31.1-37.fc30 COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/9/:/usr/libexec/gcc/x86_64-redhat-linux/9/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/9/:/usr/lib/gcc/x86_64-redhat-linux/ LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/9/:/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/9/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-c' '-o' 'CMakeFiles/cmTC_669bf.dir/CMakeCXXCompilerABI.cpp.o' '-shared-libgcc' '-mtune=generic' '-march=x86-64' Linking CXX executable cmTC_89aa7 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_89aa7.dir/link.txt --verbose=1 /usr/lib64/ccache/c++ -v CMakeFiles/cmTC_89aa7.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_89aa7 Using built-in specs. COLLECT_GCC=/usr/bin/c++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/9/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC) COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/9/:/usr/libexec/gcc/x86_64-redhat-linux/9/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/9/:/usr/lib/gcc/x86_64-redhat-linux/ LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/9/:/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/9/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_89aa7' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /usr/libexec/gcc/x86_64-redhat-linux/9/collect2 -plugin /usr/libexec/gcc/x86_64-redhat-linux/9/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccNhaBrB.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_89aa7 /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/9/crtbegin.o -L/usr/lib/gcc/x86_64-redhat-linux/9 -L/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/9/../../.. CMakeFiles/cmTC_89aa7.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-redhat-linux/9/crtend.o /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crtn.o COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_89aa7' '-shared-libgcc' '-mtune=generic' '-march=x86-64' gmake[1]: Leaving directory '/students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp' Parsed CXX implicit include dir info from above output: rv=done found start of include info found start of implicit include info add: [/usr/lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9] add: [/usr/lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/x86_64-redhat-linux] add: [/usr/lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/backward] add: [/usr/lib/gcc/x86_64-redhat-linux/9/include] add: [/usr/local/include] add: [/usr/include] end of search list found collapse include dir [/usr/lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9] ==> [/usr/include/c++/9] collapse include dir [/usr/lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/x86_64-redhat-linux] ==> [/usr/include/c++/9/x86_64-redhat-linux] collapse include dir [/usr/lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/backward] ==> [/usr/include/c++/9/backward] collapse include dir [/usr/lib/gcc/x86_64-redhat-linux/9/include] ==> [/usr/lib/gcc/x86_64-redhat-linux/9/include] collapse include dir [/usr/local/include] ==> [/usr/local/include] collapse include dir [/usr/include] ==> [/usr/include] implicit include dirs: [/usr/include/c++/9;/usr/include/c++/9/x86_64-redhat-linux;/usr/include/c++/9/backward;/usr/lib/gcc/x86_64-redhat-linux/9/include;/usr/local/include;/usr/include] Parsed CXX implicit link information from above output: link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] ignore line: [Change Dir: /students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp] ignore line: [] ignore line: [Run Build Command(s):/usr/bin/gmake cmTC_89aa7/fast && /usr/bin/gmake -f CMakeFiles/cmTC_89aa7.dir/build.make CMakeFiles/cmTC_89aa7.dir/build] ignore line: [gmake[1]: Entering directory '/students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp'] ignore line: [Building CXX object CMakeFiles/cmTC_89aa7.dir/CMakeCXXCompilerABI.cpp.o] ignore line: [/usr/lib64/ccache/c++ -v -o CMakeFiles/cmTC_89aa7.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/usr/bin/c++] ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none] ignore line: [OFFLOAD_TARGET_DEFAULT=1] ignore line: [Target: x86_64-redhat-linux] ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran objc obj-c++ ada go d lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux] ignore line: [Thread model: posix] ignore line: [gcc version 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC) ] ignore line: [COLLECT_GCC_OPTIONS='-v' '-c' '-o' 'CMakeFiles/cmTC_669bf.dir/CMakeCXXCompilerABI.cpp.o' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] ignore line: [ /usr/libexec/gcc/x86_64-redhat-linux/9/cc1plus -quiet -v -D_GNU_SOURCE /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_669bf.dir/CMakeCXXCompilerABI.cpp.o -version -o /tmp/ccbaBNdN.s] ignore line: [GNU C++14 (GCC) version 9.3.1 20200408 (Red Hat 9.3.1-2) (x86_64-redhat-linux)] ignore line: [ compiled by GNU C version 9.3.1 20200408 (Red Hat 9.3.1-2) GMP version 6.1.2 MPFR version 3.1.6-p2 MPC version 1.1.0 isl version isl-0.16.1-GMP] ignore line: [] ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/9/include-fixed"] ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/9/../../../../x86_64-redhat-linux/include"] ignore line: [#include "..." search starts here:] ignore line: [#include <...> search starts here:] ignore line: [ /usr/lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9] ignore line: [ /usr/lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/x86_64-redhat-linux] ignore line: [ /usr/lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/backward] ignore line: [ /usr/lib/gcc/x86_64-redhat-linux/9/include] ignore line: [ /usr/local/include] ignore line: [ /usr/include] ignore line: [End of search list.] ignore line: [GNU C++14 (GCC) version 9.3.1 20200408 (Red Hat 9.3.1-2) (x86_64-redhat-linux)] ignore line: [ compiled by GNU C version 9.3.1 20200408 (Red Hat 9.3.1-2) GMP version 6.1.2 MPFR version 3.1.6-p2 MPC version 1.1.0 isl version isl-0.16.1-GMP] ignore line: [] ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] ignore line: [Compiler executable checksum: 4151ce2b749d126fab5f19b7a39df4ac] ignore line: [COLLECT_GCC_OPTIONS='-v' '-c' '-o' 'CMakeFiles/cmTC_669bf.dir/CMakeCXXCompilerABI.cpp.o' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] ignore line: [ as -v --64 -o CMakeFiles/cmTC_669bf.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccbaBNdN.s] ignore line: [GNU assembler version 2.31.1 (x86_64-redhat-linux) using BFD version version 2.31.1-37.fc30] ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/9/:/usr/libexec/gcc/x86_64-redhat-linux/9/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/9/:/usr/lib/gcc/x86_64-redhat-linux/] ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/9/:/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/9/../../../:/lib/:/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-v' '-c' '-o' 'CMakeFiles/cmTC_669bf.dir/CMakeCXXCompilerABI.cpp.o' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] ignore line: [Linking CXX executable cmTC_89aa7] ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_89aa7.dir/link.txt --verbose=1] ignore line: [/usr/lib64/ccache/c++ -v CMakeFiles/cmTC_89aa7.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_89aa7 ] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/usr/bin/c++] ignore line: [COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/9/lto-wrapper] ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none] ignore line: [OFFLOAD_TARGET_DEFAULT=1] ignore line: [Target: x86_64-redhat-linux] ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran objc obj-c++ ada go d lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux] ignore line: [Thread model: posix] ignore line: [gcc version 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC) ] ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/9/:/usr/libexec/gcc/x86_64-redhat-linux/9/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/9/:/usr/lib/gcc/x86_64-redhat-linux/] ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/9/:/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/9/../../../:/lib/:/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_89aa7' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] link line: [ /usr/libexec/gcc/x86_64-redhat-linux/9/collect2 -plugin /usr/libexec/gcc/x86_64-redhat-linux/9/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccNhaBrB.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_89aa7 /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/9/crtbegin.o -L/usr/lib/gcc/x86_64-redhat-linux/9 -L/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/9/../../.. CMakeFiles/cmTC_89aa7.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-redhat-linux/9/crtend.o /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crtn.o] arg [/usr/libexec/gcc/x86_64-redhat-linux/9/collect2] ==> ignore arg [-plugin] ==> ignore arg [/usr/libexec/gcc/x86_64-redhat-linux/9/liblto_plugin.so] ==> ignore arg [-plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/9/lto-wrapper] ==> ignore arg [-plugin-opt=-fresolution=/tmp/ccNhaBrB.res] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [-plugin-opt=-pass-through=-lc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [--build-id] ==> ignore arg [--no-add-needed] ==> ignore arg [--eh-frame-hdr] ==> ignore arg [--hash-style=gnu] ==> ignore arg [-m] ==> ignore arg [elf_x86_64] ==> ignore arg [-dynamic-linker] ==> ignore arg [/lib64/ld-linux-x86-64.so.2] ==> ignore arg [-o] ==> ignore arg [cmTC_89aa7] ==> ignore arg [/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crt1.o] ==> ignore arg [/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crti.o] ==> ignore arg [/usr/lib/gcc/x86_64-redhat-linux/9/crtbegin.o] ==> ignore arg [-L/usr/lib/gcc/x86_64-redhat-linux/9] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/9] arg [-L/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64] arg [-L/lib/../lib64] ==> dir [/lib/../lib64] arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64] arg [-L/usr/lib/gcc/x86_64-redhat-linux/9/../../..] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/9/../../..] arg [CMakeFiles/cmTC_89aa7.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore arg [-lstdc++] ==> lib [stdc++] arg [-lm] ==> lib [m] arg [-lgcc_s] ==> lib [gcc_s] arg [-lgcc] ==> lib [gcc] arg [-lc] ==> lib [c] arg [-lgcc_s] ==> lib [gcc_s] arg [-lgcc] ==> lib [gcc] arg [/usr/lib/gcc/x86_64-redhat-linux/9/crtend.o] ==> ignore arg [/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crtn.o] ==> ignore collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/9] ==> [/usr/lib/gcc/x86_64-redhat-linux/9] collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64] ==> [/usr/lib64] collapse library dir [/lib/../lib64] ==> [/lib64] collapse library dir [/usr/lib/../lib64] ==> [/usr/lib64] collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/9/../../..] ==> [/usr/lib] implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc] implicit dirs: [/usr/lib/gcc/x86_64-redhat-linux/9;/usr/lib64;/lib64;/usr/lib] implicit fwks: [] Compiling the Fortran compiler identification source file "CMakeFortranCompilerId.F" succeeded. Compiler: /usr/bin/gfortran Build flags: Id flags: -v The output was: 0 Driving: /usr/bin/gfortran -v CMakeFortranCompilerId.F -l gfortran -l m -shared-libgcc Using built-in specs. COLLECT_GCC=/usr/bin/gfortran COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/9/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC) COLLECT_GCC_OPTIONS='-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /usr/libexec/gcc/x86_64-redhat-linux/9/f951 CMakeFortranCompilerId.F -ffixed-form -cpp=/tmp/ccPQGuUy.f90 -quiet -v CMakeFortranCompilerId.F -quiet -dumpbase CMakeFortranCompilerId.F -mtune=generic -march=x86-64 -auxbase CMakeFortranCompilerId -version -fintrinsic-modules-path /usr/lib/gcc/x86_64-redhat-linux/9/finclude -o /tmp/ccwiYs5R.s GNU Fortran (GCC) version 9.3.1 20200408 (Red Hat 9.3.1-2) (x86_64-redhat-linux) compiled by GNU C version 9.3.1 20200408 (Red Hat 9.3.1-2), GMP version 6.1.2, MPFR version 3.1.6-p2, MPC version 1.1.0, isl version isl-0.16.1-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/9/include-fixed" ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/9/../../../../x86_64-redhat-linux/include" #include "..." search starts here: #include <...> search starts here: /usr/lib/gcc/x86_64-redhat-linux/9/finclude /usr/lib/gcc/x86_64-redhat-linux/9/include /usr/local/include /usr/include End of search list. GNU Fortran2008 (GCC) version 9.3.1 20200408 (Red Hat 9.3.1-2) (x86_64-redhat-linux) compiled by GNU C version 9.3.1 20200408 (Red Hat 9.3.1-2), GMP version 6.1.2, MPFR version 3.1.6-p2, MPC version 1.1.0, isl version isl-0.16.1-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 COLLECT_GCC_OPTIONS='-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' as -v --64 -o /tmp/ccxHDJGb.o /tmp/ccwiYs5R.s GNU assembler version 2.31.1 (x86_64-redhat-linux) using BFD version version 2.31.1-37.fc30 Reading specs from /usr/lib/gcc/x86_64-redhat-linux/9/libgfortran.spec rename spec lib to liborig COLLECT_GCC_OPTIONS='-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/9/:/usr/libexec/gcc/x86_64-redhat-linux/9/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/9/:/usr/lib/gcc/x86_64-redhat-linux/ LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/9/:/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/9/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /usr/libexec/gcc/x86_64-redhat-linux/9/collect2 -plugin /usr/libexec/gcc/x86_64-redhat-linux/9/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccsrcZnv.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/9/crtbegin.o -L/usr/lib/gcc/x86_64-redhat-linux/9 -L/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/9/../../.. /tmp/ccxHDJGb.o -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-redhat-linux/9/crtend.o /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crtn.o COLLECT_GCC_OPTIONS='-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' Compilation of the Fortran compiler identification source "CMakeFortranCompilerId.F" produced "a.out" The Fortran compiler identification is GNU, found in "/students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/3.17.2/CompilerIdFortran/a.out" Determining if the Fortran compiler works passed with the following output: Change Dir: /students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_4dc8d/fast && /usr/bin/gmake -f CMakeFiles/cmTC_4dc8d.dir/build.make CMakeFiles/cmTC_4dc8d.dir/build gmake[1]: Entering directory '/students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp' Building Fortran object CMakeFiles/cmTC_4dc8d.dir/testFortranCompiler.f.o /usr/bin/gfortran -c /students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp/testFortranCompiler.f -o CMakeFiles/cmTC_4dc8d.dir/testFortranCompiler.f.o Linking Fortran executable cmTC_4dc8d /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4dc8d.dir/link.txt --verbose=1 /usr/bin/gfortran CMakeFiles/cmTC_4dc8d.dir/testFortranCompiler.f.o -o cmTC_4dc8d gmake[1]: Leaving directory '/students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp' Detecting Fortran compiler ABI info compiled with the following output: Change Dir: /students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_e84e4/fast && /usr/bin/gmake -f CMakeFiles/cmTC_e84e4.dir/build.make CMakeFiles/cmTC_e84e4.dir/build gmake[1]: Entering directory '/students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp' Building Fortran object CMakeFiles/cmTC_e84e4.dir/CMakeFortranCompilerABI.F.o /usr/bin/gfortran -v -c /usr/share/cmake/Modules/CMakeFortranCompilerABI.F -o CMakeFiles/cmTC_e84e4.dir/CMakeFortranCompilerABI.F.o Using built-in specs. COLLECT_GCC=/usr/bin/gfortran OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC) COLLECT_GCC_OPTIONS='-v' '-c' '-o' 'CMakeFiles/cmTC_e84e4.dir/CMakeFortranCompilerABI.F.o' '-mtune=generic' '-march=x86-64' /usr/libexec/gcc/x86_64-redhat-linux/9/f951 /usr/share/cmake/Modules/CMakeFortranCompilerABI.F -ffixed-form -cpp=/tmp/ccYuFry1.f90 -quiet -v /usr/share/cmake/Modules/CMakeFortranCompilerABI.F -quiet -dumpbase CMakeFortranCompilerABI.F -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_e84e4.dir/CMakeFortranCompilerABI.F.o -version -fintrinsic-modules-path /usr/lib/gcc/x86_64-redhat-linux/9/finclude -o /tmp/ccS1c0iq.s GNU Fortran (GCC) version 9.3.1 20200408 (Red Hat 9.3.1-2) (x86_64-redhat-linux) compiled by GNU C version 9.3.1 20200408 (Red Hat 9.3.1-2), GMP version 6.1.2, MPFR version 3.1.6-p2, MPC version 1.1.0, isl version isl-0.16.1-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/9/include-fixed" ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/9/../../../../x86_64-redhat-linux/include" #include "..." search starts here: #include <...> search starts here: /usr/lib/gcc/x86_64-redhat-linux/9/finclude /usr/lib/gcc/x86_64-redhat-linux/9/include /usr/local/include /usr/include End of search list. GNU Fortran2008 (GCC) version 9.3.1 20200408 (Red Hat 9.3.1-2) (x86_64-redhat-linux) compiled by GNU C version 9.3.1 20200408 (Red Hat 9.3.1-2), GMP version 6.1.2, MPFR version 3.1.6-p2, MPC version 1.1.0, isl version isl-0.16.1-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 COLLECT_GCC_OPTIONS='-v' '-c' '-o' 'CMakeFiles/cmTC_e84e4.dir/CMakeFortranCompilerABI.F.o' '-mtune=generic' '-march=x86-64' as -v --64 -o CMakeFiles/cmTC_e84e4.dir/CMakeFortranCompilerABI.F.o /tmp/ccS1c0iq.s GNU assembler version 2.31.1 (x86_64-redhat-linux) using BFD version version 2.31.1-37.fc30 COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/9/:/usr/libexec/gcc/x86_64-redhat-linux/9/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/9/:/usr/lib/gcc/x86_64-redhat-linux/ LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/9/:/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/9/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-c' '-o' 'CMakeFiles/cmTC_e84e4.dir/CMakeFortranCompilerABI.F.o' '-mtune=generic' '-march=x86-64' Linking Fortran executable cmTC_e84e4 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e84e4.dir/link.txt --verbose=1 /usr/bin/gfortran -v CMakeFiles/cmTC_e84e4.dir/CMakeFortranCompilerABI.F.o -o cmTC_e84e4 Driving: /usr/bin/gfortran -v CMakeFiles/cmTC_e84e4.dir/CMakeFortranCompilerABI.F.o -o cmTC_e84e4 -l gfortran -l m -shared-libgcc Using built-in specs. COLLECT_GCC=/usr/bin/gfortran COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/9/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC) Reading specs from /usr/lib/gcc/x86_64-redhat-linux/9/libgfortran.spec rename spec lib to liborig COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e84e4' '-shared-libgcc' '-mtune=generic' '-march=x86-64' COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/9/:/usr/libexec/gcc/x86_64-redhat-linux/9/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/9/:/usr/lib/gcc/x86_64-redhat-linux/ LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/9/:/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/9/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e84e4' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /usr/libexec/gcc/x86_64-redhat-linux/9/collect2 -plugin /usr/libexec/gcc/x86_64-redhat-linux/9/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccJI3Dua.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_e84e4 /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/9/crtbegin.o -L/usr/lib/gcc/x86_64-redhat-linux/9 -L/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/9/../../.. CMakeFiles/cmTC_e84e4.dir/CMakeFortranCompilerABI.F.o -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-redhat-linux/9/crtend.o /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crtn.o COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e84e4' '-shared-libgcc' '-mtune=generic' '-march=x86-64' gmake[1]: Leaving directory '/students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp' Parsed Fortran implicit include dir info from above output: rv=done found start of include info found start of implicit include info add: [/usr/lib/gcc/x86_64-redhat-linux/9/finclude] add: [/usr/lib/gcc/x86_64-redhat-linux/9/include] add: [/usr/local/include] add: [/usr/include] end of search list found collapse include dir [/usr/lib/gcc/x86_64-redhat-linux/9/finclude] ==> [/usr/lib/gcc/x86_64-redhat-linux/9/finclude] collapse include dir [/usr/lib/gcc/x86_64-redhat-linux/9/include] ==> [/usr/lib/gcc/x86_64-redhat-linux/9/include] collapse include dir [/usr/local/include] ==> [/usr/local/include] collapse include dir [/usr/include] ==> [/usr/include] implicit include dirs: [/usr/lib/gcc/x86_64-redhat-linux/9/finclude;/usr/lib/gcc/x86_64-redhat-linux/9/include;/usr/local/include;/usr/include] Parsed Fortran implicit link information from above output: link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] ignore line: [Change Dir: /students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp] ignore line: [] ignore line: [Run Build Command(s):/usr/bin/gmake cmTC_e84e4/fast && /usr/bin/gmake -f CMakeFiles/cmTC_e84e4.dir/build.make CMakeFiles/cmTC_e84e4.dir/build] ignore line: [gmake[1]: Entering directory '/students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp'] ignore line: [Building Fortran object CMakeFiles/cmTC_e84e4.dir/CMakeFortranCompilerABI.F.o] ignore line: [/usr/bin/gfortran -v -c /usr/share/cmake/Modules/CMakeFortranCompilerABI.F -o CMakeFiles/cmTC_e84e4.dir/CMakeFortranCompilerABI.F.o] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/usr/bin/gfortran] ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none] ignore line: [OFFLOAD_TARGET_DEFAULT=1] ignore line: [Target: x86_64-redhat-linux] ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran objc obj-c++ ada go d lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux] ignore line: [Thread model: posix] ignore line: [gcc version 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC) ] ignore line: [COLLECT_GCC_OPTIONS='-v' '-c' '-o' 'CMakeFiles/cmTC_e84e4.dir/CMakeFortranCompilerABI.F.o' '-mtune=generic' '-march=x86-64'] ignore line: [ /usr/libexec/gcc/x86_64-redhat-linux/9/f951 /usr/share/cmake/Modules/CMakeFortranCompilerABI.F -ffixed-form -cpp=/tmp/ccYuFry1.f90 -quiet -v /usr/share/cmake/Modules/CMakeFortranCompilerABI.F -quiet -dumpbase CMakeFortranCompilerABI.F -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_e84e4.dir/CMakeFortranCompilerABI.F.o -version -fintrinsic-modules-path /usr/lib/gcc/x86_64-redhat-linux/9/finclude -o /tmp/ccS1c0iq.s] ignore line: [GNU Fortran (GCC) version 9.3.1 20200408 (Red Hat 9.3.1-2) (x86_64-redhat-linux)] ignore line: [ compiled by GNU C version 9.3.1 20200408 (Red Hat 9.3.1-2) GMP version 6.1.2 MPFR version 3.1.6-p2 MPC version 1.1.0 isl version isl-0.16.1-GMP] ignore line: [] ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/9/include-fixed"] ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/9/../../../../x86_64-redhat-linux/include"] ignore line: [#include "..." search starts here:] ignore line: [#include <...> search starts here:] ignore line: [ /usr/lib/gcc/x86_64-redhat-linux/9/finclude] ignore line: [ /usr/lib/gcc/x86_64-redhat-linux/9/include] ignore line: [ /usr/local/include] ignore line: [ /usr/include] ignore line: [End of search list.] ignore line: [GNU Fortran2008 (GCC) version 9.3.1 20200408 (Red Hat 9.3.1-2) (x86_64-redhat-linux)] ignore line: [ compiled by GNU C version 9.3.1 20200408 (Red Hat 9.3.1-2) GMP version 6.1.2 MPFR version 3.1.6-p2 MPC version 1.1.0 isl version isl-0.16.1-GMP] ignore line: [] ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] ignore line: [COLLECT_GCC_OPTIONS='-v' '-c' '-o' 'CMakeFiles/cmTC_e84e4.dir/CMakeFortranCompilerABI.F.o' '-mtune=generic' '-march=x86-64'] ignore line: [ as -v --64 -o CMakeFiles/cmTC_e84e4.dir/CMakeFortranCompilerABI.F.o /tmp/ccS1c0iq.s] ignore line: [GNU assembler version 2.31.1 (x86_64-redhat-linux) using BFD version version 2.31.1-37.fc30] ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/9/:/usr/libexec/gcc/x86_64-redhat-linux/9/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/9/:/usr/lib/gcc/x86_64-redhat-linux/] ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/9/:/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/9/../../../:/lib/:/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-v' '-c' '-o' 'CMakeFiles/cmTC_e84e4.dir/CMakeFortranCompilerABI.F.o' '-mtune=generic' '-march=x86-64'] ignore line: [Linking Fortran executable cmTC_e84e4] ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e84e4.dir/link.txt --verbose=1] ignore line: [/usr/bin/gfortran -v CMakeFiles/cmTC_e84e4.dir/CMakeFortranCompilerABI.F.o -o cmTC_e84e4 ] ignore line: [Driving: /usr/bin/gfortran -v CMakeFiles/cmTC_e84e4.dir/CMakeFortranCompilerABI.F.o -o cmTC_e84e4 -l gfortran -l m -shared-libgcc] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/usr/bin/gfortran] ignore line: [COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/9/lto-wrapper] ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none] ignore line: [OFFLOAD_TARGET_DEFAULT=1] ignore line: [Target: x86_64-redhat-linux] ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran objc obj-c++ ada go d lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux] ignore line: [Thread model: posix] ignore line: [gcc version 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC) ] ignore line: [Reading specs from /usr/lib/gcc/x86_64-redhat-linux/9/libgfortran.spec] ignore line: [rename spec lib to liborig] ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e84e4' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/9/:/usr/libexec/gcc/x86_64-redhat-linux/9/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/9/:/usr/lib/gcc/x86_64-redhat-linux/] ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/9/:/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/9/../../../:/lib/:/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e84e4' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] link line: [ /usr/libexec/gcc/x86_64-redhat-linux/9/collect2 -plugin /usr/libexec/gcc/x86_64-redhat-linux/9/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccJI3Dua.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_e84e4 /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/9/crtbegin.o -L/usr/lib/gcc/x86_64-redhat-linux/9 -L/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/9/../../.. CMakeFiles/cmTC_e84e4.dir/CMakeFortranCompilerABI.F.o -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-redhat-linux/9/crtend.o /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crtn.o] arg [/usr/libexec/gcc/x86_64-redhat-linux/9/collect2] ==> ignore arg [-plugin] ==> ignore arg [/usr/libexec/gcc/x86_64-redhat-linux/9/liblto_plugin.so] ==> ignore arg [-plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/9/lto-wrapper] ==> ignore arg [-plugin-opt=-fresolution=/tmp/ccJI3Dua.res] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [-plugin-opt=-pass-through=-lquadmath] ==> ignore arg [-plugin-opt=-pass-through=-lm] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [-plugin-opt=-pass-through=-lc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [--build-id] ==> ignore arg [--no-add-needed] ==> ignore arg [--eh-frame-hdr] ==> ignore arg [--hash-style=gnu] ==> ignore arg [-m] ==> ignore arg [elf_x86_64] ==> ignore arg [-dynamic-linker] ==> ignore arg [/lib64/ld-linux-x86-64.so.2] ==> ignore arg [-o] ==> ignore arg [cmTC_e84e4] ==> ignore arg [/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crt1.o] ==> ignore arg [/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crti.o] ==> ignore arg [/usr/lib/gcc/x86_64-redhat-linux/9/crtbegin.o] ==> ignore arg [-L/usr/lib/gcc/x86_64-redhat-linux/9] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/9] arg [-L/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64] arg [-L/lib/../lib64] ==> dir [/lib/../lib64] arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64] arg [-L/usr/lib/gcc/x86_64-redhat-linux/9/../../..] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/9/../../..] arg [CMakeFiles/cmTC_e84e4.dir/CMakeFortranCompilerABI.F.o] ==> ignore arg [-lgfortran] ==> lib [gfortran] arg [-lm] ==> lib [m] arg [-lgcc_s] ==> lib [gcc_s] arg [-lgcc] ==> lib [gcc] arg [-lquadmath] ==> lib [quadmath] arg [-lm] ==> lib [m] arg [-lgcc_s] ==> lib [gcc_s] arg [-lgcc] ==> lib [gcc] arg [-lc] ==> lib [c] arg [-lgcc_s] ==> lib [gcc_s] arg [-lgcc] ==> lib [gcc] arg [/usr/lib/gcc/x86_64-redhat-linux/9/crtend.o] ==> ignore arg [/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crtn.o] ==> ignore collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/9] ==> [/usr/lib/gcc/x86_64-redhat-linux/9] collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64] ==> [/usr/lib64] collapse library dir [/lib/../lib64] ==> [/lib64] collapse library dir [/usr/lib/../lib64] ==> [/usr/lib64] collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/9/../../..] ==> [/usr/lib] implicit libs: [gfortran;m;gcc_s;gcc;quadmath;m;gcc_s;gcc;c;gcc_s;gcc] implicit dirs: [/usr/lib/gcc/x86_64-redhat-linux/9;/usr/lib64;/lib64;/usr/lib] implicit fwks: [] Determining if the Fortran compiler supports Fortran 90 passed with the following output: Change Dir: /students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_d598a/fast && /usr/bin/gmake -f CMakeFiles/cmTC_d598a.dir/build.make CMakeFiles/cmTC_d598a.dir/build gmake[1]: Entering directory '/students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp' Building Fortran object CMakeFiles/cmTC_d598a.dir/testFortranCompilerF90.f90.o /usr/bin/gfortran -c /students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp/testFortranCompilerF90.f90 -o CMakeFiles/cmTC_d598a.dir/testFortranCompilerF90.f90.o Linking Fortran executable cmTC_d598a /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d598a.dir/link.txt --verbose=1 /usr/bin/gfortran CMakeFiles/cmTC_d598a.dir/testFortranCompilerF90.f90.o -o cmTC_d598a gmake[1]: Leaving directory '/students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/CMakeTmp' ``` **Mutation++ make output**
/usr/bin/cmake -S/students/phd_ar/anfuso/Documents/Mutationpp -B/students/phd_ar/anfuso/Documents/Mutationpp/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles /students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
make  -f src/CMakeFiles/mutation++.dir/build.make src/CMakeFiles/mutation++.dir/depend
make[2]: Entering directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
cd /students/phd_ar/anfuso/Documents/Mutationpp/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /students/phd_ar/anfuso/Documents/Mutationpp /students/phd_ar/anfuso/Documents/Mutationpp/src /students/phd_ar/anfuso/Documents/Mutationpp/build /students/phd_ar/anfuso/Documents/Mutationpp/build/src /students/phd_ar/anfuso/Documents/Mutationpp/build/src/CMakeFiles/mutation++.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
make  -f src/CMakeFiles/mutation++.dir/build.make src/CMakeFiles/mutation++.dir/build
make[2]: Entering directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
make[2]: Nothing to be done for 'src/CMakeFiles/mutation++.dir/build'.
make[2]: Leaving directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
[ 87%] Built target mutation++
make  -f interface/fortran/CMakeFiles/mutation++_fortran.dir/build.make interface/fortran/CMakeFiles/mutation++_fortran.dir/depend
make[2]: Entering directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
cd /students/phd_ar/anfuso/Documents/Mutationpp/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /students/phd_ar/anfuso/Documents/Mutationpp /students/phd_ar/anfuso/Documents/Mutationpp/interface/fortran /students/phd_ar/anfuso/Documents/Mutationpp/build /students/phd_ar/anfuso/Documents/Mutationpp/build/interface/fortran /students/phd_ar/anfuso/Documents/Mutationpp/build/interface/fortran/CMakeFiles/mutation++_fortran.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
make  -f interface/fortran/CMakeFiles/mutation++_fortran.dir/build.make interface/fortran/CMakeFiles/mutation++_fortran.dir/build
make[2]: Entering directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
make[2]: Nothing to be done for 'interface/fortran/CMakeFiles/mutation++_fortran.dir/build'.
make[2]: Leaving directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
[ 90%] Built target mutation++_fortran
make  -f src/apps/CMakeFiles/mppequil.dir/build.make src/apps/CMakeFiles/mppequil.dir/depend
make[2]: Entering directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
cd /students/phd_ar/anfuso/Documents/Mutationpp/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /students/phd_ar/anfuso/Documents/Mutationpp /students/phd_ar/anfuso/Documents/Mutationpp/src/apps /students/phd_ar/anfuso/Documents/Mutationpp/build /students/phd_ar/anfuso/Documents/Mutationpp/build/src/apps /students/phd_ar/anfuso/Documents/Mutationpp/build/src/apps/CMakeFiles/mppequil.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
make  -f src/apps/CMakeFiles/mppequil.dir/build.make src/apps/CMakeFiles/mppequil.dir/build
make[2]: Entering directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
make[2]: Nothing to be done for 'src/apps/CMakeFiles/mppequil.dir/build'.
make[2]: Leaving directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
[ 93%] Built target mppequil
make  -f src/apps/CMakeFiles/checkmix.dir/build.make src/apps/CMakeFiles/checkmix.dir/depend
make[2]: Entering directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
cd /students/phd_ar/anfuso/Documents/Mutationpp/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /students/phd_ar/anfuso/Documents/Mutationpp /students/phd_ar/anfuso/Documents/Mutationpp/src/apps /students/phd_ar/anfuso/Documents/Mutationpp/build /students/phd_ar/anfuso/Documents/Mutationpp/build/src/apps /students/phd_ar/anfuso/Documents/Mutationpp/build/src/apps/CMakeFiles/checkmix.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
make  -f src/apps/CMakeFiles/checkmix.dir/build.make src/apps/CMakeFiles/checkmix.dir/build
make[2]: Entering directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
make[2]: Nothing to be done for 'src/apps/CMakeFiles/checkmix.dir/build'.
make[2]: Leaving directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
[ 95%] Built target checkmix
make  -f src/apps/CMakeFiles/bprime.dir/build.make src/apps/CMakeFiles/bprime.dir/depend
make[2]: Entering directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
cd /students/phd_ar/anfuso/Documents/Mutationpp/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /students/phd_ar/anfuso/Documents/Mutationpp /students/phd_ar/anfuso/Documents/Mutationpp/src/apps /students/phd_ar/anfuso/Documents/Mutationpp/build /students/phd_ar/anfuso/Documents/Mutationpp/build/src/apps /students/phd_ar/anfuso/Documents/Mutationpp/build/src/apps/CMakeFiles/bprime.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
make  -f src/apps/CMakeFiles/bprime.dir/build.make src/apps/CMakeFiles/bprime.dir/build
make[2]: Entering directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
make[2]: Nothing to be done for 'src/apps/CMakeFiles/bprime.dir/build'.
make[2]: Leaving directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
[ 97%] Built target bprime
make  -f src/apps/CMakeFiles/mppshock.dir/build.make src/apps/CMakeFiles/mppshock.dir/depend
make[2]: Entering directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
cd /students/phd_ar/anfuso/Documents/Mutationpp/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /students/phd_ar/anfuso/Documents/Mutationpp /students/phd_ar/anfuso/Documents/Mutationpp/src/apps /students/phd_ar/anfuso/Documents/Mutationpp/build /students/phd_ar/anfuso/Documents/Mutationpp/build/src/apps /students/phd_ar/anfuso/Documents/Mutationpp/build/src/apps/CMakeFiles/mppshock.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
make  -f src/apps/CMakeFiles/mppshock.dir/build.make src/apps/CMakeFiles/mppshock.dir/build
make[2]: Entering directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
make[2]: Nothing to be done for 'src/apps/CMakeFiles/mppshock.dir/build'.
make[2]: Leaving directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
[100%] Built target mppshock
make[1]: Leaving directory '/students/phd_ar/anfuso/Documents/Mutationpp/build'
/usr/bin/cmake -E cmake_progress_start /students/phd_ar/anfuso/Documents/Mutationpp/build/CMakeFiles 0

Your software build steps

mkdir build
cd buil
ccmake ../
make -j 4 install

Steps to reproduce

The problem is when I run the "make -j 4 install " and I get the following error at the end of the installation

/usr/bin/ld: cannot find -lmutation++_fortran
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/stagline.dir/build.make:4019: stagline] Error 1
make[1]: *** [CMakeFiles/Makefile2:1058: CMakeFiles/stagline.dir/all] Error 2
make: *** [Makefile:150: all] Error 2

Comments

Hi Ruben, we have discussed something similar in #176. The coupling procedure is still the old one but it should work (at least it worked on my personal laptop). The fact is that I am trying to install the code in one of the VKI machine. Mutation++ seems correctly installed. stagline.zip

rdbisme commented 2 years ago

Hello, as I told in the previous thread, you should follow the modern way of including CMake dependencies in the code (and I see you don't do that in stagline). More info here and this file

https://github.com/mutationpp/Mutationpp/issues/176#issuecomment-922830695

enrico1193 commented 2 years ago

Hi Rube, yes indeed I have tried to adapt the CMakeList file of stagline. Then I follow the standard procedure: 1) mkdir build 2) cd build 3) cmake ../

and I get the following error at line 51 of the CMakeList file: "Target "mutation++::fortran_interfaces" not found"

stagline.zip

rdbisme commented 2 years ago

Absolutely sure you are using the latest version of Mutation?

enrico1193 commented 2 years ago

Yes definitely. I reinstalled mutation++ a few days ago downloading the code from here (Git)

rdbisme commented 2 years ago
# Basic setup of project and minimum required CMake version
cmake_minimum_required(VERSION 2.6)
project(VKI_Stagnation_Line)
enable_language(Fortran)

# Library options
option(GOTO_BLAS "compile the GOTO BLAS library" OFF)
option(NITROGEN_PARK "include support for the Nitrogen chemistry library of Park" OFF)
option(NITROGEN_NASA "include support for the Nitrogen chemistry library of NASA" OFF)
option(NITROGEN_BARI "include support for the Nitrogen chemistry library of Bari" OFF)
option(NITROGEN_FHO  "include support for the Nitrogen FHO chemistry library" OFF)
option(NITROGEN_TTLTH "include support for the Nitrogen TTLTH chemistry library" OFF)
option(NITROGEN_DSMC "include support for the Nitrogen DSMC chemistry library" OFF)
option(ARGON_CR "include support for the Argon CR library" OFF)
option(POLYAT_GAS_WCU "include support for the POLYAT_GAS_WCU chemistry library" OFF)
option(MUTATIONPP "include support for the Mutation++ library" ON)
option(CARBONABLA "include support for the ablative boundary conditions" ON)

# Descend into the src directory to build all targets and libraries
add_subdirectory(src)
# Mutation++ directories
set(MPP_INSTALL_DIR "" CACHE PATH "Mutation++ installation directory")
if (${MUTATIONPP} MATCHES "ON")

        list(APPEND CMAKE_MODULE_PATH "$ENV{MPP_DIRECTORY}/thirdparty/eigen")

        if(NOT TARGET mutation++::fortran_interface)
            find_package(mutation++ REQUIRED)
        endif()

        if(Eigen3_FOUND AND NOT TARGET Eigen3::Eigen)
            add_library(Eigen3::Eigen INTERFACE IMPORTED)
            set_target_properties(Eigen3::Eigen PROPERTIES
                INTERFACE_INCLUDE_DIRECTORIES "${EIGEN3_INCLUDE_DIRS}"
            )
        endif()

endif()

# Main executable
get_property(stagline_SRCS GLOBAL PROPERTY stagline_SRCS)
set_source_files_properties(${stagline_SRCS} PROPERTIES COMPILE_FLAGS -cpp)
add_executable(stagline ${stagline_SRCS})

if (${MUTATIONPP} MATCHES "ON")
        target_link_libraries(stagline
            PRIVATE
                mutation++::fortran_interface
        )
        target_include_directories(stagline
            PUBLIC
                $<TARGET_PROPERTY:mutation++::fortran_interface,Fortran_MODULE_DIRECTORY>
        )           
endif()

# BLAS
set (BLASS_LIB_PATH "" CACHE FILEPATH "The BLAS library file")
if (${GOTO_BLAS} MATCHES "ON")
    target_link_libraries(stagline ${BLASS_LIB_PATH})
endif()

# Installation
set(CMAKE_INSTALL_PREFIX ${CMAKE_CURRENT_SOURCE_DIR})
install(TARGETS stagline DESTINATION bin)

# Doxygen generated documentation
option (BUILD_DOCUMENTATION 
    "Use Doxygen to create the HTML based API documentation" OFF)

if (BUILD_DOCUMENTATION)
    FIND_PACKAGE(Doxygen)

    if (NOT DOXYGEN_FOUND)
        message(FATAL_ERROR 
            "Doxygen is needed to build the documentation. Please install it 
             correctly")
    endif()
    # Configure the Template Doxyfile for our specific project
    configure_file(Doxyfile.in 
                    ${PROJECT_BINARY_DIR}/Doxyfile  @ONLY IMMEDIATE)
    # Add a custom target to run Doxygen when ever the project is built
    add_custom_target (docs
        COMMAND ${DOXYGEN_EXECUTABLE} ${PROJECT_BINARY_DIR}/Doxyfile
        SOURCES ${PROJECT_BINARY_DIR}/Doxyfile)
endif()

with this it starts the build as expected. You added an s to interfaces that shouldn't be there.

$<TARGET_PROPERTY:mutation++::fortran_interface,Fortran_MODULE_DIRECTORY>
enrico1193 commented 2 years ago

Thanks a lot, Ruben really!!!