Difference between revisions of "Setup an Interactive Queue"

From Define Wiki
Jump to navigation Jump to search
(Blanked the page)
 
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 Queue
Submit an interactive job
bsub -Ip -XF bash -l
X-forwarding not working
  • Ensure xorg-x11-xauth and xterm are installed
# use ngedit to select the following pacakges 
- xorg-x11-xauth
- xterm