Page 1 of 1

How long for installing LAPACK?

PostPosted: Mon Jul 17, 2006 8:44 am
by German
Dear users:
Im not sure If there is any problem with my installation, but Im a bit confused with the installation procedure.
When I type "make" the next message appears:
( cd INSTALL; make; ./testlsame; ./testslamch; \
./testdlamch; ./testsecond; ./testdsecnd; \
cp lsame.f ../BLAS/SRC/; cp lsame.f ../SRC; \
cp slamch.f ../SRC/; cp dlamch.f ../SRC/; \
cp second.f ../SRC/; cp dsecnd.f ../SRC/ )
make[1]: Entering directory `/usr/local/LAPACK/INSTALL'
ifort -O3 -c lsame.f
ifort -O3 -c lsametst.f
ifort -o testlsame lsame.o lsametst.o
ifort -c slamch.f
ifort -O3 -c slamchtst.f
ifort -o testslamch slamch.o lsame.o slamchtst.o
ifort -c dlamch.f
ifort -O3 -c dlamchtst.f
ifort -o testdlamch dlamch.o lsame.o dlamchtst.o
ifort -O3 -c second.f
ifort -O3 -c secondtst.f
ifort -o testsecond second.o secondtst.o
ifort -O3 -c dsecnd.f
ifort -O3 -c dsecndtst.f
ifort -o testdsecnd dsecnd.o dsecndtst.o
ifort -O3 -c tstiee.f
ifort -o testieee tstiee.o
make[1]: Leaving directory `/usr/local/LAPACK/INSTALL'
ASCII character set
Tests completed

Is it correct? From the moment the message appears It seems to me that
the installation process is somehow "freeze". How many time is needed for installing LAPACK?

Thanks all for advance,

German

PostPosted: Mon Jul 17, 2006 9:16 am
by Julien Langou
Hello,

Yes your install is hangnig.

The first part of the installation: lapack install tests few things and in particular the two routines xLAMCH. It is known that the Intel Fortran compiler without the appropriate flags is getting messed up by those two tricky routines. (So the early test.)

In the make.inc file, set:
Code: Select all
FORTRAN  = ifort
OPTS     = -O3 -mp -tpp6 -ip -ftz-
DRVOPTS  = $(OPTS)
NOOPT    = -O3 -mp -fltconsistency  -fp_port
LOADER   = ifort
LOADOPTS = -O3 -Wl,-R/opt/intel_fc_80/lib

(Options recommended by Jason Riedy.)
This should work better.

Julien.

PostPosted: Mon Jul 17, 2006 10:19 am
by German
Thanks for your fast answer Julien,
Unfortunately, all remains the same. I have intel fortran 9.0 compiler and maybe the flag option are a bit different of those you told me.
But, anyway...Thanks for all Julien,
German

PostPosted: Thu Jul 20, 2006 2:12 pm
by German
H

PostPosted: Fri Jul 21, 2006 6:13 am
by German
Hi Julien,
the advice you gave me was very good, but the compilation process still is hanging. The last
message I see is:
make[1]: Leaving directory `/usr/local/LAPACK/TESTING/MATGEN'
( cd TESTING ; make )
make[1]: Entering directory `/usr/local/LAPACK/TESTING'
SEP: Testing Symmetric Eigenvalue Problem routines
./xeigtstz < sep.in > zsep.out 2>&1

and from the moment this message appears the procress is frozen.
My notebook has an Intel Pentium M processor 760, my OS is MandrakeLinux 10.2
and the compiler is intel fortran 9.0 .
In fact, I only need the LAPACK library. Wouldn't it be enough to type "make lib" for that?
Thanks in advance

PostPosted: Fri Jul 21, 2006 1:20 pm
by Julien Langou
Hello,
sure if you can live with using an LAPACK library which test on the divide and conquer (DSYEVD) hangs I guess you are fine. You can use your library. Just avoid calling DSYEVD then, or not with too much weird matrices.
This is really a Intel Fortran Compiler specific problem / LAPACK problem. And it's also machine dependent, we will see what we can do about it.
Julien