From d521b548c916a492517f767e679cb9f4cc25ce2c Mon Sep 17 00:00:00 2001 From: Chris Blanton Date: Wed, 22 Mar 2023 15:26:48 -0400 Subject: [PATCH] #42 Like the other C5 templates, intel-classic requires -DHAVE_GETTID be added to the CPPDEFS. --- templates/ncrc5-intel-classic.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/ncrc5-intel-classic.mk b/templates/ncrc5-intel-classic.mk index d610dff..b1ed576 100644 --- a/templates/ncrc5-intel-classic.mk +++ b/templates/ncrc5-intel-classic.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 := -fpp -Wp,-w $(INCLUDES)