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

fixed if statemnets

parent 69b527be
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ endif()
#specify stuff for run-script
set(cluster_queue "epyc")
if ( ${compiler_lc} STREQUAL "intel" OR ${compiler_lc} STREQUAL "intel_oneapi")
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")
endif()
......
......@@ -4,7 +4,7 @@
#NETCDF support
if (USE_NETCDF)
set(CUSTOM_NETCDF true)
if ( ${compiler_lc} STREQUAL "intel" OR ${compiler_lc} STREQUAL "intel_oneapi")
if ( compiler_lc STREQUAL "intel" OR compiler_lc STREQUAL "intel_oneapi")
set(NETCDF_PATH "/opt/ohpc/pub/libs/intel/impi/netcdf/4.9.0/")
set(NETCDF_INC "${NETCDF_PATH}include")
set(NETCDF_LIB "${NETCDF_PATH}lib")
......
......@@ -4,7 +4,7 @@
#NETCDF support
if (USE_NETCDF)
set(CUSTOM_NETCDF true)
if ( ${compiler_lc} STREQUAL "intel" OR ${compiler_lc} STREQUAL "intel_oneapi")
if ( compiler_lc STREQUAL "intel" OR compiler_lc STREQUAL "intel_oneapi")
set(NETCDF_PATH "/opt/ohpc/pub/libs/intel/impi/netcdf/4.9.0/")
set(NETCDF_INC "${NETCDF_PATH}include")
set(NETCDF_LIB "${NETCDF_PATH}lib")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment