The LAPACK forum has moved to https://github.com/Reference-LAPACK/lapack/discussions.

install blas/lapack with g77

Open discussion regarding features, bugs, issues, vendors, etc.

install blas/lapack with g77

Postby thomasgeo » Tue Apr 01, 2008 7:52 am

Hi,

I have some problems while installing BLAS and LAPACK (3.0) on my Ubuntu.
First I thought that it is enough to install BLAS/LAPACK using the repositories of Ubuntu, but it looks to me like it doesn't.

So I was downloading BLAS/LAPACK and made a blas_LINUX.a in the BLAS package. Following the readme file in the LAPACK package I got quit lost, because there is just stated that I have the adjust the settings for the compiler and so on, but I have no clue where to get all these settings from. So I was using the settings of the make.inc.LINUX in the install directory. While proceeding the makefile of LAPACK I am getting tons of errors (e.g. g77 unknown option >>-03<<). I was referring to the BLAS directory provided inside of the LAPACK package, thinking there will be the blas_LINUX.a created during the make process... nice try! So in addition to all these errors of an unknown option >>-03<< g77 told me there is no blas_LINUX.a.

I would really appreciate if someone could tell me where and how I get the right settings to put into make.inc. About the blas_LINUX i guess I have to point on the already created file in the other BLAS directory. Please advise me if this is wrong.

-----------------------------------------------

OK, sorry! It was a mistake on my side... When I was typing the compiler options i wrote a 0 instead of an O... Happens! :)

But I still have a problem. After referencing the blas_LINUX.a on a absolute path it worked out and several tests have been running trough. However, make ended with the following:

Testing COMPLEX LAPACK linear equation routines
./xlintstc < ctest.in > ctest.out 2>&1
make[1]: *** [ctest.out] Error 139
make[1]: leave directory '/home/thomas/Desktop/LAPACK/TESTING'
make: *** [testing] Error 2

Could you tell me what it means?

Cheers,
Thomas
thomasgeo
 
Posts: 2
Joined: Mon Mar 31, 2008 11:55 am
Location: Greifswald, Germany

Postby Julie » Tue Apr 01, 2008 11:09 pm

Thomas
Could you type
Code: Select all
 ./xlintstc < ctest.in
and give me the output.
Thanks
Julie
Julie
 
Posts: 299
Joined: Wed Feb 23, 2005 12:32 am
Location: ICL, Denver. Colorado

Postby thomasgeo » Wed Apr 02, 2008 3:40 am

Hi Julie,

of course I can:

Tests of the COMPLEX LAPACK routines
LAPACK VERSION 3.0, released June 30, 1999

The following parameter values will be used:
M : 0 1 2 3 5 10 50
N : 0 1 2 3 5 10 50
NRHS: 1 2 15
NB : 1 3 3 3 20
NX : 1 0 5 9 1

Routines pass computational tests if test ratio is less than 30.00

Relative machine underflow is taken to be 0.117549E-37
Relative machine overflow is taken to be 0.340282E+39
Relative machine precision is taken to be 0.596046E-07


CGE routines passed the tests of the error exits
Segmentation fault (core dumped)


Looks like the Segmentation is the trouble maker...

Greetings,
Thomas
thomasgeo
 
Posts: 2
Joined: Mon Mar 31, 2008 11:55 am
Location: Greifswald, Germany


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 4 guests