File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212ifeq ($(CORE), POWER10)
1313ifneq ($(C_COMPILER), PGI)
1414CCOMMON_OPT += -Ofast -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math
15+ ifeq ($(F_COMPILER, IBM)
16+ FCOMMON_OPT += -O2 -qrecur -qnosave
17+ else
1518FCOMMON_OPT += -O2 -frecursive -mcpu=power10 -mtune=power10 -fno-fast-math
1619endif
1720endif
21+ endif
1822
1923ifeq ($(CORE), POWER9)
2024ifneq ($(C_COMPILER), PGI)
3337CCOMMON_OPT += -fast -Mvect=simd -Mcache_align
3438endif
3539ifneq ($(F_COMPILER), PGI)
40+ ifeq ($(F_COMPILER), IBM)
41+ FCOMMON_OPT += -O2 -qrecur -qnosave
42+ else
3643FCOMMON_OPT += -O2 -frecursive -fno-fast-math
44+ endif
3745ifeq ($(C_COMPILER), GCC)
3846ifneq ($(GCCVERSIONGT4), 1)
3947$(warning your compiler is too old to fully support POWER9, getting a newer version of gcc is recommended)
@@ -57,7 +65,11 @@ CCOMMON_OPT += -fast -Mvect=simd -Mcache_align
5765endif
5866ifneq ($(F_COMPILER), PGI)
5967ifeq ($(OSNAME), AIX)
68+ ifeq ($(F_COMPILER), IBM)
69+ FCOMMON_OPT += -O2 -qrecur -qnosave
70+ else
6071FCOMMON_OPT += -O1 -frecursive -mcpu=power8 -mtune=power8 -fno-fast-math
72+ endif
6173else
6274FCOMMON_OPT += -O2 -frecursive -mcpu=power8 -mtune=power8 -fno-fast-math
6375endif
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ endif ()
104104
105105if (${F_COMPILER} STREQUAL "IBM" )
106106 set (CCOMMON_OPT "${CCOMMON_OPT} -DF_INTERFACE_IBM" )
107- # FCOMMON_OPT += -qarch=440
107+ set (FCOMMON_OPT " ${ FCOMMON_OPT} -qrecur" )
108108 if (BINARY64)
109109 set (FCOMMON_OPT "${FCOMMON_OPT} -q64" )
110110 if (INTERFACE64)
You can’t perform that action at this time.
0 commit comments