Skip to content

Commit ed430cd

Browse files
authored
Update -tp option for recent nvfortran on x86_64
1 parent b3f4b8c commit ed430cd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile.system

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,8 +1122,12 @@ FCOMMON_OPT += -i8
11221122
endif
11231123
endif
11241124
ifeq ($(ARCH), x86_64)
1125+
ifneq ($(NEWPGI2),1)
11251126
FCOMMON_OPT += -tp p7-64
11261127
else
1128+
FCOMMON_OPT += -tp px
1129+
endif
1130+
else
11271131
ifeq ($(ARCH), power)
11281132
ifeq ($(CORE), POWER6)
11291133
$(warning NVIDIA HPC compilers do not support POWER6.)

0 commit comments

Comments
 (0)