Loadleveler quick howto
4/Nov 2011
Some useful commands to manage jobs with IBM loadleveler
(ll
).
First of all you need to write a script with some configuration options and the job to be submitted. You can call it (for example) “test_run.cmd”. With this file you tell ll
what you want to submit, the type of the queue, the directories you need, what you want to be logged and where, the number of parallel tasks and so on.
It would look like this:
#!/bin/bash
# @ initialdir = /path-to-your-folder
# @ job_name = test_run
# @ output = test_run.$(jobid).out
# @ error = test_run.$(jobid).err
# @ notification = error
# @ class = long
# @ total_tasks = 20
# @ job_type = parallel
# @ queue
ulimit -s 65536
python ./start.py
After that you can submit your job with llsubmit test_run.cmd
.
Other useful commands are
llq -u $USER
: Return information about your jobs only in the queuesllq -l <job>
: Return detailed information about the specificllq -s <job>
: Return information about why the job remains queuedllcancel <job>
: Cancel a job from the queues, either it is waiting or runningllstatus
: Return information about the status of the machine
Reference: Cineca LoadLeveler howto