Browse Source

Update Cray compiler options and calling convention

tags/v0.3.29
Martin Kroeker GitHub 10 months ago
parent
commit
cea9df3643
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      cmake/fc.cmake

+ 4
- 2
cmake/fc.cmake View File

@@ -257,13 +257,15 @@ if (${F_COMPILER} STREQUAL "COMPAQ")
endif ()

if (${F_COMPILER} STREQUAL "CRAY")
set(CCOMMON_OPT "${CCOMMON_OPT} -DF_INTERFACE_INTEL")
set(CCOMMON_OPT "${CCOMMON_OPT} -DF_INTERFACE_CRAYFC")
set(FCOMMON_OPT "${FCOMMON_OPT} -hnopattern")
if (INTERFACE64)
set (FCOMMON_OPT "${FCOMMON_OPT} -s integer64")
endif ()
if (NOT USE_OPENMP)
set(FCOMMON_OPT "${FCOMMON_OPT} -O noomp")
set(FCOMMON_OPT "${FCOMMON_OPT} -fno-openmp")
else ()
set(FCOMMON_OPT "${FCOMMON_OPT} -fopenmp")
endif ()
endif ()



Loading…
Cancel
Save