Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

PTP/environment setup 21

< PTP
Revision as of 13:04, 18 March 2009 by G.watson.computer.org (Talk | contribs) (Checkout PTP Plugins)

Prerequisites

  1. Eclipse 3.4 (Ganymede)
  2. CDT 5.0
  3. To run full PTP parallel application monitoring/debugging: Linux or Mac OS X, and OpenMPI
  4. To run/debug remote applications, and/or run only PLDT analysis, OpenMPI isn't required, and all should work on Windows

Install steps

Install Eclipse

  1. Install Ganymede - download directly from http://download.eclipse.org/eclipse/downloads/ - choose 3.4, latest version, full SDK
  2. Download CDT 5.0 - get the latest e.g. from http://download.eclipse.org/tools/cdt/builds - save the cdt-master file, to use in software update steps below
  3. Launch Eclipse (Ganymede)
  4. Install CDT from the update manager:
    1. Help > Software Updates ...
    2. Make sure 'Available Software' is selected at the top
    3. Click Add site, archive, and locate the cdt-master-whatever-zip you downloaded above; hit OK
    4. Select at least the 3 items under CDT Main features (make sure they are checked)
    5. Click Install ... Next, Accept, Finish
  5. Install RSE from the update manager:

Configure CVS Access

  1. Switch to the CVS perspective and create a new repository location:
    • Host: dev.eclipse.org
    • Repository path: /cvsroot/tools
    • User: <yourCommitterID> or anonymous
    • Password: <yourPW> or empty for anonymous access
    • Connection type: extssh for committer access, or pserver for anonymous access
  2. After creating the repository location, expand it and expand HEAD. All the PTP content is under org.eclipse.ptp.

Checkout PTP Plugins

The easiest way to do this is to import using team project sets. The following table summarizes the available sets in the releng/ptp_project_sets project:

Project Set Contents Committer Access Anonymous Access
All 2.1 Plugins ptp-2.1-all-committer.psf ptp-2.1-all-anonymous.psf
All HEAD Plugins ptp-HEAD-all-committer.psf ptp-HEAD-all-anonymous.psf

Use the files in the Committer Access column if you are a committer. Otherwise, use the files in the Anonymous Access column. This will check out ALL the plugins currently in PTP. If you want to only work on a selection, you'll need to remove uneeded plugins from your workspace.

  1. Download the appropriate psf file and save it somewhere.
  2. Right click in the Package Explorer and select Import....
  3. Choose Team Project Set from the Team folder and click Next >.
  4. Enter the filename of the psf file and click Finish.
  5. If you see a
  6. The projects will be checked out and created in your workspace.

You should now have all the plug-in projects in your workspace.

Launching a runtime workbench running the code you checked out into your workspace

  1. Run > Debug Configurations ...
  2. Double-click on 'Eclipse Application' - or click and click on the 'new' icon
  3. Defaults are probably ok to run with all the plugin projects in your workspace; hit 'Debug' in lower right corner
  4. Eclipse comes up. Switch to C/C++ perspective if needed
  5. For details on creating an MPI or OpenMP project, see Help > Help Contents ...

Back to the top