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

Difference between revisions of "PTP/environment setup 21"

< PTP
(Launching a runtime workbench running the code you checked out into your workspace)
(Launching a runtime workbench running the code you checked out into your workspace)
Line 23: Line 23:
 
# Double-click on 'Eclipse Application'  - or click and click on the 'new' icon
 
# Double-click on 'Eclipse Application'  - or click and click on the 'new' icon
 
# Defaults are probably ok to run with all the plugin projects in your workspace; hit 'Debug' in lower right corner
 
# Defaults are probably ok to run with all the plugin projects in your workspace; hit 'Debug' in lower right corner
 +
# Eclipse comes up. Switch to C/C++ perspective if needed
 +
# For details on creating an MPI or OPenMP project, see Help > Help Contents ...

Revision as of 20:08, 7 May 2008

PTP Environment Setup for PTP 2.1 development

Prerequisites

  1. Eclipse 3.4 (Ganymede)
  2. CDT 5.0
  3. OpenMPI, if you want to run parallel programs (Mac OS X or LInux)
  4. If just running PLDT analysis, OpenMPI isn't required, and all will work on Windows

Install steps

  1. Install Ganymede (download from eclipse.org/downloads, Eclipse Classic, Development, Get Eclipse 3.4M7 aka Ganymede)
  2. Download CDT 5.0 - get from http://download.eclipse.org/tools/cdt/builds/5.0.0/index.html - save the cdt-master file, will use it later
  3. Launch Eclipse (Ganymede) and install CDT
    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
  4. Check out PTP code from eclipse.org repository
    • See instructions at [1] to check out code via project sets

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