From ed430cd963c177a895777819a4df88c4215da092 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sat, 18 Dec 2021 21:56:26 +0100 Subject: [PATCH] Update -tp option for recent nvfortran on x86_64 --- Makefile.system | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.system b/Makefile.system index b8824fe51..97fdc3f91 100644 --- a/Makefile.system +++ b/Makefile.system @@ -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.)