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"

< PTP
(Setup)
 
(51 intermediate revisions by 3 users not shown)
Line 1: Line 1:
= PTP Developer Environment Setup (PTP 2.0) =
+
These pages describe how to set up your environment in order to build PTP from the CVS projects and perhaps begin developing PTP.  
  
== Prerequisites ==
+
'''These are not the correct instructions if you just want to use PTP.'''
# Java 1.5 or later (Note: for Linux, must be Sun or IBM's)
+
# Eclipse 3.3.x
+
# CDT 4.0
+
# OpenMPI 1.2 (the earlier 1.0.2 version is also supported)
+
# gdb 6.3 or later (earlier versions may also work)
+
  
== Setup ==
+
* [[PTP/environment_setup_90 | Setup an Eclipse Environment for development of PTP 9.x for Neon]]
 
+
* [[PTP/environment_setup_80 | Setup an Eclipse Environment for development of PTP 8.0.x for Luna (Eclipse 4.4/CDT 8.?)]] - using Git
# [http://www.eclipse.org/downloads/ Download] and Install Eclipse 3.3
+
* [[PTP/environment_setup_70 | Setup an Eclipse Environment for development of PTP 7.0.x for Kepler (Eclipse 4.3/CDT 8.2)]] - using Git
# [http://www.eclipse.org/cdt/downloads.php Install] CDT 4.0 (*Note: to build PTP you may need the complete CDT SDK (Instructions below install the CDT runtime). Instead of the Europa Discovery Site, use  http://download.eclipse.org/tools/cdt/releases/europa  as the update site to get the CDT SDK too.)
+
* [[PTP/environment_setup_60 | Setup an Eclipse Environment for development of PTP 6.0.x for Juno (Eclipse 4.2/CDT 8.1)]] - using Git
## Launch Eclipse as root
+
* [[PTP/environment_setup_50 | Setup an Eclipse Environment for development of PTP 5.0.x for Indigo (Eclipse 3.7/CDT 8.0)]]
## From the menu select: '''Help->Software Update->Find and Install'''
+
* [[PTP/environment_setup_40 | Setup an Eclipse Environment for development of PTP 4.0.x for Helios (Eclipse 3.6/CDT 7.0)]]
## Select '''Search for new features to install''', click Next
+
* [[PTP/environment_setup_30 | Setup an Eclipse Environment for development of PTP 3.0.x for Galileo (Eclipse 3.5/CDT 6.0)]]
## Select '''Europa Discovery Site''', click Finish
+
* [[PTP/environment_setup_21 | Setup an Eclipse Environment for development of PTP 2.1.x for Ganymede (Eclipse 3.4/CDT 5.0)]]
## Select a valid mirror, click Ok
+
* [[PTP/environment_setup_20 | Setup an Eclipse Environment for development of PTP 2.0.x for Europa (Eclipse 3.3/CDT 4.0)]]
## Expand '''Europa Discovery Site''' and select '''C and C++ Development''', click Next
+
## Read and check '''I accept''' click Next and Finish.
+
## Click '''Install All'''
+
# Install RSE 2.0
+
## Launch Eclipse as root
+
## From the menu select: '''Help->Software Update->Find and Install'''
+
## Select '''Search for new features to install''', click Next
+
## Select '''Europa Discovery Site''', click Finish
+
## Select a valid mirror, click Ok
+
## Expand '''Europa Discovery Site''' and select '''Remote Access and Device Development->Remote System Explorer...''', click Next
+
## Read and check '''I accept''' click Next and Finish.
+
## Click '''Install All'''
+
# Setup CVS Access ([http://wiki.eclipse.org/CVS_Howto Howto])
+
## In Eclipse switch to '''CVS Repository Exploring''' perspective.
+
## Click on the '''Add CVS Repository''' Icon in the CVS Repositories view.
+
## Add the following information, then click Finish:
+
### Host - '''dev.eclipse.org'''
+
### Repository Paths - '''/cvsroot/tools'''
+
### User - '''anonymous'''
+
### Password - '''(leave blank)'''
+
### Connection Type - '''pserver'''
+
# Checkout current project from CVS
+
## Expand '''Head->org.eclipse.ptp'''
+
## Expand '''core''' directory and select all projects <u>except</u> '''old , org.eclipse.ptp.simulation.core , and org.eclipse.simulation.ui'''
+
## Right-click and select 'Check Out'
+
## Expand '''debug''' directory and select all projects <u>except</u> '''old'''
+
## Right-click and select 'Check Out'
+
## Expand '''releng''' directory and select all projects <u>except</u> '''old'''
+
## Right-click and select 'Check Out'
+
## Expand '''rms''' directory and select the resource manager(s) you need. Probably <i>at least</i> orte, and possibly not bluegene.
+
## Right-click and select 'Check Out'
+
## (Optional, to get PLDT) Expand '''tools''' directory and select all the org.eclipse.ptp.pldt* projects.
+
## Right-click and select 'Check Out'
+
# Build OpenMPI Proxy
+
## Follow OpenMPI build directions as listed in [http://www.eclipse.org/ptp/docs/releases/release-1.1.1.php PTP Release Notes]
+
## Follow the same directions to build your proxy plugin (sh BUILD for your platform), make sure it is the one in your workspace directory.
+
### Be sure to export this environment variable before compiling: <code>LD_LIBRARY_PATH=/usr/local/lib</code>
+
# Close unrelated projects.
+
## Close '''org.eclipse.ptp.debug.sdm , org.eclipse.ptp.orte.proxy , org.eclipse.ptp.proxy.tests'''
+
# Create an eclipse application launch configuration
+
## Click on '''org.eclipse.ptp.core''', Click on Run, Run as '''Eclipse Application'''
+
# Enjoy!!!
+
 
+
== References ==
+
Eclipse Downloads [http://www.eclipse.org/downloads/]
+
CDT Downloads Page [http://www.eclipse.org/cdt/downloads.php]
+
CVS Howto [http://wiki.eclipse.org/CVS_Howto]
+
PTP Release Notes [http://www.eclipse.org/ptp/docs/releases/release-1.1.1.php]
+

Latest revision as of 12:03, 30 September 2016

These pages describe how to set up your environment in order to build PTP from the CVS projects and perhaps begin developing PTP.

These are not the correct instructions if you just want to use PTP.

Back to the top