File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -663,6 +663,7 @@ endif
663
663
endif # ARCH zarch
664
664
665
665
ifeq ($(ARCH), power)
666
+ ifneq ($(C_COMPILER), PGI)
666
667
DYNAMIC_CORE = POWER6
667
668
DYNAMIC_CORE += POWER8
668
669
ifneq ($(C_COMPILER), GCC)
@@ -689,6 +690,10 @@ else
689
690
$(info, OpenBLAS: Your gcc version is too old to build the POWER10 kernels.)
690
691
endif
691
692
endif
693
+ else
694
+ DYNAMIC_CORE = POWER8
695
+ DYNAMIC_CORE += POWER9
696
+ endif
692
697
endif
693
698
694
699
# If DYNAMIC_CORE is not set, DYNAMIC_ARCH cannot do anything, so force it to empty
@@ -1039,12 +1044,18 @@ ifeq ($(ARCH), x86_64)
1039
1044
FCOMMON_OPT += -tp p7-64
1040
1045
else
1041
1046
ifeq ($(ARCH), power)
1047
+ ifeq ($(CORE), POWER6)
1048
+ $(warning NVIDIA HPC compilers do not support POWER6.)
1049
+ endif
1042
1050
ifeq ($(CORE), POWER8)
1043
1051
FCOMMON_OPT += -tp pwr8
1044
1052
endif
1045
1053
ifeq ($(CORE), POWER9)
1046
1054
FCOMMON_OPT += -tp pwr9
1047
1055
endif
1056
+ ifeq ($(CORE), POWER10)
1057
+ $(warning NVIDIA HPC compilers do not support POWER10.)
1058
+ endif
1048
1059
endif
1049
1060
endif
1050
1061
else
You can’t perform that action at this time.
0 commit comments