diff --git a/f_check b/f_check index 02e078b8a..6d171d412 100755 --- a/f_check +++ b/f_check @@ -98,7 +98,7 @@ else vendor=FLANG openmp='-fopenmp' ;; - *ifx*) + *ifort*|*ifx*) vendor=INTEL openmp='-fopenmp' ;; diff --git a/f_check.pl b/f_check.pl index f093b9ad5..889aedd05 100644 --- a/f_check.pl +++ b/f_check.pl @@ -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/) {