Installation on Lubuntu Linux system

Post here if you have having problem using the Makefile build process.

Installation on Lubuntu Linux system

Postby michael_k » Sun Feb 15, 2015 3:24 am

I am trying to build LAPACK with the Makefile.

I am using gcc and gfortran so I would like to use the make.inc.example file as my make.inc file, I am however not sure where I must place this file? In the INSTALL/ directory or in the base directory? Will this example file work as is just by renaming it to make.inc or must I make other changes in it?

I execute the build by running
make
in the base directory, is this correct? Does
make
require any arguments?

When I placed it in the INSTALL/ directory, the build seemed to go well but now I get the error:

Code: Select all
( cd INSTALL; make; ./testlsame; ./testslamch; ./testdlamch; \
./testsecond; ./testdsecnd; ./testieee; ./testversion )
make[1]: Entering directory '/home/mich/.builds/lapack-3.5.0/INSTALL'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/mich/.builds/lapack-3.5.0/INSTALL'
  ASCII character set
  Tests completed
  Epsilon                      =    5.96046448E-08
  Safe minimum                 =    1.17549435E-38
  Base                         =    2.00000000   
  Precision                    =    1.19209290E-07
  Number of digits in mantissa =    24.0000000   
  Rounding mode                =    1.00000000   
  Minimum exponent             =   -125.000000   
  Underflow threshold          =    1.17549435E-38
  Largest exponent             =    128.000000   
  Overflow threshold           =    3.40282347E+38
  Reciprocal of safe minimum   =    8.50705917E+37
  Epsilon                      =    1.1102230246251565E-016
  Safe minimum                 =    2.2250738585072014E-308
  Base                         =    2.0000000000000000     
  Precision                    =    2.2204460492503131E-016
  Number of digits in mantissa =    53.000000000000000     
  Rounding mode                =    1.0000000000000000     
  Minimum exponent             =   -1021.0000000000000     
  Underflow threshold          =    2.2250738585072014E-308
  Largest exponent             =    1024.0000000000000     
  Overflow threshold           =    1.7976931348623157E+308
  Reciprocal of safe minimum   =    4.4942328371557898E+307
 Time for  0.100E+09 SAXPY ops =   0.00     seconds
 *** Warning:  Time for operations was less or equal than zero => timing in TESTING might be dubious
 Including SECOND, time        =   0.00     seconds
 Time for  0.100E+09 DAXPY ops =   0.00     seconds
 *** Warning:  Time for operations was less or equal than zero => timing in TESTING might be dubious
 Including DSECND, time        =  0.461E-02 seconds
 Average time for DSECND       =  0.921E-04 milliseconds
 We are about to check whether infinity arithmetic
 can be trusted.  If this test hangs, set
 ILAENV = 0 for ISPEC = 10 in LAPACK/SRC/ilaenv.f

 Infinity arithmetic performed as per the ieee spec.
 However, this is not an exhaustive test and does not
 guarantee that infinity arithmetic meets the ieee spec.

 We are about to check whether NaN arithmetic
 can be trusted.  If this test hangs, set
 ILAENV = 0 for ISPEC = 11 in LAPACK/SRC/ilaenv.f

 NaN arithmetic performed as per the ieee spec.
 However, this is not an exhaustive test and does not
 guarantee that NaN arithmetic meets the ieee spec.

 LAPACK            3 .           5 .           0
( cd SRC; make )
make[1]: Entering directory '/home/mich/.builds/lapack-3.5.0/SRC'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/mich/.builds/lapack-3.5.0/SRC'
( cd TESTING/MATGEN; make )
make[1]: Entering directory '/home/mich/.builds/lapack-3.5.0/TESTING/MATGEN'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/mich/.builds/lapack-3.5.0/TESTING/MATGEN'
( cd BLAS/TESTING; make -f Makeblat1 )
make[1]: Entering directory '/home/mich/.builds/lapack-3.5.0/BLAS/TESTING'
gfortran  sblat1.o  \
        ../../librefblas.a  -o ../xblat1s
gfortran: error: ../../librefblas.a: No such file or directory
Makeblat1:47: recipe for target '../xblat1s' failed
make[1]: *** [../xblat1s] Error 1
make[1]: Leaving directory '/home/mich/.builds/lapack-3.5.0/BLAS/TESTING'
Makefile:57: recipe for target 'blas_testing' failed
make: *** [blas_testing] Error 2
michael_k
 
Posts: 1
Joined: Sun Feb 15, 2015 3:04 am

Return to Makefile

Who is online

Users browsing this forum: No registered users and 1 guest

cron