Browse Source

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.
tags/v0.3.22^2
Glenn Johnson 2 years ago
parent
commit
59e26f6336
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      f_check
  2. +1
    -1
      f_check.pl

+ 1
- 1
f_check View File

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


+ 1
- 1
f_check.pl 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/) {


Loading…
Cancel
Save