Skip to content

Commit

Permalink
Added new SH_MEM_COMM into gnu make
Browse files Browse the repository at this point in the history
  • Loading branch information
josephzhang8 committed Dec 12, 2024
1 parent a99a8b9 commit c441ace
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mk/include_modules
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# NO_PARMETIS = yes
# EXEC := $(EXEC)_NOPM

# Share memory communicator
SH_MEM_COMM = yes
EXEC := $(EXEC)_SH_MEM_COMM

# Old nc output option (each rank dumps its own data)
# USE_OLDIO = yes
# EXEC := $(EXEC)_OLDIO
Expand Down
4 changes: 4 additions & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ ifdef NO_PARMETIS
PPFLAGS := $(PPFLAGS) $(IBMCPP)-DNO_PARMETIS
endif

ifdef SH_MEM_COMM
PPFLAGS := $(PPFLAGS) $(IBMCPP)-DSH_MEM_COMM
endif

ifdef USE_OLDIO
PPFLAGS := $(PPFLAGS) $(IBMCPP)-DOLDIO
endif
Expand Down

0 comments on commit c441ace

Please sign in to comment.