Skip to content

amdlibm: AMD Optimized BLAS libraries

Overview of package

Package: amdlibm
Description: AMD Optimized BLAS libraries
For more information: https://www.openblas.net/
Categories: SoftwareDevelopment
NumericalMethods
License: OpenSource (3-clause BSD)

General Usage

amdlibm is a library containing a collection of basic math functions optimized for AMD processors. It provides many routines from the list of standard C99 math functions. Applications can link into and invoke math functions from amdlibm libraries for better accuracy and performance as compared to the functions in the libraries shipped with the compiler.

The following environmental variables have been defined:

  • $AMDLIBM_ROOT has been set to the root of the amdlibm installation
  • $AMDLIBM_LIBDIR points to the directory containing the libraries
  • $AMDLIBM_INCDIR points to the directory containing the header files

You will probably wish to use these by adding the following flags to your compilation command (e.g. to CFLAGS in your Makefile):

  • -I$AMDLIBM_INCDIR

and the following flags to your link command (e.g. LDFLAGS in your Makefile):

  • -L$AMDLIBM_LIBDIR -Wl,-rpath,$AMDLIBM_LIBDIR

Available versions by cluster

This section lists the available versions of the package amdlibmon the UMD HPC clusters.

Versions available on the Zaratan cluster

Version Module tags CPU(s) optimized for GPU ready?
4.0 4.0 zen2 Yes
3.1 3.1 zen2 Yes