Installing different versions

Post here if you have a question about the installation process

Installing different versions

Postby hanamilani » Mon Jan 30, 2012 12:50 pm

Hi,

My question is: what is the difference in installing the new version of lapack.3.4.0 and the previous ones.Cause I always followed the following steps and had no problem:
% tar -zxvf lapack.tgz
% cd lapack-3.2/
% cp make.inc.example make.inc
% vi make.inc
% make all

Pls let me know what steps I should take for version 3.4.0 .

Thanks
hanamilani
 
Posts: 6
Joined: Mon Jan 30, 2012 12:40 pm

Re: Installing different versions

Postby admin » Mon Jan 30, 2012 12:57 pm

Should be almost the same.
just do
%make blaslib
to create the Reference BLAS library then
%make
admin
Site Admin
 
Posts: 474
Joined: Wed Dec 08, 2004 7:07 pm

Re: Installing different versions

Postby hanamilani » Mon Jan 30, 2012 1:09 pm

admin wrote:Should be almost the same.
just do
%make blaslib
to create the Reference BLAS library then
%make



I did but received again the following error:

sara@linux-xg3a:~/CODES/lapack-3.4.0> sudo make
( cd INSTALL; make; ./testlsame; ./testslamch; ./testdlamch; \
./testsecond; ./testdsecnd; ./testieee; ./testversion )
make[1]: Entering directory `/home/sara/CODES/lapack-3.4.0/INSTALL'
/usr/local/bin/mpif90 -O2 -c lsame.f -o lsame.o
/usr/local/bin/mpif90 -O2 -c lsametst.f -o lsametst.o
/usr/local/bin/mpif90 -o testlsame lsame.o lsametst.o
/usr/local/bin/mpif90 -O0 -c slamch.f -o slamch.o
/usr/local/bin/mpif90 -O2 -c slamchtst.f -o slamchtst.o
/usr/local/bin/mpif90 -o testslamch slamch.o lsame.o slamchtst.o
/usr/local/bin/mpif90 -O0 -c dlamch.f -o dlamch.o
/usr/local/bin/mpif90 -O2 -c dlamchtst.f -o dlamchtst.o
/usr/local/bin/mpif90 -o testdlamch dlamch.o lsame.o dlamchtst.o
/usr/local/bin/mpif90 -O2 -c second_EXT_ETIME.f -o second_EXT_ETIME.o
/usr/local/bin/mpif90 -O2 -c secondtst.f -o secondtst.o
[INFO] : TIMER value: EXT_ETIME (given by make.inc)
/usr/local/bin/mpif90 -o testsecond second_EXT_ETIME.o secondtst.o
second_EXT_ETIME.o: In function `second_':
second_EXT_ETIME.f:(.text+0xd): undefined reference to `etime_'
collect2: ld returned 1 exit status
make[1]: *** [testsecond] Error 1
make[1]: Leaving directory `/home/sara/CODES/lapack-3.4.0/INSTALL'
ASCII character set
Tests completed
Epsilon = 5.96046448E-08
Safe minimum = 1.17549435E-38
Base = 2.0000000
Precision = 1.19209290E-07
Number of digits in mantissa = 24.000000
Rounding mode = 1.0000000
Minimum exponent = -125.00000
Underflow threshold = 1.17549435E-38
Largest exponent = 128.00000
Overflow threshold = 3.40282347E+38
Reciprocal of safe minimum = 8.50705917E+37
Epsilon = 1.11022302462515654E-016
Safe minimum = 2.22507385850720138E-308
Base = 2.0000000000000000
Precision = 2.22044604925031308E-016
Number of digits in mantissa = 53.000000000000000
Rounding mode = 1.0000000000000000
Minimum exponent = -1021.0000000000000
Underflow threshold = 2.22507385850720138E-308
Largest exponent = 1024.0000000000000
Overflow threshold = 1.79769313486231571E+308
Reciprocal of safe minimum = 4.49423283715578977E+307
/bin/sh: line 1: ./testsecond: No such file or directory
/bin/sh: line 1: ./testdsecnd: No such file or directory
/bin/sh: line 1: ./testieee: No such file or directory
/bin/sh: line 1: ./testversion: No such file or directory
make: *** [lapack_install] Error 127
hanamilani
 
Posts: 6
Joined: Mon Jan 30, 2012 12:40 pm

Re: Installing different versions

Postby admin » Mon Jan 30, 2012 1:16 pm

ok I see
in the make.inc
uncomment the second line, you should have
Code: Select all
# For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
TIMER    = INT_ETIME
admin
Site Admin
 
Posts: 474
Joined: Wed Dec 08, 2004 7:07 pm

Re: Installing different versions

Postby hanamilani » Mon Jan 30, 2012 1:21 pm

admin wrote:ok I see
in the make.inc
uncomment the second line, you should have
Code: Select all
# For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
TIMER    = INT_ETIME


well, in the previous versions I always had this edited in the make.inc:
TIMER = EXT_ETIME

Could I please know what differences they will have?
hanamilani
 
Posts: 6
Joined: Mon Jan 30, 2012 12:40 pm

Re: Installing different versions

Postby admin » Mon Jan 30, 2012 1:28 pm

It is to select the Fortran routine to use to time.
Fortran compilers do not have the same.
If gfortran is below your mpif90 call, then INTERNAL FUNCTION ETIME is the one to call.
admin
Site Admin
 
Posts: 474
Joined: Wed Dec 08, 2004 7:07 pm

Re: Installing different versions

Postby hanamilani » Mon Jan 30, 2012 1:31 pm

admin wrote:It is to select the Fortran routine to use to time.
Fortran compilers do not have the same.
If gfortran is below your mpif90 call, then INTERNAL FUNCTION ETIME is the one to call.


it may seem wiered, but gfortran has always been below my mpif90 and I made lapack with TIMER = EXT_ETIME
why doesn't it happen with te new version?
hanamilani
 
Posts: 6
Joined: Mon Jan 30, 2012 12:40 pm


Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests