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

debuging

parent a8cc17cc
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ if (USE_NETCDF)
endif()
if ( compiler_lc STREQUAL "intel")
if ( COMPILER STREQUAL "intel")
if (NO_MPI)
set(CMAKE_C_COMPILER icc CACHE STRING "C compiler" FORCE) # C compiler for serial build
set(CMAKE_CXX_COMPILER c++ CACHE STRING "CXX compiler" FORCE) # C++ compiler for serial build
......@@ -21,11 +21,11 @@ if ( compiler_lc STREQUAL "intel")
set(comp_flags " -restrict -alias-const -parallel -funroll-loops -no-ansi-alias -mavx -fma " CACHE STRING FORCE)
endif()
if ( compiler_lc STREQUAL "intel_oneapi")
if ( COMPILER STREQUAL "intel_oneapi")
messege(ERROR "ONEAPI is not supported on IFA cluster")
endif()
if ( compiler_lc STREQUAL "gnu")
if ( COMPILER STREQUAL "gnu")
if (NO_MPI)
set(CMAKE_C_COMPILER gcc CACHE STRING "C compiler" FORCE) # C compiler for serial build
set(CMAKE_CXX_COMPILER g++ CACHE STRING "CXX compiler" FORCE) # C++ compiler for serial build
......
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