CMake and DFTB+
Trying to use the "full" toolchain in the MPSD cluster lead to the following CMake error
-- [Octopus.FindnetCDF-Fortran.Octopus_FindPackage] Checking for one of the modules 'netcdf-fortran'
CMake Error at /opt_mpsd/linux-debian12/25a/skylake_avx512/spack/opt/spack/linux-debian12-skylake_avx512/gcc-13.2.0/dftbplus-23.1-ofhd75bgdovv7kqxjcryp5osoeocywqe/lib/cmake/dftbplus/dftbplus-config.cmake:52 (add_library):
add_library cannot create imported target "OpenMP::OpenMP_Fortran" because
another target with the same name already exists.
Call Stack (most recent call first):
cmake/Octopus.cmake:98 (find_package)
cmake/FindDftbPlus.cmake:23 (Octopus_FindPackage)
CMakeLists.txt:275 (find_package)
@AlexBuccheri @hmenke @martin.lueders Any clue if this is a DFTB+ problem or an Octopus problem? Also, can we fix it (easily)?