Running Code on NGS

This note is intended to provide basic steps for running code parallelized with MPI-CH on the UK National Grid Service clusters. These instructions are suitable for the eSDO algorithms MagneticFieldExtrapolation and HelicityComputation. Instructions valid as of 15/01/08 for NGS-2 cluster

Upload code from local machine to NGS

A pop-up window appears displaying the contents of NGS home directory.

File -> 'Upload Files' and select relevant package files to upload.

Upload selected package files

Configure and compile code

Magnetic Extrapolation code

Unpack MagneticExtrapolation_1.0_src.tar

Unpack MagneticExtrapolation_1.0_testdata.tar

Unpack cfitsio package and follow the build instructions in README. When running the ./configure command, set the --prefix option= to ensure that cfitsio libraries (static and dynamic) are created within the cfitsio directory.

Helicity code

Unpack Helicity_1.0_src.tar

Unpack Helicity_1.0_testdata.tar

Unpack cfitsio package and follow the build instructions in README. When running the ./configure command, set the --prefix option= to ensure that cfitsio libraries (static and dynamic) are created within the cfitsio directory.

Copy libcfitsio.so, fitsio.h and longnam.h to the Helicity src directory.

Resulting URL can be used to check status of job:$globus-job-status URL

URL can also be used in cleanup after execution completes:$ globus-job-clean URL

Available NGS-2 cluster machines

Once the user has signed onto a gsissh session with grid certificate, any machine can be accessed via globus using gsissh machine.name.domain without further authentication. For example, gsissh ngs.rl.ac.uk.