scientifc libraries

acml

http://developer.amd.com/libraries/acml/downloads/pages/default.aspx

Instructions for users

There are different ACMLs for different compilers. Pick the one that matches the compiler you want to use (module display acml shows the options) and then module load that one.

The 'up' versions are for running on a single cpu. You link those with -lacml. The 'mp' versions use OpenMP parallelization. You need to add an extra flag to tell your compiler to use this, usually -mp.

Usage

To use the ACML libraries type the commands below, based on the compiler you are using:

Compiler

Module Command

Intel Compilers

module load library/acml/4.4.0-intel

GNU Compilers

module load library/acml/4.4.0-gnu

acml-4-4-0-gfortran-64bit.tgz (26 MB)

acml-4-4-0-gfortran-64bit.tgz (26 MB)

mkdir -p /sw/library/acml/4.4.0/gnu

cp /data1/acml-4-4-0-gfortran-64bit.tgz .
 tar -zxvf acml-4-4-0-gfortran-64bit.tgz

sh  install-acml-4-4-0-gfortran-64bit.sh

The directory will be created if it does not already exist.
> /sw/library/acml/4.4.0/gnu/
====== ACML installation complete ======


acml-4-4-0-ifort-64bit.tgz (35 MB)

mkdir -p /sw/library/acml/4.4.0/intel
cd /sw/library/acml/4.4.0/intel
tar -zxvf /data1/acml-4-4-0-ifort-64bit.tgz

sh install-acml-4-4-0-ifort-64bit.sh

The directory will be created if it does not already exist.
> /sw/library/acml/4.4.0/intel
====== ACML installation complete ======

test program

cat acml_test.c

 

Ref

http://www.cac.cornell.edu/Ranger/Environment/compiler_acml.aspx