From Documentation
Jump to: navigation, search
(Intel C/C++ CDT Plugin)
(Intel C/C++ CDT Plugin)
Line 45: Line 45:
 
===Intel C/C++ CDT Plugin===
 
===Intel C/C++ CDT Plugin===
  
This section shows howto integrate the Intel C++ Compiler and Debugger into Eclipse as described  [http://software.intel.com/sites/products/documentation/doclib/iss/2013/compiler/cpp-lin/GUID-77395CD9-9BDF-4BB4-A01C-5BB2C4F03310.htm here]. Intel also provides an online [http://software.intel.com/en-us/articles/intel-c-compiler-for-linux-using-intel-compilers-with-the-eclipse-ide-pdf/ tutorial].  
+
The stanza below shows how to [http://software.intel.com/sites/products/documentation/doclib/iss/2013/compiler/cpp-lin/GUID-77395CD9-9BDF-4BB4-A01C-5BB2C4F03310.htm integrate] the Intel C++ Compiler and Debugger into Eclipse as described  . Intel also provides an online [http://software.intel.com/en-us/articles/intel-c-compiler-for-linux-using-intel-compilers-with-the-eclipse-ide-pdf/ tutorial].  
  
 
<pre>
 
<pre>

Revision as of 12:32, 23 July 2013

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.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 New Software Into Eclipse

Intel C/C++ CDT Plugin

The stanza below shows how to integrate the Intel C++ Compiler and Debugger into Eclipse as described . Intel also provides an online tutorial.

The Intel® C++ Compiler for Linux* OS provides integrations for the compiler
and the Intel® Debugger to Eclipse* and CDT that let you develop, build, and
debug your Intel® C/C++ projects in an interactive visual environment.

To add the Intel® C++ Compiler product extension to your Eclipse* configuration:
   1. Start Eclipse*.
   2. Select Help > Install New Software.
   3. Next to the Work with field, click the Add button. The Add Repository dialog opens.
   4. Click the Local button and browse to 
/opt/sharcnet/intel/12.1.3/ifc/composer_xe_2011_sp1.9.293/eclipse_support/cdt8.0/eclipse
   5. Click OK.
   6. Make sure Group items by category is not checked.
   7. Select the options beginning with Intel® you wish to integrate, and click Next.
   8. Follow the installation instructions.
   9. When asked if you want to restart Eclipse*, select Yes.

When Eclipse* restarts, you can create and work with CDT projects that
use the Intel® C++ compiler.

Intel Photran IDE Plugin

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)  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 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