Difference between revisions of "Setup an Interactive Queue"
Jump to navigation
Jump to search
(Created page with "This example covers adding IB as a Boolean resource to LSF: Type Boolean: Either a nodes has it (1) or doesnt (0) ===== Add the Resource to LSF ===== * In file /etc/cfm/te...") |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | ===== Setup the queue ===== | |
| + | * lsb.queues file | ||
| + | * once updated, run addhost -u to sync | ||
| + | * bqueues to check the available queues | ||
| + | <syntaxhighlight> | ||
| + | # Example conf, administrators/priority/hosts will differ from cluster to cluster | ||
| + | Begin Queue | ||
| + | QUEUE_NAME=interactive | ||
| + | DESCRIPTION=default for interactive jobs | ||
| + | ADMINISTRATORS=user2 userGroupA | ||
| + | PRIORITY=80 | ||
| + | INTERACTIVE=ONLY | ||
| + | NEW_JOB_SCHED_DELAY=0 | ||
| + | HOSTS=hostGroupB+5 hostGroupA+2 others | ||
| + | End Queue | ||
| + | </syntaxhighlight> | ||
| − | + | ===== Submit an interactive job ===== | |
| + | <syntaxhighlight> | ||
| + | bsub -Ip -XF bash -l | ||
| + | </syntaxhighlight> | ||
| − | + | ===== X-forwarding not working ===== | |
| − | ===== | + | * Ensure xorg-x11-xauth and xterm are installed |
| − | * | + | <syntaxhighlight> |
| − | < | + | # use ngedit to select the following pacakges |
| − | + | - xorg-x11-xauth | |
| − | + | - xterm | |
| − | + | </syntaxhighlight> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | </ | ||
Latest revision as of 10:04, 13 May 2013
Setup the queue
- lsb.queues file
- once updated, run addhost -u to sync
- bqueues to check the available queues
# Example conf, administrators/priority/hosts will differ from cluster to cluster
Begin Queue
QUEUE_NAME=interactive
DESCRIPTION=default for interactive jobs
ADMINISTRATORS=user2 userGroupA
PRIORITY=80
INTERACTIVE=ONLY
NEW_JOB_SCHED_DELAY=0
HOSTS=hostGroupB+5 hostGroupA+2 others
End QueueSubmit an interactive job
bsub -Ip -XF bash -lX-forwarding not working
- Ensure xorg-x11-xauth and xterm are installed
# use ngedit to select the following pacakges
- xorg-x11-xauth
- xterm