Problem during installation in a closed system

Dear Allpix Squared developers,

Happy New Year 2022 for everybody.

I’m trying to install the last version of Allpix-Squared in a closed system (a cluster), where it is not possible to download any code/data from internet via git, for instance. This means that I’m obliged to download the code first in another computer and then to copy it there via scp.

I have previously installed Geant4 & ROOT6 with the following cmake options:

cmake -DCMAKE_INSTALL_PREFIX=../geant4.10.07-install/ -DGEANT4_INSTALL_DATA=OFF -DGEANT4_USE_GDML=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_XM=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_TBB=OFF -DGEANT4_USE_SYSTEM_CLHEP=OFF ../geant4.10.07.p03

cmake -DCMAKE_INSTALL_PREFIX=../root6.24.06-install -DCMAKE_CXX_STANDARD=17 -DVDT_INCLUDE_DIR=/ccc/products/vdt-0.4.3/system/default/include -DVDT_LIBRARY=/ccc/products/vdt-0.4.3/system/default/lib -Dclad=OFF -Dxrootd=OFF -Dimt=OFF -Dbuiltin_tbb=OFF ../root6.24.06

During the installation of ALLPIX squared, the configuration step (cmake …) works ok:

[iguazguf@topaze170 build]$ cmake -DEigen3_DIR=/ccc/products/eigen-3.3.9/system/default/share/eigen3/cmake ..
-- Source tarball build - no repository present, appending last commit for reference.
-- Building Allpix^2 version v2.0.0-395-ge0a0ba6fb-tar.
-- Building "RelWithDebInfo"
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.14") found components: doxygen dot
-- Found LATEX: /usr/bin/latex
-- Found LaTeX compiler.
-- Found UnixCommands: /usr/bin/bash
-- I could not find the biber command.
-- Manual: adding 28 module descriptions
-- Manual: adding 13 example descriptions
CMake Warning at doc/CMakeLists.txt:172 (MESSAGE):
  No biber command, cannot compile user manual.


