Skip to main content

Software  >  Rational  >  

Mathematical Acceleration Subsystem (MASS) libraries for Linux previous versions

 Downloadable files
 
Abstract
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.
 
Download Description
Unless noted otherwise, each successive MASS version includes the material from previous versions that has not been changed.

Version 4.1
- 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.)

Version 4.2
- 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.

Version 4.3
- 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.
 
Prerequisites
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
 
 
Installation Instructions
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).
* 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)

cd /home/userA/

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 package
Download RELEASE DATE LANGUAGE SIZE(Bytes) Download Options
MASS 4.1 for RHEL310/5/2004English95531FTP
MASS 4.1 for SLES910/5/2004English96888FTP
MASS 4.1 Scalar for RHEL31/14/2005English9202FTP
MASS 4.1 Scalar for SLES91/14/2005English9216FTP
MASS 4.2 for RHEL34/6/2005English826739FTP
MASS 4.2 for RHEL44/6/2005English826956FTP
MASS 4.2 for SLES94/6/2005English826898FTP
MASS 4.3 for RHEL423/12/2005English1621592FTP
MASS 4.3 for SLES923/12/2005English1622105FTP
 
Technical support
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
 
 

Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.
Rate this page
Please take a moment to complete this form to help us better serve you.
This material provides me with the information I need.




This material is clear and easy to understand.




Did the information help you to achieve your goal?
What updates, improvements, or related information would you like to see in this document?
Your response will be used to improve our document content. Requests for assistance, if applicable, should be submitted through your normal support channel as we cannot respond from this site.
Input the verification number to submit feedback:
Document information
 Product categories:
 Software
 Software Development
 Traditional Progamming Language & Compilers
 Mathematical Acceleration Subsystem
 Libraries
 Operating system(s):
  Linux
 Software version:
  4.1, 4.2, 4.3
 Reference #:
  4011315
 IBM Group:
 Software Group
 Modified date:
 2007-08-21

Translate My Page
 
 

Rate this page

Help us improve this page. Your response will be used to improve our document content. Requests for assistance, if applicable, should be submitted through your normal support channel as we cannot respond from this site.