From Documentation
Jump to: navigation, search
(Installing Packages (on iqaluk))
(Installing Packages (on iqaluk))
Line 43: Line 43:
 
==Installing Packages (on iqaluk)==
 
==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 <i>~/.eclipse</i> ie) <i>/work/roberpj/eclipse/.eclipse</i> hence disk space consumption there could be significant.
+
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 they are available on any other sharcnet system where eclipse might be started.  Note that the packages are installed under your <i>~/.eclipse</i> directory hence significant disk space consumption could occur depending how many packages were added.
  
 
<pre>
 
<pre>

Revision as of 17:26, 11 June 2013

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 they are available on any other sharcnet system where eclipse might be started. Note that the packages are installed under your ~/.eclipse directory hence significant disk space consumption could occur depending how many packages were added.

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, then click Install New Software
6)  in the "Work with:" field enter http://download.eclipse.org/releases/juno/ then click Add
7a) in the "Name:" field enter juno422
7b) in the "Location:" field enter http://download.eclipse.org/releases/juno/ --> click Ok
8a) from the "Available Software" menu click the Programming Languages pulldown
8b) then tick Check boxes for --> "Linux Intel Compiler Support" and "Fortran Development Tools"
9)  click Next --> click Next again --> Review and Agree to license agreement
10) finally 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