NERSCPowering Scientific Discovery Since 1974

ACML

Description

The AMD Core Math Library (ACML) module is available on Hopper but is no longer loaded as part of the default PrgEnv environment.  Instead, BLAS and LAPACK functionality is now provided by Cray LibSci. However, if you need ACML for FFT functions, math functions, or random number generators, you can load the library using the acml modulefile.

ACML includes:

  • A suite of Fast Fourier Transform (FFT) routines for real and complex data
  • Fast scalar, vector, and array math transcendental library routines optimized for high performance
  • A comprehensive random number generator suite:
  • Base generators plus a user-defined generator
  • Distribution generators
  • Multiple-stream support

ACML's internal timing facility uses the clock() function. If you run an application that uses the "plan" feature of FFTs, underlying timings will be done using the native version of clock(). On the compute nodes, clock() returns the sum of user and system CPU times.

Access

The ACML module is no longer loaded as part of the default PrgEnv environment on Hopper. Instead, BLAS and LAPACK functionality is now provided by Cray LibSci. If you need ACML for FFT functions, math functions, or random number generators, you can load its module:

module load acml

Using ACML

Here is a sample Fortran code using several ACML random number generator routines to generate distinct arrays of random values on different processors.  To compile this code on Hopper use:

module load acml
ftn test_ACML.f -L$ACML_DIR/pgi64/lib -lacml

Documentation

  • See the documents in $ACML_DIR/Doc and various 'examples' directories in $ACML_DIR on Hopper.
  • ACML Users Guide

Availability

PackagePlatformCategoryVersionModuleInstall DateDate Made Default
acml genepool libraries/ math 5.1.0 acml/5.1.0 2012-07-07
ACML hopper libraries/ math 4.4.0 acml/4.4.0 2010-09-01 2010-09-08
acml hopper libraries/ math 5.1.0 acml/5.1.0 2012-03-06 2012-05-08
acml phoebe libraries/ general 5.1.0 acml/5.1.0 2012-07-07