bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Intel's f90/95 compiler wants to be called ifort now instead of ifc


From: Tom Epperly
Subject: Intel's f90/95 compiler wants to be called ifort now instead of ifc
Date: Mon, 16 Aug 2004 09:00:05 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616

The Intel F90/F95 compiler version 8.0.34 (and higher presumably) prints a warning message if invoked via the name ifc telling you that it should be invoked via the name ifort.

bash-2.05b$ ifc -V
ifc: warning: The Intel Fortran driver is now named ifort. You can suppress this message with '-quiet' Intel(R) Fortran Compiler for 32-bit applications, Version 8.0 Build 20031016Z Package ID: l_fc_p_8.0.034
Copyright (C) 1985-2003 Intel Corporation.  All rights reserved.
FOR NON-COMMERCIAL USE ONLY

ifort: Command line error: no files specified; for help type "ifort -help"
bash-2.05b$

It would be nice if autoconf checked ifort before checking ifc, so ifort would be used when available.

address@hidden /tmp]$ !diff
diff --unified fortran.m4~ fortran.m4
--- fortran.m4~  2004-04-06 21:18:54.000000000 -0700
+++ fortran.m4  2004-08-16 08:53:11.000000000 -0700
@@ -345,9 +345,9 @@
#  af77: Apogee F77 compiler for Intergraph hardware running CLIX
#  epcf90: "Edinburgh Portable Compiler" F90
#  fort: Compaq (now HP) Fortran 90/95 compiler for Tru64 and Linux/Alpha
-#  ifc: Intel Fortran 95 compiler for Linux/x86
+#  ifort/ifc: Intel Fortran 95 compiler for Linux/x86
#  efc: Intel Fortran 95 compiler for IA64
-m4_define([_AC_F95_FC], [f95 fort xlf95 ifc efc pgf95 lf95 gfortran])
+m4_define([_AC_F95_FC], [f95 fort xlf95 ifort ifc efc pgf95 lf95 gfortran])
m4_define([_AC_F90_FC], [f90 xlf90 pgf90 epcf90])
m4_define([_AC_F77_FC], [g77 f77 xlf frt pgf77 fort77 fl32 af77])
AC_DEFUN([_AC_PROG_FC],
address@hidden /tmp]$





reply via email to

[Prev in Thread] Current Thread [Next in Thread]