From Documentation
Revision as of 18:19, 11 June 2013 by Roberpj (Talk | contribs) (Querying Installed Packages)

Jump to: navigation, search
ECLIPSE
Description: The Eclipse Platform, Java Development Tools, and Plug-in Development Environment, including source and both user and programmer documentation.
SHARCNET Package information: see ECLIPSE software page in web portal
Full list of SHARCNET supported software


Introduction

Sharcnet provides a module for the base Eclipse SDK available from the Eclipse Classic 4.2.2 package. Once the module is loaded and the eclipse gui is up and running, users can easily install any of the available add-on packages shown in the left hand column ofhttp://www.eclipse.org/downloads/compare.php as explained in the Example section below for the purpose of customizing eclipse to their precise programming needs.

Version Selection

module load eclipse/4.2.2

Job Submission

Not applicable.

Example Job

Not applicable.

General Notes

Preparation (first time use only)

1) mkdir -p /work/$USER/eclipse/.eclipse
2) mkdir -p /work/$USER/eclipse/workspace
3) ln -s /work/$USER/eclipse/.eclipse ~/.eclipse
4) ln -s /work/$USER/eclipse/workspace workspace

Running Eclipse (on a devel node)

1) ssh -Y orca.sharcnet.ca
2) ssh -Y orc-dev1
3) module load eclipse 
4) eclipse

Installing Packages (on iqaluk)

This section provides an example of installing two packages into eclipse related to fortran programming. Many other packages can similarly be installed. Since the eclipse download repository is external to the sharcnet network, package installation must be done on iqaluk or a viz station and not on a devel node. Once the required addon packages are installed however, they are available on any other sharcnet system where eclipse might be started (since they reside in your ~/.eclipse directory). Note that the packages are installed under ~/.eclipse ie) /work/roberpj/eclipse/.eclipse hence disk space consumption there could be significant.

1) ssh -Y iqaluk.sharcnet.ca
2) module load eclipse
3) eclipse (start workbench)
4) Select a workspace --> /home/myusername/workspace  --> click OK
5) click Help on top pull down menu --> click Install New Software --> for Work with:
enter http://download.eclipse.org/releases/juno/ --> click Add --> for Name
enter juno422 --> for Location: enter http://download.eclipse.org/releases/juno/ --> click Ok -->
from the "Available Software" menu Click Programming Languages pulldown then tick Check boxes for -->
"Linux Intel Compiler Support" and "Fortran Development Tools" --> click Next --> click Next -->
Review license agreement and click Agree --> click Yes to restart eclipse for changes to take place.

Querying Installed Packages

1) Start eclipse
2) click Help on top pull down menu
3) click About Eclipse SDK
4) click Installation Details button.  

Note that Eclipse SDK will appear as the first entry, and is the sharcnet eclipse module. Any other packages shown were manually installed by the user.

References

o Eclipse Homepage
http://www.eclipse.org/

o Download Area (Eclipse Classic 4.2.2)
http://www.eclipse.org/downloads/

o How To Combine Packages and Compare Packages
http://www.eclipse.org/downloads/compare.php