BLAS libraries

There are several implementations of the Basic Linear Algebra Subprograms (BLAS) libraries available. These provide highly optimized routines for matrix and vector operations and are key to high performance applications.

We recommend to use one of the fastest available libraries: * GOTO BLAS by Kazushige Goto (http://www.tacc.utexas.edu/tacc-projects/gotoblas2) available in the servers and compute nodes by <code>-L/opt/goto/ifort -lgoto2_barcelonap-r1.13</code> You may want to set THREADS=1.

MKL libraries exist in single and multi threaded versions.

* To use GOTO multi threaded version use -L/opt/goto/ifort -lgoto2_barcelonap-r1.13 -lpthread

The reference BLAS is installed on some nodes (-lblas) but significantly slower. We recommend not to use it, even if available.

If shared libraries are used, resetting the variable LD_LIBRARY_PATH is required, e.g.

export LD_LIBRARY_PATH=/opt/somewhere/somelib/:$LD_LIBRARY_PATH