Patch for Intel Fortran compiler
This PR patches the f_check scripts to detect the ifort compiler. With out this, the value of F_COMPILER is G77 which causes the link phase to use icc rather than ifort, resulting in missing libifcore.
This commit is contained in:
parent
de4d5646eb
commit
59e26f6336
2
f_check
2
f_check
|
@ -98,7 +98,7 @@ else
|
|||
vendor=FLANG
|
||||
openmp='-fopenmp'
|
||||
;;
|
||||
*ifx*)
|
||||
*ifort*|*ifx*)
|
||||
vendor=INTEL
|
||||
openmp='-fopenmp'
|
||||
;;
|
||||
|
|
|
@ -90,7 +90,7 @@ if ($compiler eq "") {
|
|||
if ($compiler =~ /flang/) {
|
||||
$vendor = FLANG;
|
||||
$openmp = "-fopenmp";
|
||||
} elsif ($compiler =~ /ifx/) {
|
||||
} elsif ($compiler =~ /ifort/ || $compiler =~ /ifx/) {
|
||||
$vendor = INTEL;
|
||||
$openmp = "-fopenmp";
|
||||
} elsif ($compiler =~ /pgf/ || $compiler =~ /nvf/) {
|
||||
|
|
Loading…
Reference in New Issue