diff --git a/cluster_configs/ifa-cluster.cmake b/cluster_configs/ifa-cluster.cmake index e89de3cca9b49d64858e2c8343305e2ac35d71e7..2cf134d9a67e7102ff8a642c1136c8bff72d95a9 100644 --- a/cluster_configs/ifa-cluster.cmake +++ b/cluster_configs/ifa-cluster.cmake @@ -3,8 +3,8 @@ #NETCDF support if (USE_NETCDF) - set(CUSTOM_NETCDF false FORCE) - find_package(Net_CDFCxx) + set(CUSTOM_NETCDF false FORCE) + find_package(Net_CDFCxx) endif() @@ -35,21 +35,21 @@ if ( compiler_lc STREQUAL "gnu") set(CMAKE_CXX_COMPILER mpicxx CACHE STRING "CXX compiler" FORCE) # C++ compiler for parallel build set(CMAKE_Fortran_COMPILER mpifort CACHE STRING "Fortran compiler" FORCE) # Fortran compiler for parallel build endif() - set(comp_flags " -O3 -fno-strict-aliasing -funroll-loops -march=native -std=c++0x " CACHE STRING FORCE) + set(comp_flags " -O3 -fno-strict-aliasing -funroll-loops -march=native -std=c++0x " CACHE STRING "comp_flags to add" FORCE) endif() #specify stuff for run-script -set(cluster_queue "epyc" CACHE STRING FORCE) +set(cluster_queue "epyc" CACHE STRING "queue" FORCE) if ( compiler_lc STREQUAL "intel" OR compiler_lc STREQUAL "intel_oneapi") - set(run_exec "srun -u") - set(prerun_env_export "module load mpi/impi && export I_MPI_PMI_LIBRARY=/usr/lib64/libpmi.so" CACHE STRING FORCE) + set(run_exec "srun -u" CACHE STRING "exec run" FORCE) + set(prerun_env_export "module load mpi/impi && export I_MPI_PMI_LIBRARY=/usr/lib64/libpmi.so" CACHE STRING "prerun exports" FORCE) endif() if ( compiler_lc STREQUAL "gnu") - set(run_exec "mpirun" CACHE STRING FORCE) - set(prerun_env_export "module load mpi/OpenMPI" CACHE STRING FORCE) + set(run_exec "mpirun" CACHE STRING "exec run" FORCE) + set(prerun_env_export "module load mpi/OpenMPI" CACHE STRING "prerun exports" FORCE) endif () message("prerun exprots:" ${prerun_env_export}) message("run executable is:" ${run_exec})