Enable trace collection for a specific number of processes using the PROCESS option.

To do this:

  1. Create a new configuration file.

  2. To get the trace data for four processes, specify the PROCESS option in the configuration file:

    PROCESS 0:3 ON
  3. Save the configuration file. Specify the name of the file, for example, my_settings_process.conf.

  4. Set the VT_CONFIG environment variable to the directory that contains the configuration file:

    VT_CONFIG=/<configuration file path name>/my_settings_process.conf
  5. Run the application.

    Linux* OS:

    $ mpirun -trace -n 4 ./poisson

    Windows* OS:

    > mpiexec -n 4 poisson.exe
For more complete information about compiler optimizations, see our Optimization Notice.