Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-dev] Tagged RC2

Hi all,

I've just tagged the repository as RC2. ***If anyone knows how to make this visible using anonymous access, please let me know.***

As usual, any bugs or feedback is appreciated. Please open bugs against RC2.

Greg

Release Information
---------------------------

1. Features

This version of PTP supports debugging of MPI and non-MPI parallel programs.

It has only been tested on MacOS X and Linux. It should work on any type of cluster supported by OpenMPI, except that gdb must be available on the nodes.

Eclipse must be running on the head node.

1. RC2 comprises the following plugins:

core/
org.eclipse.ptp.core
org.eclipse.ptp.launch
org.eclipse.ptp.orte
org.eclipse.ptp.ui

debug/
org.eclipse.ptp.debug.core
org.eclipse.ptp.debug.external
org.eclipse.ptp.debug.sdm
org.eclipse.ptp.debug.ui

doc/
org.eclipse.ptp.help

features/
org.eclipse.ptp-feature

lang/
org.eclipse.fdt.core
org.eclipse.fdt.managedbuilder.core
org.eclipse.fdt.managedbuilder.tests
org.eclipse.fdt.managedbuilder.ui
org.eclipse.fdt.ui
org.eclipse.fdt-feature

tools/
org.eclipse.ptp.mpi.core
org.eclipse.ptp.mpi.help
org.eclipse.ptp.mpi-feature

2. Prerequisites

You will need to build and install OpenMPI 1.1a1r8100 or later. OpenMPI builds can be obtained from the web site http://www.open- mpi.org. Note that this is from the trunk, not the 1.0.x series. PTP uses some features of OpenMPI that have only recently been added, so unfortunately it is not possible to use the current release 1.0 version.

If you have another MPI implementation installed, make sure that your path is set so that OpenMPI comes first before going any further.

3. Installing PTP

Once you have downloaded the plugins from CVS, you will need to build the orte_server and parallel debugger (sdm).

For the parallel debugger, do the following:

a. Change to <workspace>/org.eclipse.ptp.debug.sdm where <workspace> is the path of your Eclipse workspace
b. Run the command ./autogen.sh
c. Run ./configure

Now go back to Eclipse and switch to the C/C++ perspective. In the 'Make Targets' view, double click on the 'all' targets for both org.eclipse.ptp.orte and org.eclipse.ptp.debug.sdm.

4. Configuring PTP

Currently RC2 can only be run as an Eclipse Application launched from Eclipse.

Create an 'Eclipse Application' launch configuration if you don't already have one and launch it.

When the new IDE starts, go to Window->Preferences and go to PTP- >Open RTE (do this *before* changing the control and monitoring system settings).

Using the browse button, choose the location of the 'orted' program that you installed in step 2 above. Do not change the arguments.

Using the browse button, choose the location of the 'orte_server' program you built in step 3 above. This will normally be in your workspace somewhere. Leave the port setting blank. Click on 'Apply'.

Go to PTP->Debug->PTP Debug. Using the browse button, choose the location of the 'sdm' program you built in step 3 above. Click on 'Apply'.

Now go back to PTP and select 'Open Runtime Environment' for both the Control and Monitoring System settings. Click on 'Apply' and you should see the 'orte_server' program launch in the console of your main Eclipse.

5. Running PTP

Build an MPI program in the normal manner.

Switch to the 'PTP Runtime' perspective. If you're running on a single machine, you should see one node. You should be able to create a 'Parallel Application' launch configuration and run the program.

Switch to the 'PTP Debug' perspective. Make sure 'Stop in main' was selected in the launch configuration. Launch the program and after a few seconds the debugger should attach. Do not try and debug too many processes on the local machine or you will get timeout problems.








Back to the top