Skip to content

Commit 7e3151e

Browse files
authored
Merge pull request #1551 from martin-frbg/f_check_fix
Fixes for ifort 2018
2 parents e3a069f + d2b9389 commit 7e3151e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

f_check

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ if ($compiler eq "") {
9797

9898
if ($data =~ /Intel/) {
9999
$vendor = INTEL;
100-
$openmp = "-openmp";
100+
$openmp = "-fopenmp";
101101
}
102102

103103
if ($data =~ /Sun Fortran/) {
@@ -127,7 +127,7 @@ if ($compiler eq "") {
127127

128128
# for embeded underscore name, e.g. zho_ge, it may append 2 underscores.
129129
$data = `$compiler -O2 -S ftest3.f > /dev/null 2>&1 && cat ftest3.s && rm -f ftest3.s`;
130-
if ($data =~ /zho_ge__/) {
130+
if ($data =~ / zho_ge__/) {
131131
$need2bu = 1;
132132
}
133133
}
@@ -155,7 +155,7 @@ if ($compiler eq "") {
155155
if ($compiler =~ /ifort/) {
156156
$vendor = INTEL;
157157
$bu = "_";
158-
$openmp = "-openmp";
158+
$openmp = "-fopenmp";
159159
}
160160

161161
if ($compiler =~ /pathf/) {

0 commit comments

Comments
 (0)