-- The CXX compiler identification is GNU 8.4.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CXX_FLAG_WORKS__pedantic
-- Performing Test CXX_FLAG_WORKS__pedantic - Success
-- Performing Test CXX_FLAG_WORKS__Wall
-- Performing Test CXX_FLAG_WORKS__Wall - Success
-- Performing Test CXX_FLAG_WORKS__Wextra
-- Performing Test CXX_FLAG_WORKS__Wextra - Success
-- Performing Test CXX_FLAG_WORKS__Wcast_align
-- Performing Test CXX_FLAG_WORKS__Wcast_align - Success
-- Performing Test CXX_FLAG_WORKS__Wcast_qual
-- Performing Test CXX_FLAG_WORKS__Wcast_qual - Success
-- Performing Test CXX_FLAG_WORKS__Wconversion
-- Performing Test CXX_FLAG_WORKS__Wconversion - Success
-- Performing Test CXX_FLAG_WORKS__Wuseless_cast
-- Performing Test CXX_FLAG_WORKS__Wuseless_cast - Success
-- Performing Test CXX_FLAG_WORKS__Wctor_dtor_privacy
-- Performing Test CXX_FLAG_WORKS__Wctor_dtor_privacy - Success
-- Performing Test CXX_FLAG_WORKS__Wzero_as_null_pointer_constant
-- Performing Test CXX_FLAG_WORKS__Wzero_as_null_pointer_constant - Success
-- Performing Test CXX_FLAG_WORKS__Wdisabled_optimization
-- Performing Test CXX_FLAG_WORKS__Wdisabled_optimization - Success
-- Performing Test CXX_FLAG_WORKS__WformatE2
-- Performing Test CXX_FLAG_WORKS__WformatE2 - Success
-- Performing Test CXX_FLAG_WORKS__Winit_self
-- Performing Test CXX_FLAG_WORKS__Winit_self - Success
-- Performing Test CXX_FLAG_WORKS__Wlogical_op
-- Performing Test CXX_FLAG_WORKS__Wlogical_op - Success
-- Performing Test CXX_FLAG_WORKS__Wmissing_declarations
-- Performing Test CXX_FLAG_WORKS__Wmissing_declarations - Success
-- Performing Test CXX_FLAG_WORKS__Wmissing_include_dirs
-- Performing Test CXX_FLAG_WORKS__Wmissing_include_dirs - Success
-- Performing Test CXX_FLAG_WORKS__Wnoexcept
-- Performing Test CXX_FLAG_WORKS__Wnoexcept - Success
-- Performing Test CXX_FLAG_WORKS__Wold_style_cast
-- Performing Test CXX_FLAG_WORKS__Wold_style_cast - Success
-- Performing Test CXX_FLAG_WORKS__Wredundant_decls
-- Performing Test CXX_FLAG_WORKS__Wredundant_decls - Success
-- Performing Test CXX_FLAG_WORKS__Wsign_conversion
-- Performing Test CXX_FLAG_WORKS__Wsign_conversion - Success
-- Performing Test CXX_FLAG_WORKS__Wsign_promo
-- Performing Test CXX_FLAG_WORKS__Wsign_promo - Success
-- Performing Test CXX_FLAG_WORKS__Wstrict_null_sentinel
-- Performing Test CXX_FLAG_WORKS__Wstrict_null_sentinel - Success
-- Performing Test CXX_FLAG_WORKS__Wstrict_overflowE5
-- Performing Test CXX_FLAG_WORKS__Wstrict_overflowE5 - Success
-- Performing Test CXX_FLAG_WORKS__Wswitch_default
-- Performing Test CXX_FLAG_WORKS__Wswitch_default - Success
-- Performing Test CXX_FLAG_WORKS__Wundef
-- Performing Test CXX_FLAG_WORKS__Wundef - Success
-- Performing Test CXX_FLAG_WORKS__Wshadow
-- Performing Test CXX_FLAG_WORKS__Wshadow - Success
-- Performing Test CXX_FLAG_WORKS__Wformat_security
-- Performing Test CXX_FLAG_WORKS__Wformat_security - Success
-- Performing Test CXX_FLAG_WORKS__Wdeprecated
-- Performing Test CXX_FLAG_WORKS__Wdeprecated - Success
-- Performing Test CXX_FLAG_WORKS__fdiagnostics_colorEauto
-- Performing Test CXX_FLAG_WORKS__fdiagnostics_colorEauto - Success
-- Performing Test CXX_FLAG_WORKS__Wheader_hygiene
-- Performing Test CXX_FLAG_WORKS__Wheader_hygiene - Failed
-- NOT adding -Wheader-hygiene to CXX_FLAGS - unsupported flag
-- Performing Test CXX_FLAG_WORKS__Wno_overloaded_virtual
-- Performing Test CXX_FLAG_WORKS__Wno_overloaded_virtual - Success
-- Performing Test SUPPORT_STD_CXX17
-- Performing Test SUPPORT_STD_CXX17 - Success
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Boost: /ccc/products/boost-1.74.0/intel--20.0.0__openmpi--4.0.1/default/lib/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.64.0") found components: random
-- Could only find version 11 of clang-format, but version 12 is required.
-- Could NOT check for clang-tidy, wrong compiler: GNU
-- Unit tests: 17 examples
-- Building module ON   - CSADigitizer
-- Building module ON   - CapacitiveTransfer
-- Building module ON   - CorryvreckanWriter
-- Building module OFF  - DatabaseWriter
-- Building module ON   - DefaultDigitizer
-- Building module ON   - DepositionCosmics
-- The C compiler identification is GNU 8.4.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found EXPAT: /usr/lib64/libexpat.so (found suitable version "2.2.5", minimum required is "2.2.5")
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found XercesC: /usr/lib64/libxerces-c.so (found suitable version "3.2.2", minimum required is "3.2.2")
-- Found OpenGL: /usr/lib64/libOpenGL.so
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found Motif: /usr/lib64/libXm.so
-- Building module ON   - DepositionGeant4
-- Building module ON   - DepositionPointCharge
-- Building module ON   - DepositionReader
-- Building module ON   - DetectorHistogrammer
-- Building module ON   - DopingProfileReader
-- Building module ON   - Dummy
-- Building module ON   - ElectricFieldReader
-- Building module ON   - GDMLOutputWriter
-- Building module ON   - GenericPropagation
-- Building module ON   - GeometryBuilderGeant4
-- Building module ON   - InducedTransfer
-- Building module OFF  - LCIOWriter
-- Building module ON   - MagneticFieldReader
-- Building module ON   - ProjectionPropagation
-- Building module ON   - PulseTransfer
-- Building module ON   - RCEWriter
-- Building module ON   - ROOTObjectReader
-- Building module ON   - ROOTObjectWriter
-- Building module ON   - SimpleTransfer
-- Building module ON   - TextWriter
-- Building module ON   - TransientPropagation
-- Building module ON   - VisualizationGeant4
-- Building module ON   - WeightingPotentialReader
-- Building Geant4 Interface
-- Unit tests: 69 framework core functionality tests
-- Unit tests: 103 module functionality tests
-- Modules without functionality tests:
--    Dummy
--    GDMLOutputWriter
--    InducedTransfer
--    TransientPropagation
--    VisualizationGeant4
-- Unit tests: 5 performance tests
-- Configuring done
-- Generating done
-- Build files have been written to: /ccc/cont003/home/soleil/iguazguf/allpix-squared/build

But the compilation doesn’t.

