The MASS libraries for Linux consist of a set of mathematical functions for C, C++, and Fortran-language applications that are tuned for specific POWER architectures.
Unless noted otherwise, each successive MASS version includes the material from previous versions that has not been changed.
- Introduces 32- and 64-bit scalar libraries of mathematical intrinsic functions, libmass.a, and libmass_64.a, and 32- and 64-bit vector libraries libmassv.a, libmassv_64.a, libmassvp3.a, libmassvp3_64.a, libmassvp4.a, and libmassvp4_64.a (for generic POWER, POWER3, and POWER4, respectively), that offer tuned alternatives for functions in the Linux system math library. The vector functions vrec, vsqrt, vrsqrt, vsrec, vssqrt, and vsrsqrt are provided.
Version 4.1 Scalar (scalar_prelim)
- A preliminary release consisting of scalar libraries libmass.a, and libmass_64.a, containing exp and log functions. (Does not include the vector libraries.)
- Contains scalar and vector libraries including all functions in the previous versions, plus the following new functions. Scalar functions: atan, atan2, cos, cosh, dnint, pow, rsqrt, sin, sinh, sqrt, tan, tanh. Vector functions: vacos, vasin, vatan2, vcbrt, vcosh, vcosisin, vcos, vdint, vdiv, vdnint, vexpm1, vexp, vlog10, vlog1p, vlog, vpow, vrcbrt, vsin, vsinh, vtanh, vtan, vsacos, vsasin, vsatan2, vscbrt, vscosh, vscosisin, vscos, vsdiv, vsexpm1, vsexp, vslog10, vslog1p, vslog, vspow, vsrcbrt, vssin, vssinh, vstanh, vstan.
- Adds 14 new functions: sincos, cosisin, vacosh, vasinh, vatanh, vpopcnt4, vpopcnt8, vqdrt, vrqdrt, vsacosh, vsasinh, vsatanh, vsqdrt, and vsrqdrt.
- Adds a new library libmassvp4gp.a, which contains the following functions tuned for the POWER4 (GP) architecture: vdiv, vrec, vsdiv, vsrec.
- Adds a new library libmassvp5.a, which contains functions tuned for the POWER5 architecture.
- Improves the performance of many functions.
- Contains various bug fixes.
- The libmassv.a, libmassv_64.a, libmassvp3.a, and libmassvp3_64.a present in v4.2 are no longer included.
- Adds new vector libraries libmassvp6.a and libmassvp6_64.a that contain the full set of 60 MASS vector routines tuned for POWER6: vacos, vacosh, vasin, vasinh, vatan2, vatanh, vcbrt, vcos, vcosh, vcosisin, vdint, vdiv, vdnint, vexp, vexpm1, vlog, vlog10, vlog1p, vpopcnt4, vpopcnt8, vpow, vqdrt, vrcbrt, vrec, vrqdrt, vrsqrt, vsin, vsincos, vsinh, vsqrt, vtan, vtanh, vsacos, vsacosh, vsasin, vsasinh, vsatan2, vsatanh, vscbrt, vscos, vscosh, vscosisin, vsdiv, vsexp, vsexpm1, vslog, vslog10, vslog1p, vspow, vsqdrt, vsrcbrt, vsrec, vsrqdrt, vsrsqrt, vssin, vssincos, vssinh, vssqrt, vstan, vstanh.
- Adds 25 new single-precision scalar routines to libmass.a and libmass_64.a: acosf, acoshf, asinf, asinhf, atan2f, atanf, cbrtf, copysignf, atanhf, cosf, coshf, erfcf, erff, expf, expm1f, hypotf, lgammaf, log10f, log1pf, logf, powf, sinf, sinhf, tanf, tanhf.
- Adds 15 new double-precision scalar routines to libmass.a and libmass_64.a: acos, acosh, anint, asin, asinh, atanh, cbrt, copysign, cosisin, erf, erfc, hypot, lgamma, log10, sincos.
Note: If you are using any of the following products, be aware that a fully-supported version of the MASS libraries is shipped with the product, while any MASS libraries obtained from this download are not officially supported.
* IBM XL C/C++ Enterprise Edition for Linux, V7.0 or higher
* IBM XL C Enterprise Edition for Linux, V7.0 or higher
* IBM XL Fortran Enterprise for Linux, V9.1 or higher
The MASS libraries are packaged as a compressed tar file, MASS_N_OS.tar.gz, where N represents the MASS version (e.g. scalar_prelim or 4.2) and OS represents the Linux distribution and version number (e.g. RHEL3 or SLES9).
The .tar package contains the following files, depending on the version:
* libmass.a - 32-bit MASS scalar library for general use (version scalar_prelim, v4.2, and up).
* libmass_64.a - 64-bit MASS scalar library for general use (version scalar_prelim, v4.2, and up).
* LICENSE - MASS license.
* libmassv.a - 32-bit MASS vector library for general use (v4.2 and lower).
* libmassv_64.a - 64-bit MASS vector library for general use (v4.2 and lower).
* libmassvp3.a - 32-bit MASS vector library with functions tuned for the POWER3 architecture (v4.2 and lower).
* libmassvp3_64.a - 64-bit MASS vector library with functions tuned for the POWER3 architecture (v4.2 and lower).
* libmassvp4.a - 32-bit MASS vector library with functions tuned for the POWER4 architecture.
* libmassvp4_64.a - 64-bit MASS vector library with functions tuned for the POWER4 architecture.
* libmassvp5.a - 32-bit MASS vector library with functions tuned for the POWER5 architecture (v4.3 and up).
* libmassvp5_64.a - 64-bit MASS vector library with functions tuned for the POWER5 architecture (v4.3 and up).
* libmassvp6.a - 32-bit MASS vector library with functions tuned for the POWER6 architecture (v4.4 and up).
* libmassvp6_64.a - 64-bit MASS vector library with functions tuned for the POWER6 architecture (v4.4 and up).
* libmassv.f - Fortran source file of simple loops for the MASS vector functions, for use on non-IBM machines.
* libmassv.c - C/C++ source file of simple loops for the MASS vector functions, for use on non-IBM machines.
* mass.include - Header file containing the Fortran interface block for scalar functions that are not Fortran intrinsics (v4.2 and up).
* 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 (v4.2 and up).
* massv.h - Header file containing C/C++ prototypes for the vector functions.
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.
The tar file creates the directory mass/N/OS/ with subdirectories lib, lib64, include, and src, in the current directory, where N is the MASS version number and OS is the Linux distribution and version number.
To download and install the MASS libraries:
1. Download the correct tar ball based on your Linux distribution and version number.
2. Place the tar ball 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)
4. Uncompress and untar the tar ball:
tar -xzvf MASS_N_OS.tar.gz
where OS represents the Linux distribution and version number.
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/N/OS/lib/* /usr/lib/
ln -s /home/userA/mass/N/OS/lib64/* /usr/lib64/
|Download||RELEASE DATE||LANGUAGE||SIZE(Bytes)||Download Options|
|MASS 4.1 for RHEL3||10/5/2004||English||95531||FTP|
|MASS 4.1 for SLES9||10/5/2004||English||96888||FTP|
|MASS 4.1 Scalar for RHEL3||1/14/2005||English||9202||FTP|
|MASS 4.1 Scalar for SLES9||1/14/2005||English||9216||FTP|
|MASS 4.2 for RHEL3||4/6/2005||English||826739||FTP|
|MASS 4.2 for RHEL4||4/6/2005||English||826956||FTP|
|MASS 4.2 for SLES9||4/6/2005||English||826898||FTP|
|MASS 4.3 for RHEL4||23/12/2005||English||1621592||FTP|
|MASS 4.3 for SLES9||23/12/2005||English||1622105||FTP|
|MASS 4.4 for RHEL5||7/27/2007||English||2993562||FTP|
|MASS 4.4 for SLES10||7/27/2007||English||2992571||FTP|
The software provided in this Web download is not officially supported by IBM. However, you can send queries to the following e-mail address: