ATLAS
ATLAS is an acronym for Automatically Tuned Linear Algebra Software. The software strives to provide a performant BLAS (and some LAPACK) on systems without the need for optimizing to the machine architecture[1].
Module
If you need to build software the lists ATLAS as a dependency, it is sufficient to load the module. List the available versions:
module spider atlas
Output:
--------------------------
atlas: atlas/3.10.3
--------------------------
...
See how to load the version you need:
module spider atlas/<version>
Load any required modules that are reported by the spider command, and then load the atlas module:
module load gcc atlas/<version>
Compiling
If you are writing code that uses ATLAS routines, you will need to load the module as detailed above, and include the appropriate compiled flags. Minimally, you will need -latlas, but additional flags will depend on the specific features you are using.
Example
Adapted from [2]. Add the following source to a file named "example.c":
#include<stdlib.h>
int main() {
void ATL_buildinfo(void);
ATL_buildinfo();
exit(0);
}
Compile using the command:
gcc example.c -o example -latlas
Test by running the generated executable:
./example
ATLAS version 3.10.3 built by dxb507 on Wed Feb 8 14:44:25 EST 2017:
...