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:
Glenn Johnson 2022-12-09 16:30:22 -06:00
parent de4d5646eb
commit 59e26f6336
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ else
vendor=FLANG
openmp='-fopenmp'
;;
*ifx*)
*ifort*|*ifx*)
vendor=INTEL
openmp='-fopenmp'
;;

View File

@ -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/) {