Compiling and linking a program with MASS

To compile an application that calls the functions in the scalar, SIMD, or vector MASS libraries, specify mass, mass_simdp7, and/or one of massv, massvp3, massvp4, massvp5, massvp6, massvp7 on the -l linker option respectively.

For example, if the MASS libraries are installed in the default directory, you can specify one of the following:
Link with scalar library libmass.a and vector library libmassvp7.a
xlc -qarch=pwr7 progc.c -o progc -lmass -lmassvp7
Link with SIMD library libmass_simdp7.a
xlc -qarch=pwr7 progc.c -o progc -lmass_simdp7

The MASS functions must run in the default rounding mode and floating-point exception trapping settings.