Skip to content


ATLAS (Automatically Tuned Linear Algebra Software) provides self-tuning implementations of BLAS and LAPACK. We have versions of ATLAS available that were built with various different compilers.

Linking ATLAS 3.10.2§

There are ATLAS modules for GCC 4.9.2 and the Intel 2015 compilers.

The modules add the relevant lib directory to your LD_LIBRARY_PATH and LIBRARY_PATH. You can see what those are with module show followed by the module name.

Dynamic linking§

There is one combined library each for serial and threaded ATLAS (in most circumstances you probably want the serial version).


-L${ATLASROOT}/lib -lsatlas


-L${ATLASROOT}/lib -ltatlas

Static linking§

There are multiple libraries.


-L${ATLASROOT}/lib -llapack -lf77blas -lcblas -latlas


-L${ATLASROOT}/lib -llapack -lptf77blas -lptcblas -latlas

Runtime errors§

If you get a runtime error saying that cannot be found, you need to add -lgfortran to your link line.

The Intel equivalent is -lifcore.

You can run module show <compiler module> with the compiler you are using to see where the libraries are located.