Skip to content

Commit 19c141b

Browse files
committed
Added compiling options for the Fujitsu compiler.
1 parent 65c633e commit 19c141b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Makefile-CaNS.compilers

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,16 @@ else ifeq ($(CMP),NVIDIA)
150150
endif
151151
#FFLAGS += -cpp -O3 -Minfo=accel -stdpar -acc -target=multicore
152152
#FFLAGS = -cpp -Mfree -Kieee -Minfo=accel -g -acc -target=gpu -fast -O3 -Minstrument
153+
else ifeq ($(CMP),FUJITSU)
154+
FC = mpifrtpx
155+
FFLAGS += -cpp
156+
MODFLAG = -M # Explicit space
157+
ifeq ($(DEBUG_BUILD),yes)
158+
DEFS += -DDEBUG
159+
FFLAGS += -g -g0
160+
else
161+
FFLAGS += -O3 #-Kfast
162+
endif
153163
endif
154164
ifeq ($(strip $(FTN_MPI_WRAPPER)),1)
155165
FC = ftn

0 commit comments

Comments
 (0)