IBM Support

Mathematical Acceleration Subsystem (MASS) Libraries for Linux (Little Endian) - Latest Version

Download


Abstract

The MASS libraries consist of a set of mathematical functions for C, C++, and Fortran-language applications that are tuned for specific POWER architectures.

Download Description

The MASS libraries for Linux (Little Endian), version 8.1.3, are packaged as a compressed tar file, MASS_8.1.3_linux_LE.tar.gz.

Version 8.1.3:


- Provides a vector library libmassvp8.a that contains the following routines tuned for POWER8 processors: vacos, vacosh, vasin, vasinh, vatan2, vatan*, vatanh, vcbrt, vcos, vcosisin, vcosh, vdint, vdiv, vdnint, verfc*, verf*, vexp2*, vexp2m1*, vexp, vexpm1, vhypot*, vlgamma*, vlog10, vlog1p, vlog2*, vlog21p*, vlog, vpow, vqdrt, vrcbrt, vrec, vrqdrt, vrsqrt, vsin, vsincos, vsinh, vsqrt, vtan, vtanh, vsacos, vsacosh, vsasin, vsasinh, vsatan2, vsatan*, vsatanh, vscbrt, vscos, vscosisin, vscosh, vsdiv, vserfc*, vserf*, vsexp2*, vsexp2m1*, vsexp, vsexpm1, vshypot*, vslog10, vslog1p, vslog2*, vslog21p*, vslog, vspow, vsqdrt, vsrcbrt, vsrec, vsrqdrt, vsrsqrt, vssin, vssincos, vssinh, vssqrt, vstan, vstanh, vpopcnt4, vpopcnt8.

- Provides a SIMD library libmass_simdp8.a that contains the following routines tuned for POWER8 processors: acosd2, asind2, atan2d2, atand2, atanhd2, cbrtd2, cosd2, coshd2, divd2, erfcd2, erfd2, exp2d2, exp2m1d2, expd2, expm1d2, hypotd2, lgammad2, log10d2, log1pd2, log2d2, log21pd2, logd2, powd2, qdrtd2, rcbrtd2, recipd2, rqdrtd2, rsqrtd2, sind2,


sincosd2, sinhd2, sqrtd2, tand2, tanhd2, acosf4, acoshf4, asinf4, asinhf4, atan2f4, atanf4, atanhf4, cbrtf4, cosf4, coshf4, divf4, erfcf4, erff4, expf4, exp2f4, expm1f4, exp2m1f4, hypotf4, log10f4, log1pf4, log2f4, log21pf4, logf4, powf4, qdrtf4, rcbrtf4, recipf4, rqdrtf4, rsqrtf4, sinf4, sincosf4, sinhf4, sqrtf4, tanf4, tanhf4

- Provides a scalar library libmass.a that contains the following routines tuned for POWER8 processors: acos, acosh, asin, asinh, atan2, atan, atanh, cbrt, copysign, cos, cosh, cosisin, dnint, erf, erfc, exp, expm1, hypot, lgamma, log, log10, log1p, pow, rsqrt, sin, sincos, sinh, sqrt, tan, tanh, acosf, acoshf, asinf, asinhf, atan2f, atanf, atanhf, cbrtf, copysignf, cosf, coshf, erff, erfcf, expf, expm1f, hypotf, lgammaf, logf, log10f, log1pf, powf, rsqrtf, sinf, sincosf, sinhf, sqrtf, tanf, tanhf

Prerequisites

Note: If you are using any of the following compilers, be aware that a fully-supported version of the MASS libraries for Linux (little endian) is shipped with the compiler, while any MASS libraries obtained from this download are not officially supported.

* IBM XL C/C++ for Linux, V13.1 or higher
* IBM XL Fortran for Linux, V15.1 or higher

We recommend using MASS with the IBM XL compilers, since they provide optimizations closely-coupled to MASS for ease of use and enhanced performance.

Installation Instructions

The MASS libraries for Linux (Little Endian) are packaged as a compressed tar file, MASS_8.1.3_linux_LE.tar.gz. The license documents are included in the tar package, and are also provided for separate download.

The tar file creates the directory mass/8.1.3/linux_LE with subdirectories LICENSE, lib, include, and src. These directories contain the following files:

* LICENSE/
The MASS license documents.
* lib/
libmass.a - 64-bit MASS scalar library with functions tuned for the POWER8 processor.
libmassvp8.a - 64-bit MASS vector library with functions tuned for the POWER8 processor.
libmassv.a - A link to libmassvp8.a.
libmass_simdp8.a - 64-bit MASS SIMD library with functions tuned for the POWER8 processor.
* include/
mass.include - Header file containing the Fortran interface block for scalar functions that are not Fortran intrinsics.
massv.include - Header file containing the Fortran interface blocks for the vector functions.
mass.h - Header file containing the C/C++ prototype for scalar functions not in math.h.
massv.h - Header file containing C/C++ prototypes for the vector functions.
* src/
libmassv.f - Fortran source file of simple loops for the MASS vector functions, for portability on non-IBM processors.
libmassv.c - C/C++ source file of simple loops for the MASS vector functions, for portability on non-IBM processors.

The MASS libraries are more convenient to use when they are installed with root access and linked to the conventional /usr/lib/ directory because the user can specify the shorthand -lmass flags during compilation, instead of specifying an explicit path for the libraries.

To download and install the MASS libraries:

1. Download the tar file.

2. Place the tar file in a temporary directory (e.g. /tmp).

3. Go to the directory where you would like the MASS libraries to exist on the system (e.g. /home/userA/):
(You will need root authority if you try to place the MASS libraries in some system directories, such as /usr/local)

cd /home/userA/

4. Uncompress and untar the tar file:

tar -xzvf MASS_8.1.3_linux_LE.tar.gz

5. If you need to link without using the -L path at compile time, you will need to create symbolic links as follows (you require
root authority in this step):

ln -s /home/userA/mass/8.1.3/linux_LE/lib/* /usr/lib/

Off
[{"DNLabel":"LICENSE","DNDate":"16-5-9","DNLang":"English","DNSize":"2723840","DNPlat":{"label":"Linux","code":"PF016"},"DNURL":"ftp://public.dhe.ibm.com/aix/products/ccpp/mass/license.tar","DNURL_FTP":" ","DDURL":null},{"DNLabel":"MASS 8.1.3 for Linux (little endian)","DNDate":"16-2-29","DNLang":"English","DNSize":"6401869","DNPlat":{"label":"Linux","code":"PF016"},"DNURL":"ftp://public.dhe.ibm.com/aix/products/ccpp/mass/linux/MASS_8.1.3_linux_LE.tar.gz","DNURL_FTP":" ","DDURL":null}]

Technical Support

Note: If you are using any of the following compilers, be aware that a fully-supported version of the MASS libraries for Linux (little endian) is shipped with the compiler, while any MASS libraries obtained from this download are not officially supported.

* IBM XL C/C++ for Linux, V13.1 or higher
* IBM XL Fortran for Linux, V15.1 or higher

We recommend using MASS with the IBM XL compilers, since they provide optimizations closely-coupled to MASS for ease of use and enhanced performance.

The software provided in this Web download is not officially supported by IBM. However, you can send queries to the following e-mail address:

masslib@ca.ibm.com

[{"Product":{"code":"SSVKBV","label":"Mathematical Acceleration Subsystem"},"Business Unit":{"code":"BU050","label":"BU NOT IDENTIFIED"},"Component":"Downloads","Platform":[{"code":"PF016","label":"Linux"}],"Version":"8.1.3","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
21 June 2019

UID

swg24041805