[iguazguf@topaze170 build]$ make
[  0%] Generating AllpixObjectsDictionary.cxx, libAllpixObjects_rdict.pcm, libAllpixObjects.rootmap
Scanning dependencies of target AllpixObjects
[  1%] Building CXX object src/objects/CMakeFiles/AllpixObjects.dir/Object.cpp.o
[  1%] Building CXX object src/objects/CMakeFiles/AllpixObjects.dir/Pixel.cpp.o
[  2%] Building CXX object src/objects/CMakeFiles/AllpixObjects.dir/SensorCharge.cpp.o
[  2%] Building CXX object src/objects/CMakeFiles/AllpixObjects.dir/Pulse.cpp.o
[  3%] Building CXX object src/objects/CMakeFiles/AllpixObjects.dir/PixelCharge.cpp.o
[  3%] Building CXX object src/objects/CMakeFiles/AllpixObjects.dir/DepositedCharge.cpp.o
[  4%] Building CXX object src/objects/CMakeFiles/AllpixObjects.dir/PropagatedCharge.cpp.o
[  4%] Building CXX object src/objects/CMakeFiles/AllpixObjects.dir/PixelHit.cpp.o
[  5%] Building CXX object src/objects/CMakeFiles/AllpixObjects.dir/MCParticle.cpp.o
[  5%] Building CXX object src/objects/CMakeFiles/AllpixObjects.dir/MCTrack.cpp.o
[  6%] Building CXX object src/objects/CMakeFiles/AllpixObjects.dir/AllpixObjectsDictionary.cxx.o
[  6%] Linking CXX shared library libAllpixObjects.so
Warning: Unused direct dependencies:
        /ccc/products/fakeintel-0.0.1/system/default/libfakeintel.so
        /ccc/products/ccc_users_env/compil/Rhel_8__x86_64/boost-1.74.0/intel--20.0.0__openmpi--4.0.1/default/lib/libboost_random.so.1.74.0
        /ccc/work/cont003/solcomm/solcomm/products/topaze/root6/root6.24.06-install/lib/libGenVector.so
        /ccc/work/cont003/solcomm/solcomm/products/topaze/root6/root6.24.06-install/lib/libGeom.so
        /ccc/work/cont003/solcomm/solcomm/products/topaze/root6/root6.24.06-install/lib/libHist.so
        /ccc/products/ccc_users_env/compil/Rhel_8__x86_64/boost-1.74.0/intel--20.0.0__openmpi--4.0.1/default/lib/libboost_system.so.1.74.0
        /ccc/work/cont003/solcomm/solcomm/products/topaze/root6/root6.24.06-install/lib/libRIO.so
        /ccc/work/cont003/solcomm/solcomm/products/topaze/root6/root6.24.06-install/lib/libMatrix.so
        /ccc/work/cont003/solcomm/solcomm/products/topaze/root6/root6.24.06-install/lib/libMathCore.so
        /ccc/work/cont003/solcomm/solcomm/products/topaze/root6/root6.24.06-install/lib/libThread.so
