Add Intel ifx compiler
This commit is contained in:
parent
f56e4b620f
commit
19413624d0
8
f_check
8
f_check
|
@ -45,7 +45,7 @@ if [ -z "$compiler" ]; then
|
|||
pathf90 pathf95
|
||||
pgf95 pgf90 pgf77 pgfortran nvfortran
|
||||
flang egfortran
|
||||
ifort nagfor"
|
||||
ifort nagfor ifx"
|
||||
|
||||
for list in $lists; do
|
||||
for p in $path; do
|
||||
|
@ -98,6 +98,10 @@ else
|
|||
vendor=FLANG
|
||||
openmp='-fopenmp'
|
||||
;;
|
||||
*ifx*)
|
||||
vendor=INTEL
|
||||
openmp='-fopenmp'
|
||||
;;
|
||||
*pgf*|*nvf*)
|
||||
vendor=PGI
|
||||
openmp='-mp'
|
||||
|
@ -171,7 +175,7 @@ else
|
|||
bu=_
|
||||
openmp='-fopenmp'
|
||||
;;
|
||||
*ifort*)
|
||||
*ifort*|*ifx*)
|
||||
vendor=INTEL
|
||||
bu=_
|
||||
openmp='-fopenmp'
|
||||
|
|
|
@ -34,7 +34,7 @@ if ($compiler eq "") {
|
|||
"pathf90", "pathf95",
|
||||
"pgf95", "pgf90", "pgf77", "pgfortran", "nvfortran",
|
||||
"flang", "egfortran",
|
||||
"ifort", "nagfor");
|
||||
"ifort", "nagfor", "ifx");
|
||||
|
||||
OUTER:
|
||||
foreach $lists (@lists) {
|
||||
|
@ -90,6 +90,9 @@ if ($compiler eq "") {
|
|||
if ($compiler =~ /flang/) {
|
||||
$vendor = FLANG;
|
||||
$openmp = "-fopenmp";
|
||||
} elsif ($compiler =~ /ifx/) {
|
||||
$vendor = INTEL;
|
||||
$openmp = "-fopenmp";
|
||||
} elsif ($compiler =~ /pgf/ || $compiler =~ /nvf/) {
|
||||
$vendor = PGI;
|
||||
$openmp = "-mp";
|
||||
|
@ -176,7 +179,7 @@ if ($compiler eq "") {
|
|||
$openmp = "-fopenmp";
|
||||
}
|
||||
|
||||
if ($compiler =~ /ifort/) {
|
||||
if ($compiler =~ /ifort/ || $compiler =~ /ifx/) {
|
||||
$vendor = INTEL;
|
||||
$bu = "_";
|
||||
$openmp = "-fopenmp";
|
||||
|
|
Loading…
Reference in New Issue