Skip to content

Commit

Permalink
Merge pull request #4654 from jedwards4b/fix/fms_include_dir
Browse files Browse the repository at this point in the history
need to add fms include dir for nvhpc compiler
  • Loading branch information
jedwards4b authored Aug 5, 2024
2 parents 977d122 + 728dd45 commit 1224ac1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions CIME/Tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ endif

SLIBS ?= $(USER_SLIBS)

ifeq ($(strip $(USE_FMS)), TRUE)
SLIBS += -lfms
endif

ifndef MOD_SUFFIX
MOD_SUFFIX := mod
endif
Expand Down Expand Up @@ -127,6 +123,11 @@ ifdef FSTDLIB_PKGCONFIG
SLIBS += $(STDLIB_LIBS)
endif

ifeq ($(strip $(USE_FMS)), TRUE)
SLIBS += -lfms
INCLDIR += -I$(SHAREDLIBROOT)/$(SHAREDPATH)/FMS/
endif


CPPDEFS += -DNUOPC_INTERFACE
INCLDIR += -I$(SHAREDLIBROOT)/$(SHAREDPATH)/CDEPS/fox/include -I$(SHAREDLIBROOT)/$(SHAREDPATH)/CDEPS/dshr
Expand Down

0 comments on commit 1224ac1

Please sign in to comment.