Skip to content
Snippets Groups Projects
Commit a8cc17cc authored by Debolskiy Andrey's avatar Debolskiy Andrey :bicyclist_tone5:
Browse files

debuging

parent c5ef1c69
No related branches found
No related tags found
No related merge requests found
......@@ -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})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment