Difference between revisions of "ACML"

From CBLFS
Jump to navigationJump to search
m
(Versioning template.)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!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)
+
| http://developer.amd.com/acml.jsp (to download one or more tarball acml-{{ACML-Version}}-gfortran-32bit, acml-{{ACML-Version}}-gfortran-64bit, acml-{{ACML-Version}}-gnu-32bit, or acml-{{ACML-Version}}-gnu-64bit)
 
|}
 
|}
 
= ACML =
 
= ACML =
Line 27: Line 27:
 
   ./install-<package>.sh
 
   ./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.
+
where <package> is acml-{{ACML-Version}}-gfortran-32bit, acml-{{ACML-Version}}-gfortran-64bit, acml-{{ACML-Version}}-gnu-32bit, or acml-{{ACML-Version}}-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.
+
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/acml{{ACML-Version}}.  Each package will install its headers and libraries in separate subdirectories of the top level directory.
  
 
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-{{ACML-Version}} &&  
     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-{{ACML-Version}} &&  
     mv -v /opt/acml3.5.0/{*.txt,ReleaseNote*} /opt/share/doc/acml-3.5.0 &&  
+
     mv -v /opt/acml{{ACML-Version}}/{*.txt,ReleaseNote*} /opt/share/doc/acml-{{ACML-Version}} &&  
     mv -v /opt/acml3.5.0/Doc/*.{pdf,txt,inf*} /opt/share/doc/acml-3.5.0 &&  
+
     mv -v /opt/acml{{ACML-Version}}/Doc/*.{pdf,txt,inf*} /opt/share/doc/acml-{{ACML-Version}} &&  
     mv -v /opt/acml3.5.0/Doc/html/* /opt/share/doc/acml-3.5.0
+
     mv -v /opt/acml{{ACML-Version}}/Doc/html/* /opt/share/doc/acml-{{ACML-Version}}
  
 
== Contents ==
 
== Contents ==
Line 43: Line 43:
 
* Installed Programs: cpuid
 
* Installed Programs: cpuid
 
* Installed Libraries: libacml.{so,a}, libacml_mv.{so,a}
 
* 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}
+
* Installed Directories: /opt/acml{{ACML-Version}}/{gfortran32,gfortran32_mp,gfortran64,gfortran64_mp,gnu32,gnu64}/{examples,include,lib}
  
 
=== Short Description ===
 
=== Short Description ===
  
 
* cpuid - binary utility to determine if your processor supports sse and sse2.  Use cat /proc/cpuinfo | grep flags instead.
 
* cpuid - binary utility to determine if your processor supports sse and sse2.  Use cat /proc/cpuinfo | grep flags instead.

Revision as of 20:41, 17 December 2006

Download Source: http://developer.amd.com/acml.jsp (to download one or more tarball acml-3.6.1-gfortran-32bit, acml-3.6.1-gfortran-64bit, acml-3.6.1-gnu-32bit, or acml-3.6.1-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.6.1-gfortran-32bit, acml-3.6.1-gfortran-64bit, acml-3.6.1-gnu-32bit, or acml-3.6.1-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.6.1. 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.6.1 && 
   install -v -m644 ACML-EULA.txt README.64-bit /opt/share/doc/acml-3.6.1 && 
   mv -v /opt/acml3.6.1/{*.txt,ReleaseNote*} /opt/share/doc/acml-3.6.1 && 
   mv -v /opt/acml3.6.1/Doc/*.{pdf,txt,inf*} /opt/share/doc/acml-3.6.1 && 
   mv -v /opt/acml3.6.1/Doc/html/* /opt/share/doc/acml-3.6.1

Contents

  • Installed Programs: cpuid
  • Installed Libraries: libacml.{so,a}, libacml_mv.{so,a}
  • Installed Directories: /opt/acml3.6.1/{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.