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.
Difference between revisions of "PTP/environment setup 21"
< PTP
(→Launching a runtime workbench running the code you checked out into your workspace) |
|||
(31 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
== Prerequisites == | == Prerequisites == | ||
# Eclipse 3.4 (Ganymede) | # Eclipse 3.4 (Ganymede) | ||
− | # CDT 5.0 | + | # CDT 5.0.2 |
− | # | + | # To run full PTP parallel application monitoring/debugging: Linux or Mac OS X, and OpenMPI or MPICH2 |
− | # | + | # To run/debug remote applications, and/or run only PLDT analysis, OpenMPI isn't required, and all should work on Windows |
== Install steps == | == Install steps == | ||
− | # Install Ganymede | + | |
− | # Download CDT 5.0 | + | === Install Eclipse === |
− | # | + | |
+ | # Install Eclipse Ganymede from http://download.eclipse.org/eclipse/downloads/ | ||
+ | #* Choose 3.4, latest version, full SDK | ||
+ | # Download the latest build of CDT 5.0.x (currently 5.0.2) from http://download.eclipse.org/tools/cdt/builds | ||
+ | #* Save the '''cdt-master-5.0.x-IYYYYMMDDHHMM.zip''' file, to use in software update steps below | ||
+ | # Unpack and launch Eclipse | ||
+ | # Install RSE from the Ganymede update site using the update manager: | ||
## Help > Software Updates ... | ## Help > Software Updates ... | ||
## Make sure 'Available Software' is selected at the top | ## Make sure 'Available Software' is selected at the top | ||
− | ## Click Add site, archive, and locate the | + | ## Open '''Ganymede Update Site''' |
+ | ## Open '''Remote Access and Device Development''' | ||
+ | ## Select '''Remote System Explorer End-User Runtime''' | ||
+ | ## Click Install ... Next, Accept, Finish | ||
+ | # Install CDT from the master file you downloaded in step 2: | ||
+ | ## Help > Software Updates ... | ||
+ | ## Make sure 'Available Software' is selected at the top | ||
+ | ## Click Add site, archive, and locate the CDT master ZIP file you downloaded above; hit OK | ||
## Select at least the 3 items under CDT Main features (make sure they are checked) | ## Select at least the 3 items under CDT Main features (make sure they are checked) | ||
## Click Install ... Next, Accept, Finish | ## Click Install ... Next, Accept, Finish | ||
− | # | + | |
− | #* | + | === Configure CVS Access === |
+ | |||
+ | # 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 | ||
+ | # After creating the repository location, expand it and expand HEAD. | ||
+ | |||
+ | All the PTP content is under '''org.eclipse.ptp'''. | ||
+ | |||
+ | == To check out PTP projects: == | ||
+ | |||
+ | * In CVS, check out org.eclipse.ptp/releng/ptp_project_sets as follows: | ||
+ | ** Window > Open Perspective > Other..., CVS Repository Exploring | ||
+ | ** Rightmouse in CVS Repositories view, New > Repository Location | ||
+ | *** Host: dev.eclipse.org, Repository path: /cvsroot/tools, User: anonymous | ||
+ | **** If you have a committer id on dev.eclipse.org, use that, enter the password, and change the Connection type to extssh | ||
+ | *** Hit Finish | ||
+ | ** Expand that repository and expand HEAD. Scroll down to org.eclipse.ptp and expand it | ||
+ | ** Under releng, check out ptp_project_sets | ||
+ | * Return to the Plug-in development Perspective | ||
+ | * In the ptp_project_sets project in your workspace, rightMouse on anonymous/ptp-2.1-all-anonymous.psf and select "Import project set" | ||
+ | ** If you have a committer id then use the psf file under committer/ | ||
+ | * It should check out everything you need. | ||
+ | |||
+ | These project set files 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. | ||
== 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 == | ||
# Run > Debug Configurations ... | # Run > Debug Configurations ... | ||
# 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 | ||
+ | # Eclipse comes up. Switch to C/C++ perspective if needed | ||
+ | # For details on creating an MPI or OpenMP project, see Help > Help Contents ... |
Latest revision as of 10:15, 25 November 2009
Contents
Prerequisites
- Eclipse 3.4 (Ganymede)
- CDT 5.0.2
- To run full PTP parallel application monitoring/debugging: Linux or Mac OS X, and OpenMPI or MPICH2
- 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
- Install Eclipse Ganymede from http://download.eclipse.org/eclipse/downloads/
- Choose 3.4, latest version, full SDK
- Download the latest build of CDT 5.0.x (currently 5.0.2) from http://download.eclipse.org/tools/cdt/builds
- Save the cdt-master-5.0.x-IYYYYMMDDHHMM.zip file, to use in software update steps below
- Unpack and launch Eclipse
- Install RSE from the Ganymede update site using the update manager:
- Help > Software Updates ...
- Make sure 'Available Software' is selected at the top
- Open Ganymede Update Site
- Open Remote Access and Device Development
- Select Remote System Explorer End-User Runtime
- Click Install ... Next, Accept, Finish
- Install CDT from the master file you downloaded in step 2:
- Help > Software Updates ...
- Make sure 'Available Software' is selected at the top
- Click Add site, archive, and locate the CDT master ZIP file you downloaded above; hit OK
- Select at least the 3 items under CDT Main features (make sure they are checked)
- Click Install ... Next, Accept, Finish
Configure CVS Access
- 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
- After creating the repository location, expand it and expand HEAD.
All the PTP content is under org.eclipse.ptp.
To check out PTP projects:
- In CVS, check out org.eclipse.ptp/releng/ptp_project_sets as follows:
- Window > Open Perspective > Other..., CVS Repository Exploring
- Rightmouse in CVS Repositories view, New > Repository Location
- Host: dev.eclipse.org, Repository path: /cvsroot/tools, User: anonymous
- If you have a committer id on dev.eclipse.org, use that, enter the password, and change the Connection type to extssh
- Hit Finish
- Host: dev.eclipse.org, Repository path: /cvsroot/tools, User: anonymous
- Expand that repository and expand HEAD. Scroll down to org.eclipse.ptp and expand it
- Under releng, check out ptp_project_sets
- Return to the Plug-in development Perspective
- In the ptp_project_sets project in your workspace, rightMouse on anonymous/ptp-2.1-all-anonymous.psf and select "Import project set"
- If you have a committer id then use the psf file under committer/
- It should check out everything you need.
These project set files 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.
Launching a runtime workbench running the code you checked out into your workspace
- Run > Debug Configurations ...
- 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
- Eclipse comes up. Switch to C/C++ perspective if needed
- For details on creating an MPI or OpenMP project, see Help > Help Contents ...