From Documentation
Jump to: navigation, search
(Adding Intel C++ Compiler and Debugger)
Line 41: Line 41:
 
</pre>
 
</pre>
  
==Adding Intel C++ Compiler and Debugger==
+
==Installing the Intel C++ Compiler and Debugger==
  
 
The following stanza is reproduced from the intel online [http://software.intel.com/sites/products/documentation/doclib/iss/2013/compiler/cpp-lin/GUID-77395CD9-9BDF-4BB4-A01C-5BB2C4F03310.htm Documention].
 
The following stanza is reproduced from the intel online [http://software.intel.com/sites/products/documentation/doclib/iss/2013/compiler/cpp-lin/GUID-77395CD9-9BDF-4BB4-A01C-5BB2C4F03310.htm Documention].
  
 
<pre>
 
<pre>
 
+
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
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.
+
debug your Intel® C/C++ projects in an interactive visual environment.
  
 
To add the Intel® C++ Compiler product extension to your Eclipse* configuration:
 
To add the Intel® C++ Compiler product extension to your Eclipse* configuration:
 
 
   1. Start Eclipse*.
 
   1. Start Eclipse*.
 
   2. Select Help > Install New Software.
 
   2. Select Help > Install New Software.
 
   3. Next to the Work with field, click the Add button. The Add Repository dialog opens.
 
   3. Next to the Work with field, click the Add button. The Add Repository dialog opens.
   4. Click the Local button and browse to the install_dir/eclipse_support/cdt8.0/eclipse directory.
+
   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.
 
   5. Click OK.
 
   6. Make sure Group items by category is not checked.
 
   6. Make sure Group items by category is not checked.
Line 62: Line 62:
 
   9. When asked if you want to restart Eclipse*, select Yes.
 
   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.
+
When Eclipse* restarts, you can create and work with CDT projects that
<pre>
+
use the Intel® C++ compiler.
 +
</pre>
  
  
==Installing Fortran IDE plugin for Eclipse==
+
==Installing the Fortran IDE Plugin==
  
This section shows the basic procedure for installing 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 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.
+
This section shows the basic procedure for installing addition eclipse 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 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 19:21, 11 June 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 the Intel C++ Compiler and Debugger

The following stanza is reproduced from the intel online Documention.

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.


Installing the Fortran IDE Plugin

This section shows the basic procedure for installing addition eclipse 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 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 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