Skip to content

Commit a92dc25

Browse files
author
Chip-Kerchner
committed
Fix Makefile.power for xlf
1 parent e2ca22f commit a92dc25

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

Makefile.power

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,12 @@ else
7070
FCOMMON_OPT += -O1 -frecursive -mcpu=power8 -mtune=power8 -fno-fast-math
7171
endif
7272
else
73+
ifeq ($(F_COMPILER), IBM)
74+
FCOMMON_OPT += -O2 -qrecur -qnosave
75+
else
7376
FCOMMON_OPT += -O2 -frecursive -mcpu=power8 -mtune=power8 -fno-fast-math
7477
endif
78+
endif
7579
else
7680
FCOMMON_OPT += -O2 -Mrecursive
7781
endif

f_check

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ else
117117
vendor=PGI
118118
openmp='-mp'
119119
;;
120+
*xlf*)
121+
vendor=IBM
122+
;;
120123
*)
121124
vendor=G77
122125
openmp=''

0 commit comments

Comments
 (0)