acml Overview
Description
The AMD Core Math Library (ACML) is a set of numerical routines tuned specifically for AMD64 platform processors (including OpteronTM and AthlonTM64 ). The routines, which are available via both FORTRAN 77 and C interfaces, include:- BLAS - Basic Linear Algebra Subprograms (including Sparse Level 1 BLAS);
- LAPACK - A comprehensive package of higher level linear algebra routines;
- FFT - a set of Fast Fourier Transform routines for real and complex data;
- RNG - a set of random number generators and statistical distribution functions.
Support
Usage
Usage
The acml module must be loaded first.module avail acml module load acmlNote that the module will set the environment variables based on what compiler you have loaded as a module. If you have multiple compiler modules loaded before loading acml, the environment variables will point to one of the loaded compilers, not more. ACML_DIR points to the installation directory. In this directory, builds for various compilers can be found. On Rhea, it is up to the user to construct the appropriate link line for the compiler in use. For instance the examples seen below could use linker lines similar to
ACML_LIB="-L$ACML_DIR/gfortran64/lib -lacml" ACML_MPLIB="-L$ACML_DIR/gfortran64_mp/lib -lacml"Fortran: serial use
pgf90/pathf90/gfortran test.f90 ${ACML_LIB}multi-core/threaded use:
pgf90/pathf90/gfortran -mp test.f90 ${ACML_MPLIB}You will probably need to use "-fPIC" or "static" options to make the linking step work. C: serial use
pgcc/pathcc/gcc test.f90 ${ACML_LIB} -lpgf90libs/pathfortran/gfortranmulti-core/threaded use:
pgcc/pathcc/gcc -mp test.f90 ${ACML_MPLIB} -lpgf90libs/pathfortran/gfortran
Builds
TITAN
- 5.3.1