Difference between revisions of "ACML"

From CBLFS
Jump to navigationJump to search
(Added page.)
 
m
Line 33: Line 33:
 
Move the documentation to a standard location:
 
Move the documentation to a standard location:
  
     install -v -m755 -d /opt/share/doc/acml-3.5.0
+
     install -v -m755 -d /opt/share/doc/acml-3.5.0 &&
     install -v -m644 ACML-EULA.txt README.64-bit /opt/share/doc/acml-3.5.0
+
     install -v -m644 ACML-EULA.txt README.64-bit /opt/share/doc/acml-3.5.0 &&
     mv -v /opt/acml3.5.0/{*.txt,ReleaseNote*} /opt/share/doc/acml-3.5.0
+
     mv -v /opt/acml3.5.0/{*.txt,ReleaseNote*} /opt/share/doc/acml-3.5.0 &&
     mv -v /opt/acml3.5.0/Doc/*.{pdf,txt,inf*} /opt/share/doc/acml-3.5.0
+
     mv -v /opt/acml3.5.0/Doc/*.{pdf,txt,inf*} /opt/share/doc/acml-3.5.0 &&
 
     mv -v /opt/acml3.5.0/Doc/html/* /opt/share/doc/acml-3.5.0
 
     mv -v /opt/acml3.5.0/Doc/html/* /opt/share/doc/acml-3.5.0
  

Revision as of 14:13, 7 November 2006

Download Source: http://developer.amd.com/acml.jsp (to download one or more tarball acml-3-5-0-gfortran-32bit, acml-3-5-0-gfortran-64bit, acml-3-5-0-gnu-32bit, or acml-3-5-0-gnu-64bit)

ACML

AMD Core Mathematics Library (ACML) contains

  • Full implementation of BLAS, with key routines optimized for high performance on AMD processors.
  • Full suite of LAPACK routines optimized to achieve considerably higher performance than standard LAPACK implementations.
  • Comprehensive suite of Fast Fourier Transforms (FFTs) in both single-, double-, single-complex and double-complex data types.
  • Fast scalar, vector, and array math transcendental library routines optimized for high performance on AMD processors.
  • Random Number Generators in both single- and double-precision.

To obtain the ACML, you will be required to register with AMD and be at least 14-years old. Also note that the license does not allow redistribution. The packages compiled with gfortran provide libraries optimized for single- and multi-processor machines.

Non-Multilib or Multilib

Create a directory to download and unpack the tarballs.

  mkdir acml &&
  cd acml

After retrieving and unpacking the tarballs, install each in turn:

  ./install-<package>.sh

where <package> is acml-3-5-0-gfortran-32bit, acml-3-5-0-gfortran-64bit, acml-3-5-0-gnu-32bit, or acml-3-5-0-gnu-64bit.

You will be required to accept the licensing agreement after which you will be prompted for a top level installation directory. The default is /opt/acml3.5.0. Each package will install its headers and libraries in separate subdirectories of the top level directory.

Move the documentation to a standard location:

   install -v -m755 -d /opt/share/doc/acml-3.5.0 && 
   install -v -m644 ACML-EULA.txt README.64-bit /opt/share/doc/acml-3.5.0 && 
   mv -v /opt/acml3.5.0/{*.txt,ReleaseNote*} /opt/share/doc/acml-3.5.0 && 
   mv -v /opt/acml3.5.0/Doc/*.{pdf,txt,inf*} /opt/share/doc/acml-3.5.0 && 
   mv -v /opt/acml3.5.0/Doc/html/* /opt/share/doc/acml-3.5.0

Contents

  • Installed Programs: cpuid
  • Installed Libraries: libacml.{so,a}, libacml_mv.{so,a}
  • Installed Directories: /opt/acml3.5.0/{gfortran32,gfortran32_mp,gfortran64,gfortran64_mp,gnu32,gnu64}/{examples,include,lib}

Short Description

  • cpuid - binary utility to determine if your processor supports sse and sse2. Use cat /proc/cpuinfo | grep flags instead.