Next: , Previous: Compiling SHMEM Programs, Up: Analyzing SHMEM Programs

4.2 Running SHMEM Programs

To run your instrumented application, use the ppwrun command in front of your application's run command invocation. Note that you must recompile your application first; for more information please see Compiling SHMEM Programs.

For instance, if you normally run your application using the following command:

     $ srun -n 16 ./myapp 1 2 3

you would use this command instead:

     $ ppwrun --output=myapp.par srun -n 16 ./myapp 1 2 3

For more information on the ppwrun command, please see ppwrun.

Note: The current OpenSHMEM support does not profile the following functions: start_pes, _my_pe,_num_pes, shmem_pe_accessible, shmem_add_accessible, shmem_ptr, shmemalign.