Thursday, 2 June 2011

PBS Error and Solution

Error:

qsub: Unknown queue MSG=cannot locate queue

Solution:

   1. > pbs_server -t create
   2. > qmgr -c "set server scheduling=true"
   3. > qmgr -c "create queue batch queue_type=execution"
   4. > qmgr -c "set queue batch started=true"
   5. > qmgr -c "set queue batch enabled=true"
   6. > qmgr -c "set queue batch resources_default.nodes=1"
   7. > qmgr -c "set queue batch resources_default.walltime=3600"
   8. > qmgr -c "set server default_queue=batch"
   9. > qmgr -c "set server operators += TORQUEADMIN@SERVERNAME"
  10. > qmgr -c "set server managers += TORQUEADMIN@SERVERNAME"
> qmgr -c 'set server keep_completed = 300'
qmgr configuration

> qmgr -c 'set server scheduling = false'
> qmgr -c 'set server scheduler_iteration = 100000000'
> qmgr -c 'unset server node_fail_requeue

No comments:

Post a Comment