Instructions for running jobs on the Manchester Linux 8 cluster

A small python module (written by Jiri & Mark) rempyexec is available to use to submit jobs to the linux8 cluster. It can deal with any executable. Before use, add the location of the module to the python path:

export PYTHONPATH=/afs/hep.man.ac.uk/g/atlas/JobRunning/:$PYTHONPATH

Generic Executables

A script sending a simple test job is available (don't forget the above path), first login to linux8, go to some temporary directory in your manchester afs space and then do:

python /afs/hep.man.ac.uk/g/atlas/JobRunning/testjob.py
The results (just a log file) will appear in a sub directory called output.

An example script for multiple jobs is at:

/afs/hep.man.ac.uk/g/atlas/JobRunning/multi_testjob.py
It's run in the same way as the previous example. For this test the results (just a log file) will appear in a sub directory called output_jobid, where job id = {0,1,2}.

It should be straight forward to modify these to deal with your favorite executable.

SFrame Jobs

There is also a specific class provided for running sframe jobs. Example python scripts for submitting sframe jobs are available: /afs/hep.man.ac.uk/g/atlas/JobRunning/example_sframe.py /afs/hep.man.ac.uk/g/atlas/JobRunning/example_multi_sframe.py

The first demonstrates a single sframe job, the second shows how to submit two. The scripts should be self explanatory. Note for sframe you must submit from your SFrame directory (where you run setup.sh) since it copies the full contents of this directory to the worker node. Make sure any files / libraries you need are specified with an absolute & not relative path. Copy one of the testscripts, edit it to run one of your config files, set up the path as above & do:

python example_sframe.py

-- MarkOwen - 05 Mar 2009

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2020-08-30 - TWikiAdminUser
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox/SandboxArchive All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback