Sun Grid Engine: Difference between revisions

From Brain Mapping Unit
Jump to navigationJump to search
No edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
The full SGE user documentation can be found at [http://www.subnetz.org/~til/sge/SGE_60_Users_Guide.pdf]
The full SGE user documentation can be found at [http://www.subnetz.org/~til/sge/SGE_60_Users_Guide.pdf]


Most usage in an imaging context is with FSL, and the queues I've set up are in accordance with FSL usage. See: [http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/SGE%20submission%20FAQ] and [http://chrisfilo.tumblr.com/post/579493955/how-to-configure-sun-grid-engine-for-fsl-under-ubuntu]
Most usage in an imaging context is with FSL, and the queues Ian has set up are in accordance with FSL usage. See: [http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/SGE%20submission%20FAQ] and [http://chrisfilo.tumblr.com/post/579493955/how-to-configure-sun-grid-engine-for-fsl-under-ubuntu]


BCNI users can check with Cinly Ooi (co224) or Roger Tait (rt337) for advice on using the grid with FSL or Freesurfer.
BCNI users can check with [mailto:co224@cam.ac.uk Cinly Ooi] or [mailto:rt337@cam.ac.uk Roger Tait] for advice on using the grid with FSL or Freesurfer.


To use the grid you will need to set up your shell environment.
To use the grid you will need to set up your shell environment.
Line 21: Line 21:
Recently created user accounts will already have these added to their shell environment.
Recently created user accounts will already have these added to their shell environment.


Cinly Ooi has produced a document [[Media:BCNIgrid.Leaflet.pdf]] which gives fuller details of grid usage.
Cinly Ooi has produced a [[Media:BCNI_grid_Leaflet.pdf|document]] which gives fuller details of grid usage.


Some useful commands:
Some useful commands:

Latest revision as of 18:39, 13 June 2016

A processing grid / cluster has been set up on the BCNI compute server machines using SGE (Sun Grid Engine) and is now available for general use.

The full SGE user documentation can be found at [1]

Most usage in an imaging context is with FSL, and the queues Ian has set up are in accordance with FSL usage. See: [2] and [3]

BCNI users can check with Cinly Ooi or Roger Tait for advice on using the grid with FSL or Freesurfer.

To use the grid you will need to set up your shell environment.

Add the following to your .bashrc file:

. /opt/sge/default/common/settings.sh

(Note there's a space after the initial dot.)

You'll probably also want to add:

export FSLPARALLEL=1

Recently created user accounts will already have these added to their shell environment.

Cinly Ooi has produced a document which gives fuller details of grid usage.

Some useful commands:

qhost : gives a quick overview of the resources available on grid hosts

qhost -f : as above but with queue status

qstat : see the status of your jobs

qstat -f : lists full queue status

qsub : submit a job to a queue

There are some example jobs in /opt/sge/examples/jobs which are worth looking at.

Grid jobs run at lower priority than conventional direct application usage, so shouldn't have too much impact on general processing.