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 massvp4, massvp5, massvp6, massvp7 (32-bit), or mass_simdp7_64, and/or one of massvp4_64, massvp5_64, massvp6_64, massvp7_64 (64 bit) 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 (32-bit code)
xlc -qarch=pwr7 progc.c -o progc -lmass -lmassvp7
Link with SIMD library libmass_simdp7.a (32-bit code)
xlc -qarch=pwr7 progc.c -o progc -lmass_simdp7
Link with scalar library libmass.a and vector library libmassvp7.a (64-bit code)
xlc -qarch=pwr7 progc.c -o progc -lmass -lmassvp7_64 -q64
Link with SIMD library libmass_simdp7.a (64-bit code)
xlc -qarch=pwr7 progc.c -o progc -lmass_simdp7_64 -q64

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