Skip to content

Commit 9c8d1e0

Browse files
authored
Merge pull request #3486 from martin-frbg/nvhpc
Update -tp option for recent nvfortran on x86_64
2 parents b3f4b8c + ed430cd commit 9c8d1e0

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)