From Documentation
Revision as of 18:36, 1 February 2017 by Roberpj (Talk | contribs) (On VDI Workstation)

Jump to: navigation, search
ECLIPSE
Description: The Eclipse Platform, and Plug-in Development Environment.
SHARCNET Package information: see ECLIPSE software page in web portal
Full list of SHARCNET supported software


Introduction

Sharcnet provides a module for the Eclipse SDK based on the download-able 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 found in the left hand column of the package comparison table. The installation procedure is explained in the General Notes section below ie) for the purpose of customizing and extended eclipses capability to ones programming needs.

Version Selection

module load eclipse/4.6.2
eclipse

Job Submission

Not applicable.

Example Job

Not applicable.

General Notes

Getting Started

Due to limited space home directory space requirements the following steps should be done before using eclipse:

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

Interactive Use

On VDI Workstation

0) Install tigervnc client on your desktop
1) Start tigervnc client application
2) Connect to vdi-centos.user.sharcnet.ca
3) open terminal window 
4) module load eclipse/4.6.2
5) eclipse

Note tigervnc can be download from http://tigervnc.org/ Sarcnet documentation regarding howto use tigervnc maybe found here in section 1.2.1 vncviewer (Windows, MacOS, and Fedora).

On Devel Node

Please note that its not recommended to run graphical application on sharcnet clusters over ssh due to performance issues. When a program is available on vdi or viz workstations run it there instead if possible.

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

Using Eclipse

Intel Compiler Integration

The intel article " here titled "Using Intel® C++ Compiler with the Eclipse IDE on Linux" describes how to configure eclipse to use any of the intel compiler versions installed on linux. The main step which might not be obvious is adding the repository once you click local. You need to specify the directory location such as /opt/sharcnet/intel/16.0.4/ide_support_2016/eclipse/compiler_xe.

Installing Plugins

This section shows the basic procedure for installing additional (eclipse provided) packages into eclipse. The installation of Photran (the Fortran IDE plugin for Eclipse) which works with the intel compiler and most other compilers is used as an example. 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 add-on 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)  Connect to vdi-centos6.user.sharcnet.ca
2)  module load eclipse/4.6.2
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)  from the pulldown select  ...
    The Eclipse Project Updates - http://download.eclipse.org/eclipse/updates/4.6
7)  from the "Available Software" menu click something like ...
    Plugin development tools
8)  Click finish to commit the installation and wait to finish.

Note in step 6 you can see what packages are already installed by clicking "What is already installed?"

Querying Installed Packages

1) Start eclipse
2) click Help on top pull down menu
3) click About Eclipse

Version: Neon.2 Release (4.6.2)
Build id: 20161208-0600

4) click Installation Details All packages relating to the base installation will be displayed:

Eclipse for Parallel Application Developers   64bit-linux
Tools for C, C++, Fortran, and UPC, including MPI, OpenMP,
OpenACC, a parallel debugger, and remotely building, running
and monitoring applications...

References

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

o Eclipse Documentation
http://help.eclipse.org/

o Eclipse Download Area
http://www.eclipse.org/downloads/

o Compare Eclipse Meta Packages
http://www.eclipse.org/downloads/compare.php