Merge pull request #3858 from glennpj/ifort

Patch for Intel Fortran compiler
This commit is contained in:
Martin Kroeker 2022-12-14 22:47:31 +01:00 committed by GitHub
commit b231fbcd67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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/) {