Launching Parallel Programs
Topics include:
- selecting the machine to run on
- selecting executable to run
- supplying resource requirements (currently only number of
processes, but this will include other requirements, such as scheduler information, later)
- debugger information
Creating a parallel launch configuration
- Open the run configuration dialog (Run ->Run...)
or click the run icon on the tool bar and select Run...
- Create a new Parallel Application by clicking "Parallel Application" and
then clicking on the "New" button below.
Setting parallel launch configuration parameters
- Enter a name for the configuration in the "Name:" field.
Here we use the same name as the project, MyCProject.
- In the Main Tab:
- Choose the project
- Choose the executable from the project (see red arrows)
- Select the Arguments tab
- Enter any program arguments
- Change working directory if necessary

- Select the Parallel Tab
- Choose the machine that the job will run on
- Enter the number of processes to run, which was probably
set to "0" initially. Enter a value > 0.
- This will dismiss the Error at the top of the
dialog which reports "[Parallel]: Value must be an Integer."
- Actually, this should probably say "an integer greater than zero."
- Select the Debugger Tab
- Select the Debugger that will control the parallel processes
by selecting "SDM" (the PTP's Scalable Debug Manager) from the selection menu.
- This will dismiss the Error at the top of the
dialog which reports "[Debugger]: No debugger available."
Run the parallel job
- Click on the Run button (or hit "Apply" to save these settings
if you do not intend to launch immediately.)
- The parallel program begins execution...
Continue with Monitoring Parallel
Program execution with the PTP Runtime Perspective
.
Back to Top | Back to Table of Contents