Introduction

ACML is a set of threaded math routines optimized for high performance on AMD Opteron™ processors.
It consists of the BLAS, LAPACK, FFTs and Random Number Generators and supports GFORTRAN,
Intel Fortran, NAG Fortran, Open64 and PGI Fortran.

The ACML library is closed source, distributed as a set of binaries compatible with various compilers. The user needs to make sure that the library version selected and the compiler used are compatible.

Version Selection

The appropriate compiler and corresponding module should be loaded prior to linking your code.

Example Linking To ACML With Intel Compiler (int64 & mp)

When compiling with gnu compilers such as gfortran, one must take special care to link against the compatible version of acml. To find out which Fortran version was used to compile the ACML library, use the following command:

ACML is intended (optimized) for use on AMD Opteron systems however is installed on Intel based systems for codes that require it. Codes that statically allocate data (.bss) objects such as Fortran COMMON blocks and C variables with file scope larger than 2GB will likely require the addition of -mcmodel=medium to both examples above. Otherwise a fatal error message such as "relocation truncated to fit R_X86_64_PC32" might occur.