[  6%] Built target AllpixObjects
Scanning dependencies of target AllpixCore
[  6%] Building CXX object src/core/CMakeFiles/AllpixCore.dir/utils/log.cpp.o
[  7%] Building CXX object src/core/CMakeFiles/AllpixCore.dir/utils/text.cpp.o
[  7%] Building CXX object src/core/CMakeFiles/AllpixCore.dir/utils/unit.cpp.o
[  8%] Building CXX object src/core/CMakeFiles/AllpixCore.dir/module/Module.cpp.o
[  8%] Building CXX object src/core/CMakeFiles/AllpixCore.dir/module/Event.cpp.o
[  9%] Building CXX object src/core/CMakeFiles/AllpixCore.dir/module/ModuleManager.cpp.o
[  9%] Building CXX object src/core/CMakeFiles/AllpixCore.dir/module/ThreadPool.cpp.o
[ 10%] Building CXX object src/core/CMakeFiles/AllpixCore.dir/messenger/Messenger.cpp.o
[ 10%] Building CXX object src/core/CMakeFiles/AllpixCore.dir/messenger/Message.cpp.o
[ 11%] Building CXX object src/core/CMakeFiles/AllpixCore.dir/config/exceptions.cpp.o
[ 11%] Building CXX object src/core/CMakeFiles/AllpixCore.dir/config/Configuration.cpp.o
[ 12%] Building CXX object src/core/CMakeFiles/AllpixCore.dir/config/ConfigReader.cpp.o
[ 12%] Building CXX object src/core/CMakeFiles/AllpixCore.dir/config/ConfigManager.cpp.o
[ 13%] Building CXX object src/core/CMakeFiles/AllpixCore.dir/config/OptionParser.cpp.o
[ 13%] Building CXX object src/core/CMakeFiles/AllpixCore.dir/geometry/Detector.cpp.o
[ 14%] Building CXX object src/core/CMakeFiles/AllpixCore.dir/geometry/DetectorField.cpp.o
[ 14%] Building CXX object src/core/CMakeFiles/AllpixCore.dir/geometry/DetectorModel.cpp.o
[ 15%] Building CXX object src/core/CMakeFiles/AllpixCore.dir/geometry/PixelDetectorModel.cpp.o
[ 15%] Building CXX object src/core/CMakeFiles/AllpixCore.dir/geometry/GeometryManager.cpp.o
[ 16%] Building CXX object src/core/CMakeFiles/AllpixCore.dir/Allpix.cpp.o
[ 16%] Linking CXX shared library libAllpixCore.so
CMakeFiles/AllpixCore.dir/module/Module.cpp.o: In function `allpix::Module::createOutputFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
/usr/include/c++/8/bits/fs_path.h:178: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/include/c++/8/bits/fs_path.h:310: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/include/c++/8/bits/fs_path.h:185: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/include/c++/8/bits/fs_path.h:381: undefined reference to `std::filesystem::__cxx11::path::has_root_directory() const'
/usr/include/c++/8/bits/fs_path.h:185: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
CMakeFiles/AllpixCore.dir/module/Module.cpp.o: In function `allpix::Module::createOutputFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
/ccc/cont003/home/soleil/iguazguf/allpix-squared/src/core/module/Module.cpp:96: undefined reference to `std::filesystem::__cxx11::path::replace_extension(std::filesystem::__cxx11::path const&)'
CMakeFiles/AllpixCore.dir/module/Module.cpp.o: In function `allpix::Module::createOutputFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
/usr/include/c++/8/bits/fs_path.h:381: undefined reference to `std::filesystem::__cxx11::path::has_root_directory() const'
CMakeFiles/AllpixCore.dir/module/Module.cpp.o: In function `allpix::Module::createOutputFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
/ccc/cont003/home/soleil/iguazguf/allpix-squared/src/core/module/Module.cpp:99: undefined reference to `std::filesystem::__cxx11::path::parent_path() const'
/ccc/cont003/home/soleil/iguazguf/allpix-squared/src/core/module/Module.cpp:99: undefined reference to `std::filesystem::create_directories(std::filesystem::__cxx11::path const&)'
CMakeFiles/AllpixCore.dir/module/Module.cpp.o: In function `allpix::Module::createOutputFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
/usr/include/c++/8/bits/fs_ops.h:213: undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
/usr/include/c++/8/bits/fs_ops.h:171: undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
CMakeFiles/AllpixCore.dir/module/Module.cpp.o: In function `allpix::Module::createOutputFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
/ccc/cont003/home/soleil/iguazguf/allpix-squared/src/core/module/Module.cpp:123: undefined reference to `std::filesystem::canonical(std::filesystem::__cxx11::path const&)'
CMakeFiles/AllpixCore.dir/module/Module.cpp.o: In function `allpix::Module::createOutputFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
/usr/include/c++/8/bits/fs_path.h:310: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
CMakeFiles/AllpixCore.dir/module/Module.cpp.o: In function `allpix::Module::createOutputFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
/ccc/cont003/home/soleil/iguazguf/allpix-squared/src/core/module/Module.cpp:129: undefined reference to `std::filesystem::remove(std::filesystem::__cxx11::path const&)'
CMakeFiles/AllpixCore.dir/module/Module.cpp.o: In function `allpix::Module::createOutputFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
/usr/include/c++/8/bits/fs_path.h:178: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/include/c++/8/bits/fs_path.h:310: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/include/c++/8/bits/fs_path.h:258: undefined reference to `std::filesystem::__cxx11::path::has_filename() const'
/usr/include/c++/8/bits/fs_path.h:261: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
CMakeFiles/AllpixCore.dir/module/Module.cpp.o: In function `allpix::Module::createOutputFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
/ccc/cont003/home/soleil/iguazguf/allpix-squared/src/core/module/Module.cpp:108: undefined reference to `std::filesystem::remove(std::filesystem::__cxx11::path const&)'
CMakeFiles/AllpixCore.dir/module/Module.cpp.o: In function `std::filesystem::__cxx11::path::iterator std::__search<std::filesystem::__cxx11::path::iterator, std::filesystem::__cxx11::path::iterator, __gnu_cxx::__ops::_Iter_equal_to_iter>(std::filesystem::__cxx11::path::iterator, std::filesystem::__cxx11::path::iterator, std::filesystem::__cxx11::path::iterator, std::filesystem::__cxx11::path::iterator, __gnu_cxx::__ops::_Iter_equal_to_iter)':
/usr/include/c++/8/bits/fs_path.h:546: undefined reference to `std::filesystem::__cxx11::path::compare(std::filesystem::__cxx11::path const&) const'
/usr/include/c++/8/bits/fs_path.h:546: undefined reference to `std::filesystem::__cxx11::path::compare(std::filesystem::__cxx11::path const&) const'
/usr/include/c++/8/bits/fs_path.h:546: undefined reference to `std::filesystem::__cxx11::path::compare(std::filesystem::__cxx11::path const&) const'
CMakeFiles/AllpixCore.dir/module/Module.cpp.o:(.data.rel.local.DW.ref._ZTINSt10filesystem7__cxx1116filesystem_errorE[DW.ref._ZTINSt10filesystem7__cxx1116filesystem_errorE]+0x0): undefined reference to `typeinfo for std::filesystem::__cxx11::filesystem_error'
CMakeFiles/AllpixCore.dir/module/ModuleManager.cpp.o: In function `allpix::ModuleManager::load(allpix::Messenger*, allpix::ConfigManager*, allpix::GeometryManager*)':
/usr/include/c++/8/bits/fs_path.h:185: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/include/c++/8/bits/fs_path.h:185: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
CMakeFiles/AllpixCore.dir/module/ModuleManager.cpp.o: In function `allpix::ModuleManager::load(allpix::Messenger*, allpix::ConfigManager*, allpix::GeometryManager*)':
/ccc/cont003/home/soleil/iguazguf/allpix-squared/src/core/module/ModuleManager.cpp:72: undefined reference to `std::filesystem::__cxx11::path::replace_extension(std::filesystem::__cxx11::path const&)'
CMakeFiles/AllpixCore.dir/module/ModuleManager.cpp.o: In function `allpix::ModuleManager::load(allpix::Messenger*, allpix::ConfigManager*, allpix::GeometryManager*)':
/usr/include/c++/8/bits/fs_path.h:185: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
CMakeFiles/AllpixCore.dir/module/ModuleManager.cpp.o: In function `allpix::ModuleManager::load(allpix::Messenger*, allpix::ConfigManager*, allpix::GeometryManager*)':
/usr/include/c++/8/bits/fs_ops.h:213: undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
CMakeFiles/AllpixCore.dir/module/ModuleManager.cpp.o: In function `allpix::ModuleManager::load(allpix::Messenger*, allpix::ConfigManager*, allpix::GeometryManager*)':
/usr/include/c++/8/bits/fs_path.h:185: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
CMakeFiles/AllpixCore.dir/module/ModuleManager.cpp.o: In function `allpix::ModuleManager::load(allpix::Messenger*, allpix::ConfigManager*, allpix::GeometryManager*)':
/ccc/cont003/home/soleil/iguazguf/allpix-squared/src/core/module/ModuleManager.cpp:79: undefined reference to `std::filesystem::remove(std::filesystem::__cxx11::path const&)'
CMakeFiles/AllpixCore.dir/config/Configuration.cpp.o: In function `allpix::Configuration::path_to_absolute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool) const':
/usr/include/c++/8/bits/fs_path.h:185: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
CMakeFiles/AllpixCore.dir/config/Configuration.cpp.o: In function `allpix::Configuration::path_to_absolute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool) const':
/ccc/cont003/home/soleil/iguazguf/allpix-squared/src/core/config/Configuration.cpp:147: undefined reference to `std::filesystem::canonical(std::filesystem::__cxx11::path const&)'
CMakeFiles/AllpixCore.dir/config/Configuration.cpp.o: In function `allpix::Configuration::getPathWithExtension(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) const':
/usr/include/c++/8/bits/fs_path.h:178: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/include/c++/8/bits/fs_path.h:185: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
CMakeFiles/AllpixCore.dir/config/Configuration.cpp.o: In function `allpix::Configuration::getPathWithExtension(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) const':
/ccc/cont003/home/soleil/iguazguf/allpix-squared/src/core/config/Configuration.cpp:106: undefined reference to `std::filesystem::__cxx11::path::replace_extension(std::filesystem::__cxx11::path const&)'
CMakeFiles/AllpixCore.dir/config/ConfigReader.cpp.o: In function `allpix::ConfigReader::add(std::istream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
/usr/include/c++/8/bits/fs_path.h:185: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
CMakeFiles/AllpixCore.dir/config/ConfigReader.cpp.o: In function `allpix::ConfigReader::add(std::istream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
/ccc/cont003/home/soleil/iguazguf/allpix-squared/src/core/config/ConfigReader.cpp:104: undefined reference to `std::filesystem::canonical(std::filesystem::__cxx11::path const&)'
CMakeFiles/AllpixCore.dir/config/ConfigManager.cpp.o: In function `allpix::ConfigManager::ConfigManager(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::initializer_list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::initializer_list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >)':
/usr/include/c++/8/bits/fs_path.h:185: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
CMakeFiles/AllpixCore.dir/config/ConfigManager.cpp.o: In function `allpix::ConfigManager::ConfigManager(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::initializer_list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::initializer_list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >)':
/usr/include/c++/8/bits/fs_ops.h:213: undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
CMakeFiles/AllpixCore.dir/config/ConfigManager.cpp.o: In function `allpix::ConfigManager::ConfigManager(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::initializer_list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::initializer_list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >)':
/usr/include/c++/8/bits/fs_path.h:185: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
CMakeFiles/AllpixCore.dir/config/ConfigManager.cpp.o: In function `allpix::ConfigManager::ConfigManager(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::initializer_list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::initializer_list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >)':
/ccc/cont003/home/soleil/iguazguf/allpix-squared/src/core/config/ConfigManager.cpp:37: undefined reference to `std::filesystem::canonical(std::filesystem::__cxx11::path const&)'
CMakeFiles/AllpixCore.dir/geometry/GeometryManager.cpp.o: In function `allpix::GeometryManager::load_models()':
/usr/include/c++/8/bits/fs_path.h:185: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/include/c++/8/bits/fs_path.h:1053: undefined reference to `std::filesystem::__cxx11::path::_M_find_extension() const'
/usr/include/c++/8/bits/fs_path.h:185: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
CMakeFiles/AllpixCore.dir/geometry/GeometryManager.cpp.o: In function `allpix::GeometryManager::load_models()':
/usr/include/c++/8/bits/fs_ops.h:171: undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
CMakeFiles/AllpixCore.dir/geometry/GeometryManager.cpp.o: In function `allpix::GeometryManager::load_models()':
/usr/include/c++/8/bits/fs_path.h:178: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
CMakeFiles/AllpixCore.dir/geometry/GeometryManager.cpp.o: In function `allpix::GeometryManager::load_models()':
/usr/include/c++/8/bits/fs_dir.h:361: undefined reference to `std::filesystem::__cxx11::directory_iterator::directory_iterator(std::filesystem::__cxx11::path const&, std::filesystem::directory_options, std::error_code*)'
CMakeFiles/AllpixCore.dir/geometry/GeometryManager.cpp.o: In function `allpix::GeometryManager::load_models()':
/ccc/cont003/home/soleil/iguazguf/allpix-squared/src/core/geometry/GeometryManager.cpp:379: undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
/ccc/cont003/home/soleil/iguazguf/allpix-squared/src/core/geometry/GeometryManager.cpp:385: undefined reference to `std::filesystem::canonical(std::filesystem::__cxx11::path const&)'
CMakeFiles/AllpixCore.dir/geometry/GeometryManager.cpp.o: In function `allpix::GeometryManager::load_models()':
/usr/include/c++/8/bits/fs_path.h:1062: undefined reference to `std::filesystem::__cxx11::path::_M_find_extension() const'
/usr/include/c++/8/bits/fs_path.h:178: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/include/c++/8/bits/fs_path.h:546: undefined reference to `std::filesystem::__cxx11::path::compare(std::filesystem::__cxx11::path const&) const'
CMakeFiles/AllpixCore.dir/geometry/GeometryManager.cpp.o: In function `allpix::GeometryManager::load_models()':
/ccc/cont003/home/soleil/iguazguf/allpix-squared/src/core/geometry/GeometryManager.cpp:379: undefined reference to `std::filesystem::__cxx11::directory_iterator::operator++()'
CMakeFiles/AllpixCore.dir/geometry/GeometryManager.cpp.o: In function `allpix::GeometryManager::load_models()':
/usr/include/c++/8/bits/fs_dir.h:260: undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
CMakeFiles/AllpixCore.dir/geometry/GeometryManager.cpp.o: In function `allpix::GeometryManager::load(allpix::ConfigManager*, allpix::RandomNumberGenerator&)':
/usr/include/c++/8/bits/fs_path.h:185: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
CMakeFiles/AllpixCore.dir/geometry/GeometryManager.cpp.o: In function `allpix::GeometryManager::load(allpix::ConfigManager*, allpix::RandomNumberGenerator&)':
/usr/include/c++/8/bits/fs_ops.h:171: undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
CMakeFiles/AllpixCore.dir/geometry/GeometryManager.cpp.o: In function `allpix::GeometryManager::load(allpix::ConfigManager*, allpix::RandomNumberGenerator&)':
/usr/include/c++/8/bits/fs_path.h:185: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
CMakeFiles/AllpixCore.dir/geometry/GeometryManager.cpp.o: In function `allpix::GeometryManager::load(allpix::ConfigManager*, allpix::RandomNumberGenerator&)':
/usr/include/c++/8/bits/fs_ops.h:171: undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
CMakeFiles/AllpixCore.dir/geometry/GeometryManager.cpp.o: In function `std::filesystem::__cxx11::path::path<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::filesystem::__cxx11::path>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::filesystem::__cxx11::path::format)':
/usr/include/c++/8/bits/fs_path.h:185: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
CMakeFiles/AllpixCore.dir/geometry/GeometryManager.cpp.o: In function `std::filesystem::__cxx11::path::stem() const':
/usr/include/c++/8/bits/fs_path.h:1053: undefined reference to `std::filesystem::__cxx11::path::_M_find_extension() const'
/usr/include/c++/8/bits/fs_path.h:178: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
CMakeFiles/AllpixCore.dir/Allpix.cpp.o: In function `allpix::Allpix::load()':
/usr/include/c++/8/bits/fs_path.h:185: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
CMakeFiles/AllpixCore.dir/Allpix.cpp.o: In function `allpix::Allpix::load()':
/usr/include/c++/8/bits/fs_ops.h:171: undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
CMakeFiles/AllpixCore.dir/Allpix.cpp.o: In function `allpix::Allpix::load()':
/usr/include/c++/8/bits/fs_path.h:185: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
CMakeFiles/AllpixCore.dir/Allpix.cpp.o: In function `allpix::Allpix::load()':
/ccc/cont003/home/soleil/iguazguf/allpix-squared/src/core/Allpix.cpp:172: undefined reference to `std::filesystem::create_directories(std::filesystem::__cxx11::path const&)'
CMakeFiles/AllpixCore.dir/Allpix.cpp.o: In function `allpix::Allpix::load()':
/usr/include/c++/8/bits/fs_path.h:185: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
CMakeFiles/AllpixCore.dir/Allpix.cpp.o: In function `allpix::Allpix::load()':
/ccc/cont003/home/soleil/iguazguf/allpix-squared/src/core/Allpix.cpp:162: undefined reference to `std::filesystem::remove_all(std::filesystem::__cxx11::path const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [src/core/CMakeFiles/AllpixCore.dir/build.make:399: src/core/libAllpixCore.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:1247: src/core/CMakeFiles/AllpixCore.dir/all] Error 2
make: *** [Makefile:182: all] Error 2

I would like to ask you please a bit of help to find the origin of this error: a missing library? a wrong compilation option of GEANT4 or ROOT6, required for ALLPIX squared?

Many thanks in advance for any clue.

Best regards,

Paco Iguaz

Hi @iguaz ,

thanks for reporting this. We will look into this issue and come back to you soon.

One thing in advance: you are installing Geant4 with the flag -DGEANT4_INSTALL_DATA=OFF, as it’s a closed system. However, this flag is required to be ON for running Allpix Squared. This is however not related to the compilation errors you get.

Cheers
Paul

1 Like

Dear @pschutze,

many thanks for your answer and for looking into this issue.

In the meanwhile, I have just found a solution myself, using a more recent compiler (11.1.0) than before (8.4.1). I copy the output of the configuration step (cmake…) for your information:

[iguazguf@topaze170 build]$ cmake -DEigen3_DIR=/ccc/products/eigen-3.3.9/system/default/share/eigen3/cmake ..
-- Source tarball build - no repository present, appending last commit for reference.
-- Building Allpix^2 version v2.0.0-395-ge0a0ba6fb-tar.
-- Building "RelWithDebInfo"
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.14") found components: doxygen dot
-- Found LATEX: /usr/bin/latex
-- Found LaTeX compiler.
-- Found UnixCommands: /usr/bin/bash
-- I could not find the biber command.
-- Manual: adding 28 module descriptions
-- Manual: adding 13 example descriptions
CMake Warning at doc/CMakeLists.txt:172 (MESSAGE):
  No biber command, cannot compile user manual.


-- The CXX compiler identification is GNU 11.1.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /ccc/products/gcc-11.1.0/system/default/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CXX_FLAG_WORKS__pedantic
-- Performing Test CXX_FLAG_WORKS__pedantic - Success
-- Performing Test CXX_FLAG_WORKS__Wall
-- Performing Test CXX_FLAG_WORKS__Wall - Success
-- Performing Test CXX_FLAG_WORKS__Wextra
-- Performing Test CXX_FLAG_WORKS__Wextra - Success
-- Performing Test CXX_FLAG_WORKS__Wcast_align
-- Performing Test CXX_FLAG_WORKS__Wcast_align - Success
-- Performing Test CXX_FLAG_WORKS__Wcast_qual
-- Performing Test CXX_FLAG_WORKS__Wcast_qual - Success
-- Performing Test CXX_FLAG_WORKS__Wconversion
-- Performing Test CXX_FLAG_WORKS__Wconversion - Success
-- Performing Test CXX_FLAG_WORKS__Wuseless_cast
-- Performing Test CXX_FLAG_WORKS__Wuseless_cast - Success
-- Performing Test CXX_FLAG_WORKS__Wctor_dtor_privacy
-- Performing Test CXX_FLAG_WORKS__Wctor_dtor_privacy - Success
-- Performing Test CXX_FLAG_WORKS__Wzero_as_null_pointer_constant
-- Performing Test CXX_FLAG_WORKS__Wzero_as_null_pointer_constant - Success
-- Performing Test CXX_FLAG_WORKS__Wdisabled_optimization
-- Performing Test CXX_FLAG_WORKS__Wdisabled_optimization - Success
-- Performing Test CXX_FLAG_WORKS__WformatE2
-- Performing Test CXX_FLAG_WORKS__WformatE2 - Success
-- Performing Test CXX_FLAG_WORKS__Winit_self
-- Performing Test CXX_FLAG_WORKS__Winit_self - Success
-- Performing Test CXX_FLAG_WORKS__Wlogical_op
-- Performing Test CXX_FLAG_WORKS__Wlogical_op - Success
-- Performing Test CXX_FLAG_WORKS__Wmissing_declarations
-- Performing Test CXX_FLAG_WORKS__Wmissing_declarations - Success
-- Performing Test CXX_FLAG_WORKS__Wmissing_include_dirs
-- Performing Test CXX_FLAG_WORKS__Wmissing_include_dirs - Success
-- Performing Test CXX_FLAG_WORKS__Wnoexcept
-- Performing Test CXX_FLAG_WORKS__Wnoexcept - Success
-- Performing Test CXX_FLAG_WORKS__Wold_style_cast
-- Performing Test CXX_FLAG_WORKS__Wold_style_cast - Success
-- Performing Test CXX_FLAG_WORKS__Wredundant_decls
-- Performing Test CXX_FLAG_WORKS__Wredundant_decls - Success
-- Performing Test CXX_FLAG_WORKS__Wsign_conversion
-- Performing Test CXX_FLAG_WORKS__Wsign_conversion - Success
-- Performing Test CXX_FLAG_WORKS__Wsign_promo
-- Performing Test CXX_FLAG_WORKS__Wsign_promo - Success
-- Performing Test CXX_FLAG_WORKS__Wstrict_null_sentinel
-- Performing Test CXX_FLAG_WORKS__Wstrict_null_sentinel - Success
-- Performing Test CXX_FLAG_WORKS__Wstrict_overflowE5
-- Performing Test CXX_FLAG_WORKS__Wstrict_overflowE5 - Success
-- Performing Test CXX_FLAG_WORKS__Wswitch_default
-- Performing Test CXX_FLAG_WORKS__Wswitch_default - Success
-- Performing Test CXX_FLAG_WORKS__Wundef
-- Performing Test CXX_FLAG_WORKS__Wundef - Success
-- Performing Test CXX_FLAG_WORKS__Wshadow
-- Performing Test CXX_FLAG_WORKS__Wshadow - Success
-- Performing Test CXX_FLAG_WORKS__Wformat_security
-- Performing Test CXX_FLAG_WORKS__Wformat_security - Success
-- Performing Test CXX_FLAG_WORKS__Wdeprecated
-- Performing Test CXX_FLAG_WORKS__Wdeprecated - Success
-- Performing Test CXX_FLAG_WORKS__fdiagnostics_colorEauto
-- Performing Test CXX_FLAG_WORKS__fdiagnostics_colorEauto - Success
-- Performing Test CXX_FLAG_WORKS__Wheader_hygiene
-- Performing Test CXX_FLAG_WORKS__Wheader_hygiene - Failed
-- NOT adding -Wheader-hygiene to CXX_FLAGS - unsupported flag
-- Performing Test CXX_FLAG_WORKS__Wno_overloaded_virtual
-- Performing Test CXX_FLAG_WORKS__Wno_overloaded_virtual - Success
-- Performing Test SUPPORT_STD_CXX17
-- Performing Test SUPPORT_STD_CXX17 - Success
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Boost: /ccc/products/boost-1.74.0/intel--20.0.0__openmpi--4.0.1/default/lib/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.64.0") found components: random
-- Could only find version 11 of clang-format, but version 12 is required.
-- Could NOT check for clang-tidy, wrong compiler: GNU
-- Unit tests: 17 examples
-- Building module ON   - CSADigitizer
-- Building module ON   - CapacitiveTransfer
-- Building module ON   - CorryvreckanWriter
-- Building module OFF  - DatabaseWriter
-- Building module ON   - DefaultDigitizer
-- Building module ON   - DepositionCosmics
-- The C compiler identification is GNU 11.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /ccc/products/gcc-11.1.0/system/default/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found EXPAT: /usr/lib64/libexpat.so (found suitable version "2.2.5", minimum required is "2.2.5")
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found XercesC: /usr/lib64/libxerces-c.so (found suitable version "3.2.2", minimum required is "3.2.2")
-- Found OpenGL: /usr/lib64/libOpenGL.so
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found Motif: /usr/lib64/libXm.so
-- Building module ON   - DepositionGeant4
-- Building module ON   - DepositionPointCharge
-- Building module ON   - DepositionReader
-- Building module ON   - DetectorHistogrammer
-- Building module ON   - DopingProfileReader
-- Building module ON   - Dummy
-- Building module ON   - ElectricFieldReader
-- Building module ON   - GDMLOutputWriter
-- Building module ON   - GenericPropagation
-- Building module ON   - GeometryBuilderGeant4
-- Building module ON   - InducedTransfer
-- Building module OFF  - LCIOWriter
-- Building module ON   - MagneticFieldReader
-- Building module ON   - ProjectionPropagation
-- Building module ON   - PulseTransfer
-- Building module ON   - RCEWriter
-- Building module ON   - ROOTObjectReader
-- Building module ON   - ROOTObjectWriter
-- Building module ON   - SimpleTransfer
-- Building module ON   - TextWriter
-- Building module ON   - TransientPropagation
-- Building module ON   - VisualizationGeant4
-- Building module ON   - WeightingPotentialReader
-- Building Geant4 Interface
-- Unit tests: 69 framework core functionality tests
-- Unit tests: 103 module functionality tests
-- Modules without functionality tests:
--    Dummy
--    GDMLOutputWriter
--    InducedTransfer
--    TransientPropagation
--    VisualizationGeant4
-- Unit tests: 5 performance tests
-- Configuring done
-- Generating done
-- Build files have been written to: /ccc/cont003/home/soleil/iguazguf/allpix-squared/build

For your information, too, during the compilation step, some data for the module DepositionCosmics was searched in internet, blocking it to finish. To avoid this problem, I have copied the data folder from another computer with ALLPIX Squared installed:

cp -r data <allpix-squared_folder>/build/src/modules/DepositionCosmics/

Many thanks again for your time.

Best regards,

Paco Iguaz

Hi @iguaz ,

thanks for providing these additional details!

Cheers and good luck with the simulations
Paul

Hi @iguaz

thanks for reporting - the problem seems to be that for GCC 8.4 that you were using (which should be completely fine and have all the required features!) the std::filesystem library is shipped separately and needs to be linked explicitly to the relevant libraries via -lstdc++fs.

There is still an open issue with CMake (see Portable linking for C++17 std::filesystem (#17834) · Issues · CMake / CMake · GitLab) and I’ll investigate how we can make this work properly for us.

Best,
Simon