Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This internal training event will cover the following topics with respect to using eclipse on forge:tutorial will cover the basic setup and use of Eclipse with forge.ncsa.illinois.edu.  At the end of the tutorial, you should be comfortable with the following tasks:

  • start eclipse and view the forge resource manager for your preferred version of MPI
  • submit a batch job to forge via eclipse
  • build code with eclipse and the c/c++ perspective (we'll ignore fortran for this tutorial, but can show you the perspective for it)
  • use TAU to profile a basic GPU code
  • use Eclipse to drive TAU performance analysis
Table of Contents

eclipse on forge basic startup, environment, and forge resource manager setup

To start eclipse on forge ?( locally ), add eclipse (and tau) to your $HOME/.modules setup.  This is also the place where you'd select an alternate MPI implementation if you want to stray from the pack and create confusion in this tutorial from the very beginning (openmpi users step forward) .  The modules on forge are displayed with the "module avail" command.  The prerequisite for running eclipse on forge is X-windows support and ssh X11 forwarding in your ssh client (ssh -Y or ssh -X for linux clients ).  Now is the time to find a linux or Mac user with X-windows and ssh (working in pairs) if you don't have that capability on your windows PC:

Code Block
[arnoldg@forge ~]$ echo "module load tau eclipse" >> $HOME/.modules
[arnoldg@forge ~]$ grep -v '^#' .modules

module load tau eclipse
[arnoldg@forge ~]$ eclipse &

...