This document provides an overview of the MASS vector function source libraries.
Successful use of the MASS vector libraries is contingent on the user vectorizing the application. To assist in that effort, the MASS vector Fortran and C/C++ source libraries are provided to enable application developers to write portable vector code that can run on non-IBM systems where the MASS libraries are not available.
The Fortran source library, libmassv.f, includes simple Fortran code to take the place of the vector functions in the MASS vector libraries.
The C/C++ source library, libmassv.c, includes simple C/C++ code to take the place of the vector functions in the MASS vector libraries.
The syntax for the vector functions is visible in libmassv.f and libmassv.c, and the user can use these functions to write code that may port to non-IBM systems. The user can then use the faster MASS vector libraries with that same code when running on a compatible IBM system.
Note that the source libraries are not intended to provide high performance. They are provided only for portability purposes, to assist application development on non-IBM systems.