From f9fcef18c6324e6ee9b049354059f029535fac37 Mon Sep 17 00:00:00 2001
From: Debolskiy Andrey <and.debol@gmail.com>
Date: Sun, 12 Nov 2023 14:10:00 +0300
Subject: [PATCH] debuging

---
 cluster_configs/ifa-cluster.cmake | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cluster_configs/ifa-cluster.cmake b/cluster_configs/ifa-cluster.cmake
index 2cf134d..0c1d0da 100644
--- a/cluster_configs/ifa-cluster.cmake
+++ b/cluster_configs/ifa-cluster.cmake
@@ -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
-- 
GitLab