Skip to content

Commit

Permalink
#42 Like the other C5 templates, nvhpc requires -DHAVE_GETTID
Browse files Browse the repository at this point in the history
  • Loading branch information
ceblanton committed Mar 22, 2023
1 parent b24e14e commit 25efcb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/ncrc-nvhpc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 25efcb2

Please sign in to comment.