From d6b18079fdd3f31a4a5dbc367ffef502ad413c56 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Tue, 30 Jan 2024 07:37:13 -0500 Subject: [PATCH] Add `-fopenmp` for OpenMP support with cray-cray --- components/mpas-framework/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/mpas-framework/Makefile b/components/mpas-framework/Makefile index 9dd1f6d82cbf..e2a0f3ff3649 100644 --- a/components/mpas-framework/Makefile +++ b/components/mpas-framework/Makefile @@ -462,8 +462,8 @@ cray-cray: "CFLAGS_DEBUG = -O0 -g" \ "CXXFLAGS_DEBUG = -O0 -g" \ "LDFLAGS_DEBUG = -O0 -g -Ktrap=divz,fp,inv,ovf" \ - "FFLAGS_OMP = -h omp" \ - "CFLAGS_OMP = -h omp" \ + "FFLAGS_OMP = -homp -fopenmp" \ + "CFLAGS_OMP = -homp -fopenmp" \ "PICFLAG = -f pic" \ "BUILD_TARGET = $(@)" \ "CORE = $(CORE)" \