Difference between revisions of "ACML"

From CBLFS
Jump to navigationJump to search
(Versioning template.)
(Edited to conform with template.)
Line 4: Line 4:
 
| 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)
 
| 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 =
+
= Introduction to ACML =
  
 
AMD Core Mathematics Library (ACML) contains  
 
AMD Core Mathematics Library (ACML) contains  
Line 14: Line 14:
 
* Random Number Generators in both single- and double-precision.
 
* 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.
+
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 without written consent from AMD.  The packages compiled with gfortran provide libraries optimized for single- and multi-processor machines.
  
== Non-Multilib or Multilib ==
+
Other vendors also provide BLAS and LAPACK libraries optimized for their processor.
 +
{| style="text-align: left; background-color: AliceBlue;"
 +
! Apple's
 +
|[http://developer.apple.com/hardwaredrivers/ve/index.html Velocity Engine]
 +
|-
 +
! Hewlett-Packard's
 +
|[http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,3315,00.html Mathematical Software Library] (MLIB) Free registration required.
 +
|-
 +
! IBM's
 +
|[http://www-03.ibm.com/systems/p/software/essl.html Engineering Scientific Subroutine Library] (ESSL)
 +
|-
 +
! Intel's
 +
|[http://www.intel.com/cd/software/products/asmo-na/eng/perflib/mkl/index.htm Math Kernel Library] (MKL) '''$399 US'''.
 +
|-
 +
! SGI's
 +
|[http://www.sgi.com/products/software/scsl.html Scientific Computing Software Library] (SCSL) Free registration required.
 +
|-
 +
! Sun's
 +
|[http://developers.sun.com/sunstudio/perflib_index.html Sun Performance Library]; Free to registered SDN members.
 +
|}
 +
 
 +
= Non-Multilib or Multilib =
  
 
Create a directory to download and unpack the tarballs.
 
Create a directory to download and unpack the tarballs.
Line 33: Line 54:
 
Move the documentation to a standard location:
 
Move the documentation to a standard location:
  
     install -v -m755 -d /opt/share/doc/acml-{{ACML-Version}} &&  
+
     install -v -m755 -d /usr/share/doc/acml-{{ACML-Version}} &&  
     install -v -m644 ACML-EULA.txt README.64-bit /opt/share/doc/acml-{{ACML-Version}} &&  
+
     install -v -m644 ACML-EULA.txt README.64-bit /usr/share/doc/acml-{{ACML-Version}} &&  
     mv -v /opt/acml{{ACML-Version}}/{*.txt,ReleaseNote*} /opt/share/doc/acml-{{ACML-Version}} &&  
+
     mv -v /opt/acml{{ACML-Version}}/{*.txt,ReleaseNote*} /usr/share/doc/acml-{{ACML-Version}} &&  
     mv -v /opt/acml{{ACML-Version}}/Doc/*.{pdf,txt,inf*} /opt/share/doc/acml-{{ACML-Version}} &&  
+
     mv -v /opt/acml{{ACML-Version}}/Doc/*.{pdf,txt,inf*} /usr/share/doc/acml-{{ACML-Version}} &&  
     mv -v /opt/acml{{ACML-Version}}/Doc/html/* /opt/share/doc/acml-{{ACML-Version}}
+
     mv -v /opt/acml{{ACML-Version}}/Doc/html/* /usr/share/doc/acml-{{ACML-Version}}
  
== Contents ==
+
= Contents =
  
* Installed Programs: cpuid
+
{| style="text-align: left;"
* Installed Libraries: libacml.{so,a}, libacml_mv.{so,a}
+
|-valign="top"
* Installed Directories: /opt/acml{{ACML-Version}}/{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}
 +
|-valign="top"
 +
! Installed Programs:
 +
| cpuid
 +
|-valign="top"
 +
! Installed Libraries:
 +
| libacml.{so,a}
 +
| libacml_mv.{so,a}
 +
|}
  
=== Short Description ===
+
== Short Descriptions ==
  
* cpuid - binary utility to determine if your processor supports sse and sse2.  Use cat /proc/cpuinfo | grep flags instead.
+
{| style="text-align: left;"
 +
|-valign="top"
 +
! cpuid:
 +
|binary utility to determine if your processor supports sse and sse2.  Execute cat /proc/cpuinfo for the same results.
 +
|}

Revision as of 13:45, 18 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)

Introduction to 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 without written consent from AMD. The packages compiled with gfortran provide libraries optimized for single- and multi-processor machines.

Other vendors also provide BLAS and LAPACK libraries optimized for their processor.

Apple's Velocity Engine
Hewlett-Packard's Mathematical Software Library (MLIB) Free registration required.
IBM's Engineering Scientific Subroutine Library (ESSL)
Intel's Math Kernel Library (MKL) $399 US.
SGI's Scientific Computing Software Library (SCSL) Free registration required.
Sun's Sun Performance Library; Free to registered SDN members.

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 /usr/share/doc/acml-3.6.1 && 
   install -v -m644 ACML-EULA.txt README.64-bit /usr/share/doc/acml-3.6.1 && 
   mv -v /opt/acml3.6.1/{*.txt,ReleaseNote*} /usr/share/doc/acml-3.6.1 && 
   mv -v /opt/acml3.6.1/Doc/*.{pdf,txt,inf*} /usr/share/doc/acml-3.6.1 && 
   mv -v /opt/acml3.6.1/Doc/html/* /usr/share/doc/acml-3.6.1

Contents

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

Short Descriptions

cpuid: binary utility to determine if your processor supports sse and sse2. Execute cat /proc/cpuinfo for the same results.