Update -tp option for recent nvfortran on x86_64
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Sat, 18 Dec 2021 20:56:26 +0000 (21:56 +0100)
committerGitHub <noreply@github.com>
Sat, 18 Dec 2021 20:56:26 +0000 (21:56 +0100)
Makefile.system

index b8824fe..97fdc3f 100644 (file)
@@ -1122,8 +1122,12 @@ FCOMMON_OPT += -i8
 endif
 endif
 ifeq ($(ARCH), x86_64)
+ifneq ($(NEWPGI2),1)
 FCOMMON_OPT += -tp p7-64
 else
+FCOMMON_OPT += -tp px
+endif
+else
 ifeq ($(ARCH), power)
 ifeq ($(CORE), POWER6)
 $(warning NVIDIA HPC compilers do not support POWER6.)