diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c526b573a..c3e698e7f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -64,13 +64,12 @@ endif() option(ENABLE_OPENACC "compile with OpenACC support" OFF) message(STATUS "ENABLE_OPENACC: ${ENABLE_OPENACC}") -option(DISABLE_OPENACC_ATOMICS "disable kernels using atomic statement for reproducible results" ON) -set(GPU_COMPUTE_CAPABILITY "cc80" CACHE STRING "GPU arch for nvfortran compiler (cc35,cc50,cc60,cc70,cc80,...)") -set(GPU_FLAGS "cuda12.2,${GPU_COMPUTE_CAPABILITY}" CACHE STRING "GPU arch for nvfortran compiler (cc35,cc50,cc60,cc70,cc80,...)") + +set(NV_GPU_ARCH "cc80" CACHE STRING "GPU arch for nvfortran compiler (cc35,cc50,cc60,cc70,cc80,...)") option(ENABLE_OPENMP "build FESOM with OpenMP" OFF) message(STATUS "ENABLE_OPENMP: ${ENABLE_OPENMP}") -if(${ENABLE_OPENMP}) +if(ENABLE_OPENMP) find_package(OpenMP REQUIRED COMPONENTS Fortran) endif() @@ -187,7 +186,7 @@ target_include_directories(${PROJECT_NAME} PUBLIC $