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 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.
+
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 are added.
  
 
<pre>
 
<pre>

Revision as of 18:31, 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 are added.

1)  ssh -Y iqaluk.sharcnet.ca
2)  module load eclipse
3)  eclipse (start workbench)
4)  select the default workspace /home/myusername/workspace then click Ok
5)  click Help on top pull down menu, then click Install New Software
6)  for "Work with:" enter http://download.eclipse.org/releases/juno/ --> click Add
7)  for "Name:" enter juno422
8)  for "Location:" enter http://download.eclipse.org/releases/juno/ --> click Ok
9)  from the "Available Software" menu click the Programming Languages pulldown tick
    check boxes "Linux Intel Compiler Support" and "Fortran Development Tools"
10) click Next --> click Next again --> Review and Agree to license agreement

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