Hello,
I am trying to compile lapack using ifort, but am having difficulty.
Depending on the OPTS and NOOPT settings in make.inc, the compile either hangs in an infinite loop during the testing routines, or it causes an error during the timing process.
I posted to comp.lang.fortran and they referred me here.
cell@block$ uname -a
Linux 2.4.25-13mdk #1 Tue Jan 18 15:37:15 MST 2005 i686 unknown unknown GNU/Linux
cell@block$ cat /proc/cpuinfo | grep "model name"
model name : AMD Athlon(TM) XP 2200+
cell@block$ ifort -V
Intel(R) Fortran Compiler for 32-bit applications, Version 8.1 Build 20040803 Z Package ID: l_fc_p_8.1.018
I made the following modification to LAPACK/Makefile:
cell@block$ diff Makefile Makefile.orig
11,12c11,12
< #lib: lapacklib tmglib
< lib: blaslib lapacklib tmglib
---
> lib: lapacklib tmglib
> #lib: blaslib lapacklib tmglib
I am using the make.inc.LINUX file, with FORTRAN = ifort, and have tried variations on the OPTS and NOOPT flags like so:
# from http://scipy.net/cgi-bin/viewcvsx.cgi/s ... t?rev=1.18
# causes inifinite loop Testing DOUBLE PRECISION LAPACK linear equation routines
OPTS=-Vaxlib -O3 -unroll -mp1 -static-libcxa
NOOPT=-mp -O0 -fltconsistency -fp_port
# from http://www.iup.physik.uni-bremen.de/sciatran/make.inc
# causes infinite loop in Testing Symmetric Eigenvalue Problem routines
OPTS = -O0
NOOPT = -O0
as well as my own:
OPTS = -O0 -mp -unroll0
NOOPT = -O0 -mp -unroll0
Has anyone else gotten this to work?
thanks.

