[Pw_forum] How to use BLAS in MKL5.2?

Eyvaz Isaev eyvaz_isaev at yahoo.com
Mon Apr 7 17:02:24 CEST 2003

Dear Mahmoud,

Presumably, the MKL has its own BLAS library (so, just
add -lblas flag into your LFLAGS (linking flags).

If you like to have your own BLAS library, it is very
easy to do it. If you are using the IFC compiler, just
type "ifc -c -w -O3 *.f" in the directory where there
are BLAS sources. Then recompile xerbla.f using "ifc
-c -w xerbla.f". As the last step  type "ar rv
libblas.a *.o" and it is ready to use.


--- Mahmoud Payami <mpayami at aeoi.org.ir> wrote:
> Dear PWSCF users,
> I want to compile the pseudo-potential generator 
> which needs the BLAS
> library.
> 1)- In MKL5.2,  (/opt/intel/mkl/tests/blas) I do 
> not know  how to generate
> some "blas.a" file to be linked.
> 2)- I have downloaded from blas-homepage the source
> file "blas.tgz" which
> contains only fortran files. How can I generate the
> library from these
> source files?
> Any comments are highly appreciated.
> Best regards,
> Mahmoud
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum

Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more

More information about the users mailing list