LAPACK Archives

[Lapack] how to compile programs including blas

It looks like you need BLAS and LAPACK.
First download LAPACK at and untar.
After use the attached in your LAPACK directory
You will need to change its name to
mv ifort

make blaslib
will generate the BLAS library

will generate the LAPACK library and test it.

Hope it helps

On Feb 9, 2010, at 7:30 PM, ESMAEILI AMIN wrote:

Dear Sir

I've downloaded the BLAS from your site and do the following command lines in 
openSUSE linux

mkdir BLAS
mv blas.tgz BLAS
tar xfz blas.tgz
ifort -O3 -c *.f 

all the process are correct, but when I want to run this commmand:
 ar r libblas.a *.o

this error would be observed:    
ar: creating libblas.a

I run the program with this command line:
ifort -openmp -fpp -lblas -o cal shale_v01.f90

but the compiling is as follows:
shale_v01.f90(51): (col. 14) remark: LOOP WAS VECTORIZED.
shale_v01.f90(51): (col. 14) remark: LOOP WAS VECTORIZED.
shale_v01.f90(113): (col. 9) remark: LOOP WAS VECTORIZED.
shale_v01.f90(119): (col. 13) remark: LOOP WAS VECTORIZED.
ld: cannot find -lblas

and no output file will creadted. please help me to run the program correctly 
with using blas library.

Best Regards

Lapack mailing list

Julie Langou; Research Associate in Computer Science
Innovative Computing Laboratory;
University of Tennessee from Denver, Colorado ;-)

-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Type: application/octet-stream
Size: 2463 bytes
Desc: not available
Url :
-------------- next part --------------
An HTML attachment was scrubbed...

<Prev in Thread] Current Thread [Next in Thread>

For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or