Merge pull request #3858 from glennpj/ifort
Patch for Intel Fortran compiler
This commit is contained in:
commit
b231fbcd67
2
f_check
2
f_check
|
@ -98,7 +98,7 @@ else
|
||||||
vendor=FLANG
|
vendor=FLANG
|
||||||
openmp='-fopenmp'
|
openmp='-fopenmp'
|
||||||
;;
|
;;
|
||||||
*ifx*)
|
*ifort*|*ifx*)
|
||||||
vendor=INTEL
|
vendor=INTEL
|
||||||
openmp='-fopenmp'
|
openmp='-fopenmp'
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -90,7 +90,7 @@ if ($compiler eq "") {
|
||||||
if ($compiler =~ /flang/) {
|
if ($compiler =~ /flang/) {
|
||||||
$vendor = FLANG;
|
$vendor = FLANG;
|
||||||
$openmp = "-fopenmp";
|
$openmp = "-fopenmp";
|
||||||
} elsif ($compiler =~ /ifx/) {
|
} elsif ($compiler =~ /ifort/ || $compiler =~ /ifx/) {
|
||||||
$vendor = INTEL;
|
$vendor = INTEL;
|
||||||
$openmp = "-fopenmp";
|
$openmp = "-fopenmp";
|
||||||
} elsif ($compiler =~ /pgf/ || $compiler =~ /nvf/) {
|
} elsif ($compiler =~ /pgf/ || $compiler =~ /nvf/) {
|
||||||
|
|
Loading…
Reference in New Issue