Installed location:
ATLAS includes both BLAS and LAPACK routines. See how ATLAS compares with competing libraries:
For an ATLAS BLAS routine enter:
ifort pgm.f(90) -L$ATLAS_HOME/lib -lblas -o pgmReplace pgm.f(90) with the name of the file containing your source code and pgm with the name of the executable to be created.
Set ATLAS_HOME to: /u/local/apps/atlas/current. You can either set an environment variable or replace $ATLAS_HOME in the command shown above.
For an ATLAS LAPACK routine enter:
ifort pgm.f(90) -L$ATLAS_HOME/lib -llapack -lblas -latlas -o pgmReplace pgm.f(90) with the name of the file containing your source code and pgm with the name of the executable to be created.
Set ATLAS_HOME to: /u/local/apps/atlas/current. You can either set an environment variable or replace $BLAS_HOME in the command shown above.
To use ATLAS from a C program, replace ifort in the commands shown above to icc.
To use ATLAS from a C++ program you must declare each function you will call as being extern as in the following example:
extern "C" void sgesv(int *, int *, float *, int *, int *, float *, int *, int * );code the function name and the argument list for the function you are calling.
To compile and link, replace ifort in the command with icpc.