Skip to content

Commit

Permalink
Fix target in CMakeLists.txt for OMP SCC STACK
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSt98 committed Oct 16, 2024
1 parent 937d1e8 commit 43176fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cloudsc_gpu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,9 @@ if ( HAVE_CLOUDSC_GPU_OMP_SCC_STACK )
)

if( CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
target_compile_options( dwarf-cloudsc-gpu-scc-stack PRIVATE "-fcray-pointer" )
target_compile_options( dwarf-cloudsc-gpu-omp-scc-stack PRIVATE "-fcray-pointer" )
elseif( CMAKE_Fortran_COMPILER_ID MATCHES "NVHPC" OR CMAKE_Fortran_COMPILER_ID MATCHES "PGI" )
target_compile_options( dwarf-cloudsc-gpu-scc-stack PRIVATE "-Mcray=pointer" )
target_compile_options( dwarf-cloudsc-gpu-omp-scc-stack PRIVATE "-Mcray=pointer" )
endif()

ecbuild_add_test(
Expand Down

0 comments on commit 43176fe

Please sign in to comment.