LAPACK Archives

[Lapack] how to compile programs including blas

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
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shale_v01.f90
Type: text/x-fortran
Size: 3849 bytes
Desc: not available
Url :

<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