Compile problems on cosma6 and cosma7
When trying to compile swift the compilation runs into problems and doesn't complete.
I am compiling with this configuration (for cosma6, on cosma7 I use fftw/3.3.9cosma7 and don't have the last statement):
./configure --with-kernel=wendland-C2 --with-subgrid=FLAMINGO --with-parmetis --enable-mpi-mesh-gravity --with-fftw=/cosma/local/fftw//gnu_7.3.0_intel_mpi_2018/3.3.7/
This is on a clean clone after running autogen with the following list of modules:
1) intel_comp/2021.1.0 5) dpl/latest 9) intel_mpi/2018 13) gsl/2.5 2) tbb/latest 6) /cosma/local/intel/oneAPI_2021.1.0/compiler/2021.1.1/linux/lib/oclfpga/modulefiles/init_opencl 10) ucx/1.8.1 3) debugger/latest 7) /cosma/local/intel/oneAPI_2021.1.0/compiler/2021.1.1/linux/lib/oclfpga/modulefiles/oclfpga 11) parmetis/4.0.3-64bit 4) compiler-rt/latest 8) compiler/latest 12) parallel_hdf5/1.10.6
The error:
swift-main.o: In function `main':` main.c:(.text+0x48): undefined reference to `__kmpc_begin' main.c:(.text+0x64a): undefined reference to `__kmpc_end' main.c:(.text+0x689): undefined reference to `__kmpc_end' main.c:(.text+0x803): undefined reference to `__kmpc_end' main.c:(.text+0x862): undefined reference to `__kmpc_end' main.c:(.text+0x8b3): undefined reference to `__kmpc_end' swift-main.o:main.c:(.text+0x915): more undefined references to `__kmpc_end' follow make[2]: *** [swift] Error 1
This is all done using the SWIFT-BAHAMAS fork of the code.