4.4. Running Serial Applications

Serial VSIPL++ applications are run like other serial programs on your system. No special command-line arguments are required.

On Cell/B.E. it is necessary to set the ALF_LIBRARY_PATH environment variable before running Sourcery VSIPL++ aplications. This variable should contain the name of the library directory containing the files 'cml_kernels.so' and 'svpp_kernels.so.' This can be queried from pkg-config:

> export ALF_LIBRARY_PATH='pkg-config vsipl++ --variable libdir'

On most GNU/Linux systems, serial applications are run by typing their name at the command prompt:

> ./example1

On most Mercury MCOE systems, serial applications are run using the sysmc and runmc commands:

> sysmc -ce CE -bcs=0 init
> runmc -ce CE ./example1.ppc
> sysmc -ce CE reset

For more details, refer to your system documentation.