From 25efcb2b27a9fc512e032ccfa39ee076b9801a06 Mon Sep 17 00:00:00 2001 From: Chris Blanton Date: Wed, 22 Mar 2023 15:48:05 -0400 Subject: [PATCH] #42 Like the other C5 templates, nvhpc requires -DHAVE_GETTID --- templates/ncrc-nvhpc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/ncrc-nvhpc.mk b/templates/ncrc-nvhpc.mk index da71f8b..c69f8e0 100644 --- a/templates/ncrc-nvhpc.mk +++ b/templates/ncrc-nvhpc.mk @@ -81,7 +81,7 @@ endif CPPDEFS += -Duse_netCDF # Additional Preprocessor Macros needed due to Autotools and CMake -CPPDEFS += -DHAVE_SCHED_GETAFFINITY +CPPDEFS += -DHAVE_SCHED_GETAFFINITY -DHAVE_GETTID # Macro for Fortran preprocessor FPPFLAGS := $(INCLUDES)