Launching Parallel Programs Remotely
This describes how to launch a parallel program on a remote machine, with a remote
resource manager, which should have been set up as described in
Resource Managers under the description for a remote resource manager.
See also Launching parallel programs locally.
Topics include:
- selecting the machine to run on
- selecting executable to run
- supplying resource requirements
- debugger information (??)
The parallel launch configuration dialog
Note: Make sure the resource manager is running before creating
a launch configuration.
- Open the run configuration dialog (Run -> Open Run Dialog...)
or click the run icon on the tool bar and select Open Run Dialog...
- Create a new Parallel Application by clicking "Parallel Application" and
then clicking on the "New" button icon.
Enter a name for the configuration in the "Name:" field.
Here we use the same name as the project.
- In the Main Tab:
- Choose a resource manager (Note: a resource manager
must be running for it to appear in the drop-down list of resource managers here.)
- Choose the Parallel Project - on the local machine
- Choose the Application Program (executable) from the project - from the remote machine via the Browse button.
(it is probably located in the Debug folder, if this is a debug configruation)
- Select the Resources Tab
- Enter the number of processes to run, which was probably
set to "0" initially. Enter a value > 0.
- 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.
Under Debugger options, select path
to debugger executable by clicking Browse... and select the sdm
on the remote machine.
(This is probably in your
eclipse/plugins/org.eclipse.ptp.os.arch/bin directory,
where os.arch is your operating system and architecture, e.g.
org.eclipse.ptp.linux.x86)
- Select the Arguments tab if you need to change any information here.
- Enter any program arguments
- Change working directory if necessary
- Click on Run to launch the program.
- The parallel program begins execution...
Continue with Monitoring Parallel
Program execution with the PTP Runtime Perspective
.
Back to Top | Back to Table of Contents