<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Dear DUNE developers,</div><div class=""><br class=""></div><div class="">I’m trying to install DUNE on my personal laptop, and I’m having troubles on the configuration phase.</div><div class=""><br class=""></div><div class="">My OS is macOS High Sierra. (I have updated my OS recently, then, my old mpi installation is probably not working, however, it seems to me that this problem is not related to that.)</div><div class=""><br class=""></div><div class="">The following, are the steps I’ve done so far to get the error shown at the end:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><div class="">mkdir DUNE</div></div><div class=""><div class="">cd DUNE</div></div><div class=""><div class="">git clone <a href="https://gitlab.dune-project.org/core/dune-common.git" class="">https://gitlab.dune-project.org/core/dune-common.git</a></div></div><div class=""><div class=""><br class=""></div></div><div class=""><div class="">echo "CMAKE_FLAGS=\"</div></div><div class=""><div class="">-DCMAKE_INSTALL_PREFIX=~/Codes/DUNE/install</div></div><div class=""><div class="">-DCMAKE_CXX_COMPILER='/usr/bin/c++'</div></div><div class=""><div class="">\"</div></div><div class=""><div class="">" > install.opts</div></div><div class=""><div class=""><br class=""></div></div><div class=""><div class="">ROOT_DIR=$(pwd)</div></div><div class=""><div class="">OPTS_FILE=$ROOT_DIR/install.opts</div></div><div class=""><div class="">BUILD_DIR=$ROOT_DIR/build</div></div><div class=""><div class=""><br class=""></div></div><div class=""><div class="">./dune-common/bin/dunecontrol --opts=${OPTS_FILE} --builddir=${BUILD_DIR} all</div></div></blockquote><div class=""><br class=""></div><div class="">OUTPUT:</div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><br class="">----- using default flags $CMAKE_FLAGS from /Users/soilros/Codes/DUNE/install.opts -----<br class="">--- going to build dune-common  ---<br class="">--- calling all for dune-common ---<br class="">--- calling vcsetup for dune-common ---<br class="">--- calling configure for dune-common ---<br class="">find: dune: No such file or directory<br class=""> cmake   -DCMAKE_INSTALL_PREFIX=~/Codes/DUNE/install -DCMAKE_CXX_COMPILER='/usr/bin/c++' "/Users/soilros/Codes/DUNE/dune-common"<br class="">-- The C compiler identification is AppleClang 8.1.0.8020041<br class="">-- The CXX compiler identification is AppleClang 8.1.0.8020041<br class="">-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc<br class="">-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works<br class="">-- Detecting C compiler ABI info<br class="">-- Detecting C compiler ABI info - done<br class="">-- Detecting C compile features<br class="">-- Detecting C compile features - done<br class="">-- Check for working CXX compiler: /usr/bin/c++<br class="">-- Check for working CXX compiler: /usr/bin/c++ -- works<br class="">-- Detecting CXX compiler ABI info<br class="">-- Detecting CXX compiler ABI info - done<br class="">-- Detecting CXX compile features<br class="">-- Detecting CXX compile features - done<br class="">-- The Fortran compiler identification is GNU 7.1.0<br class="">-- Checking whether Fortran compiler has -isysroot<br class="">-- Checking whether Fortran compiler has -isysroot - yes<br class="">-- Checking whether Fortran compiler supports OSX deployment target flag<br class="">-- Checking whether Fortran compiler supports OSX deployment target flag - yes<br class="">-- Check for working Fortran compiler: /usr/local/bin/gfortran<br class="">-- Check for working Fortran compiler: /usr/local/bin/gfortran  -- works<br class="">-- Detecting Fortran compiler ABI info<br class="">-- Detecting Fortran compiler ABI info - done<br class="">-- Checking whether /usr/local/bin/gfortran supports Fortran 90<br class="">-- Checking whether /usr/local/bin/gfortran supports Fortran 90 -- yes<br class="">-- Performing Test cxx_std_flag_17<br class="">-- Performing Test cxx_std_flag_17 - Failed<br class="">-- Performing Test cxx_std_flag_1z<br class="">-- Performing Test cxx_std_flag_1z - Success<br class="">-- Performing Test compiler_supports_cxx17<br class="">-- Performing Test compiler_supports_cxx17 - Success<br class="">-- Performing Test HAS_ATTRIBUTE_UNUSED<br class="">-- Performing Test HAS_ATTRIBUTE_UNUSED - Success<br class="">-- Performing Test HAS_ATTRIBUTE_DEPRECATED<br class="">-- Performing Test HAS_ATTRIBUTE_DEPRECATED - Success<br class="">-- Performing Test HAS_ATTRIBUTE_DEPRECATED_MSG<br class="">-- Performing Test HAS_ATTRIBUTE_DEPRECATED_MSG - Success<br class="">-- Performing Test HAVE_IS_INDEXABLE_SUPPORT<br class="">-- Performing Test HAVE_IS_INDEXABLE_SUPPORT - Success<br class="">-- Performing Test DUNE_HAVE_CXX_CLASS_TEMPLATE_ARGUMENT_DEDUCTION<br class="">-- Performing Test DUNE_HAVE_CXX_CLASS_TEMPLATE_ARGUMENT_DEDUCTION - Failed<br class="">-- Performing Test DUNE_HAVE_CXX_OPTIONAL<br class="">-- Performing Test DUNE_HAVE_CXX_OPTIONAL - Failed<br class="">-- Looking for pthread.h<br class="">-- Looking for pthread.h - found<br class="">-- Looking for pthread_create<br class="">-- Looking for pthread_create - found<br class="">-- Found Threads: TRUE  <br class="">-- Performing Test STDTHREAD_WORKS<br class="">-- Performing Test STDTHREAD_WORKS - Success<br class="">-- Performing Test DUNE_SUPPORTS_CXX_THROW_IN_CONSTEXPR<br class="">-- Performing Test DUNE_SUPPORTS_CXX_THROW_IN_CONSTEXPR - Success<br class="">-- Looking for C++ include experimental/type_traits<br class="">-- Looking for C++ include experimental/type_traits - found<br class="">-- Looking for std::make_unique<int><br class="">-- Looking for std::make_unique<int> - found<br class="">-- Looking for std::move<std::bool_constant<true>><br class="">-- Looking for std::move<std::bool_constant<true>> - found<br class="">-- Looking for std::apply<std::negate<int>,std::tuple<int>><br class="">-- Looking for std::apply<std::negate<int>,std::tuple<int>> - not found<br class="">-- Looking for std::experimental::apply<std::negate<int>,std::tuple<int>><br class="">-- Looking for std::experimental::apply<std::negate<int>,std::tuple<int>> - found<br class="">-- Looking for std::experimental::make_array<int,int><br class="">-- Looking for std::experimental::make_array<int,int> - not found<br class="">-- Looking for std::move<std::experimental::detected_t<std::decay_t,int>><br class="">-- Looking for std::move<std::experimental::detected_t<std::decay_t,int>> - not found<br class="">-- Performing Test HAVE_CXA_DEMANGLE<br class="">-- Performing Test HAVE_CXA_DEMANGLE - Success<br class="">-- Found MPI_C: /usr/local/Cellar/open-mpi/2.0.1/lib/libmpi.dylib  <br class="">-- Found MPI_CXX: /usr/local/Cellar/open-mpi/2.0.1/lib/libmpi.dylib  <br class="">-- Found MPI_Fortran: /usr/local/Cellar/open-mpi/2.0.1/lib/libmpi_usempif08.dylib;/usr/local/Cellar/open-mpi/2.0.1/lib/libmpi_usempi_ignore_tkr.dylib;/usr/local/Cellar/open-mpi/2.0.1/lib/libmpi_mpifh.dylib;/usr/local/Cellar/open-mpi/2.0.1/lib/libmpi.dylib  <br class="">-- Detecting Fortran/C Interface<br class="">-- Detecting Fortran/C Interface - Failed to compile<br class="">-- Verifying Fortran/CXX Compiler Compatibility<br class="">CMake Warning (dev) at /Applications/CMake.app/Contents/share/cmake-3.8/Modules/FortranCInterface.cmake:309 (message):<br class="">  No FortranCInterface mangling known for VerifyFortran<br class="">Call Stack (most recent call first):<br class="">  /Applications/CMake.app/Contents/share/cmake-3.8/Modules/FortranCInterface/Verify/CMakeLists.txt:16 (FortranCInterface_HEADER)<br class="">This warning is for project developers.  Use -Wno-dev to suppress it.<br class="">-- Verifying Fortran/CXX Compiler Compatibility - Failed<br class="">CMake Error at /Applications/CMake.app/Contents/share/cmake-3.8/Modules/FortranCInterface.cmake:383 (message):<br class="">  The Fortran compiler:<br class="">    /usr/local/bin/gfortran<br class="">  and the CXX compiler:<br class="">    /usr/bin/c++<br class="">  failed to compile a simple test project using both languages.  The output<br class="">  was:<br class="">    Change Dir: /Users/soilros/Codes/DUNE/build/dune-common/CMakeFiles/FortranCInterface/VerifyCXX<br class="">    <br class="">    Run Build Command:"/usr/bin/make" "VerifyFortranC"<br class="">    /Applications/CMake.app/Contents/bin/cmake -H/Applications/CMake.app/Contents/share/cmake-3.8/Modules/FortranCInterface/Verify -B/Users/soilros/Codes/DUNE/build/dune-common/CMakeFiles/FortranCInterface/VerifyCXX --check-build-system CMakeFiles/Makefile.cmake 0<br class="">    /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 VerifyFortranC<br class="">    /Applications/CMake.app/Contents/bin/cmake -H/Applications/CMake.app/Contents/share/cmake-3.8/Modules/FortranCInterface/Verify -B/Users/soilros/Codes/DUNE/build/dune-common/CMakeFiles/FortranCInterface/VerifyCXX --check-build-system CMakeFiles/Makefile.cmake 0<br class="">    /Applications/CMake.app/Contents/bin/cmake -E cmake_progress_start /Users/soilros/Codes/DUNE/build/dune-common/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles 6<br class="">    /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 CMakeFiles/VerifyFortranC.dir/all<br class="">    /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/depend<br class="">    cd /Users/soilros/Codes/DUNE/build/dune-common/CMakeFiles/FortranCInterface/VerifyCXX && /Applications/CMake.app/Contents/bin/cmake -E cmake_depends "Unix Makefiles" /Applications/CMake.app/Contents/share/cmake-3.8/Modules/FortranCInterface/Verify /Applications/CMake.app/Contents/share/cmake-3.8/Modules/FortranCInterface/Verify /Users/soilros/Codes/DUNE/build/dune-common/CMakeFiles/FortranCInterface/VerifyCXX /Users/soilros/Codes/DUNE/build/dune-common/CMakeFiles/FortranCInterface/VerifyCXX /Users/soilros/Codes/DUNE/build/dune-common/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles/VerifyFortran.dir/DependInfo.cmake<br class="">    Scanning dependencies of target VerifyFortran<br class="">    /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/requires<br class="">    make[3]: Nothing to be done for `CMakeFiles/VerifyFortran.dir/requires'.<br class="">    /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/build<br class="">    [ 16%] Building Fortran object CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o<br class="">    /usr/local/bin/gfortran -DVERIFY_CXX -I/Users/soilros/Codes/DUNE/build/dune-common/CMakeFiles/FortranCInterface/VerifyCXX  -O3 -DNDEBUG -O3 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk   -c /Applications/CMake.app/Contents/share/cmake-3.8/Modules/FortranCInterface/Verify/VerifyFortran.f -o CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o<br class="">    [ 33%] Linking Fortran static library libVerifyFortran.a<br class="">    /Applications/CMake.app/Contents/bin/cmake -P CMakeFiles/VerifyFortran.dir/cmake_clean_target.cmake<br class="">    /Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortran.dir/link.txt --verbose=1<br class="">    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar qc libVerifyFortran.a  CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o<br class="">    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib libVerifyFortran.a<br class="">    [ 33%] Built target VerifyFortran<br class="">    /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/depend<br class="">    cd /Users/soilros/Codes/DUNE/build/dune-common/CMakeFiles/FortranCInterface/VerifyCXX && /Applications/CMake.app/Contents/bin/cmake -E cmake_depends "Unix Makefiles" /Applications/CMake.app/Contents/share/cmake-3.8/Modules/FortranCInterface/Verify /Applications/CMake.app/Contents/share/cmake-3.8/Modules/FortranCInterface/Verify /Users/soilros/Codes/DUNE/build/dune-common/CMakeFiles/FortranCInterface/VerifyCXX /Users/soilros/Codes/DUNE/build/dune-common/CMakeFiles/FortranCInterface/VerifyCXX /Users/soilros/Codes/DUNE/build/dune-common/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles/VerifyFortranC.dir/DependInfo.cmake<br class="">    Scanning dependencies of target VerifyFortranC<br class="">    /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/build<br class="">    [ 50%] Building C object CMakeFiles/VerifyFortranC.dir/main.c.o<br class="">    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DVERIFY_CXX -I/Users/soilros/Codes/DUNE/build/dune-common/CMakeFiles/FortranCInterface/VerifyCXX  -O3 -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk   -o CMakeFiles/VerifyFortranC.dir/main.c.o   -c /Applications/CMake.app/Contents/share/cmake-3.8/Modules/FortranCInterface/Verify/main.c<br class="">    [ 66%] Building C object CMakeFiles/VerifyFortranC.dir/VerifyC.c.o<br class="">    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DVERIFY_CXX -I/Users/soilros/Codes/DUNE/build/dune-common/CMakeFiles/FortranCInterface/VerifyCXX  -O3 -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk   -o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o   -c /Applications/CMake.app/Contents/share/cmake-3.8/Modules/FortranCInterface/Verify/VerifyC.c<br class="">    [ 83%] Building CXX object CMakeFiles/VerifyFortranC.dir/VerifyCXX.cxx.o<br class="">    /usr/bin/c++  -DVERIFY_CXX -I/Users/soilros/Codes/DUNE/build/dune-common/CMakeFiles/FortranCInterface/VerifyCXX  -std=c++1z -O3 -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk   -o CMakeFiles/VerifyFortranC.dir/VerifyCXX.cxx.o -c /Applications/CMake.app/Contents/share/cmake-3.8/Modules/FortranCInterface/Verify/VerifyCXX.cxx<br class="">    [100%] Linking CXX executable VerifyFortranC<br class="">    /Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortranC.dir/link.txt --verbose=1<br class="">    /usr/bin/c++  -std=c++1z -O3 -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names  CMakeFiles/VerifyFortranC.dir/main.c.o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o CMakeFiles/VerifyFortranC.dir/VerifyCXX.cxx.o  -o VerifyFortranC  -L/usr/local/Cellar/gcc/7.1.0/lib/gcc/7/gcc/x86_64-apple-darwin16.5.0/7.1.0  -L/usr/local/Cellar/gcc/7.1.0/lib/gcc/7 libVerifyFortran.a -lgfortran -lquadmath -lm <br class="">    Undefined symbols for architecture x86_64:<br class="">      "_VerifyFortran", referenced from:<br class="">          _main in main.c.o<br class="">    ld: symbol(s) not found for architecture x86_64<br class="">    clang: error: linker command failed with exit code 1 (use -v to see invocation)<br class="">    make[3]: *** [VerifyFortranC] Error 1<br class="">    make[2]: *** [CMakeFiles/VerifyFortranC.dir/all] Error 2<br class="">    make[1]: *** [CMakeFiles/VerifyFortranC.dir/rule] Error 2<br class="">    make: *** [VerifyFortranC] Error 2<br class="">    <br class="">Call Stack (most recent call first):<br class="">  cmake/modules/DuneMacros.cmake:707 (FortranCInterface_VERIFY)<br class="">  CMakeLists.txt:17 (dune_project)<br class=""><br class="">-- Configuring incomplete, errors occurred!<br class="">See also "/Users/soilros/Codes/DUNE/build/dune-common/CMakeFiles/CMakeOutput.log".<br class="">See also "/Users/soilros/Codes/DUNE/build/dune-common/CMakeFiles/CMakeError.log".<br class="">--- Failed to build dune-common ---<br class="">Terminating dunecontrol due to previous errors!</blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><br class=""></blockquote>Thanks,<div class="">Santiago O.</div></body></html>