Mathematical Acceleration Subsystem (MASS) libraries for AIX - version 6.0

Downloadable files


Abstract

The MASS libraries for AIX 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 v6.0 for AIX 5 are packaged as a compressed tar file, MASS_6.0_aix5.tar.Z.

Version 6.0

- Adds a new vector library libmassvp7.a that contains the following routines tuned for POWER7 processors (functions new in this version are followed by *): 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.

- Adds a new SIMD library libmass_simdp7.a that contains the following routines tuned for POWER7 processors (all these functions are new in this version): 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.

Installation Instructions

The MASS libraries are packaged as a compressed tar file, MASS_6.0_aix5.tar.Z The .tar package contains the following files:

* libmass.a - MASS scalar library.
* libmassv.a - MASS vector library for general use.
* libmassvp3.a - MASS vector library with functions tuned for the POWER3 architecture.
* libmassvp4.a - MASS vector library with functions tuned for the POWER4 architecture.
* libmassvp5.a - MASS vector library with functions tuned for the POWER5 architecture.
* libmassvp6.a - MASS vector library with functions tuned for the POWER6 architecture.
* libmassvp7.a - MASS vector library with functions tuned for the POWER7 architecture.
* libmass_simdp7.a - MASS SIMD library with functions tuned for the POWER7 architecture.
* 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.
* LICENSE - MASS license.
* mass.include - Header file containing the Fortran interface block for the rsqrt scalar function.
* massv.include - Header file containing the Fortran interface blocks for the vector functions.
* mass.h - Header file containing the C/C++ prototype for the dnint scalar function.
* 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. If you have root access, follow the instructions for installing as root. Otherwise, follow the instructions for installing as non-root.

The .tar file creates the subdirectory /6.0/aix5/lib/ in the current directory.

Installing as Root
----------------------
1. login as root
-- or --
su to root

2. Change to the /usr/lpp/ directory:
cd /usr/lpp

3. Uncompress the .tar file:

zcat /tmp/MASS_6.0_aix5.tar.Z | tar -xvf -
-- or --
uncompress /tmp/MASS_6.0_aix5.tar.Z
tar -xvf /tmp/MASS_6.0_aix5.tar.Z

MASS files are restored to the directory /usr/lpp/mass/6.0/aix5/lib/.

4. Create symbolic links from the installation directory to /usr/lib/ so that users can specify a flag, such as -lmass, to link MASS libraries:

ln -s /usr/lpp/mass/6.0/aix5/lib/libmass.a /usr/lib/libmass.a
ln -s /usr/lpp/mass/6.0/aix5/lib/libmassv.a /usr/lib/libmassv.a
ln -s /usr/lpp/mass/6.0/aix5/lib/libmassvp3.a /usr/lib/libmassvp3.a
ln -s /usr/lpp/mass/6.0/aix5/lib/libmassvp4.a /usr/lib/libmassvp4.a
ln -s /usr/lpp/mass/6.0/aix5/lib/libmassvp5.a /usr/lib/libmassvp5.a
ln -s /usr/lpp/mass/6.0/aix5/lib/libmassvp6.a /usr/lib/libmassvp6.a
ln -s /usr/lpp/mass/6.0/aix5/lib/libmassvp7.a /usr/lib/libmassvp7.a
ln -s /usr/lpp/mass/6.0/aix5/lib/libmass_simdp7.a /usr/lib/libmass_simdp7.a

Installing as Non-Root
----------------------------
1. Go to the directory where the MASS subdirectory should be created.

2. zcat /tmp/MASS_6.0_aix5.tar.Z | tar -xvf -
-- or --
uncompress /tmp/MASS_6.0_aix5.tar.Z
tar -xvf /tmp/MASS_6.0_aix5.tar.Z

Note: Some Web browsers will uncompress the tar file before restoring. If the previous instructions result in the error message:

MASS_6.0_aix5.tar.Z: not in compressed format

then try the following:

mv MASS_6.0_aix5.tar.Z MASS_6.0_aix5.tar
tar -xvf /tmp/MASS_6.0_aix5.tar

Download package


Download RELEASE DATE LANGUAGE SIZE(Bytes) Download Options
MASS Version 6.0 for AIX 5 4/23/2010 English 8595419 FTP

Technical support

If you are using any of the following IBM compilers, be aware that a version of the MASS libraries is shipped with the compiler. For these, follow the normal support process for your compiler.

* IBM XL C/C++ Enterprise Edition for AIX, V7.0 or higher
* IBM XL C Enterprise Edition for AIX, V7.0 or higher
* IBM XL Fortran Enterprise for AIX, V9.1 or higher

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

Rate this page:

(0 users)Average rating

Document information


More support for:

Mathematical Acceleration Subsystem
Downloads

Software version:

6.0

Operating system(s):

AIX, AIX5L, AIXL

Reference #:

4026515

Modified date:

2010-10-27

Translate my page

Machine Translation

Content navigation