Is there also a way to assign a particular job to a particular node?
Yes- resources. Current PBS in OSCAR isn't configured like that, but will be in the future. In the meantime, run:

for machine in `cat /var/spool/pbs/server_priv/nodes |awk '{ print $1 }'` ; do qmgr -c "set node $machine properties+=$machine" ; done

That will add a machine name resource to each of your machines, and then you can modify your qsub line to do something like:

qsub -l nodes=1:ppn=2:resource=node5 -N my_job_name my_job_script.sh
Unless OSCAR provides its own qsub, the syntax for requesting a node with a certain property is like this:

qsub -l nodes=1:ppn=2:node5 ......

(It's "node5", not "resource=node5".)

However since the node name is also a property, you can use it directly like this:

qsub -l nodes=node5:ppn=2 ......

There is no need to make it into a property at all.

--
Wendy Lin
-------------
IT Research Computing Services
[EMAIL PROTECTED]
http://www-rcd.cc.purdue.edu/~af5/


-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users



Reply via email to