Linker IT Software
Google
Web www.oraxcel.com
menubar-top-links menubar-top-rechts
Home Help Search Login
Welcome, Guest. Please Login.
SQL*XL: Database to Excel bridge litLIB: Excel power functions pack ExcelLock: Locking and securing your valuable Excel spreadsheets encOffice: Protect your Excel file easy and safe encOffice: Protect your Excel file easy and safe
Pages: 1
PBS Portable Batch System (Read 4455 times)
Gerrit-Jan Linker
YaBB Administrator
*****




Posts: 75
PBS Portable Batch System
26.02.10 at 14:27:53
 
PBS Portable Batch System
 
The Portable Batch System is used for submitting, monitoring, and controlling a workload of batch jobs on one or more systems. At medusa a qs wrapper script is used:
 
Submit a new job:
qs -q queue_name job_name
For example: qs -q tc2 myjob
 
Remove a job:
qdel job_number
For example: qdel 12345
 
List the nodes in a queue:
pbsnodes -a
 
Submit a job on multiple nodes
qs -q queue_name -n nodes_count[i]
Example: Submit a job on two nodes
qs -q tc2 -n 2 myjob
 
Submit a job on multiple cores
qs -q [i]queue_name
-c core_count[i]
Example: Submit a job on two cores
qs -q tc2 -c 2 myjob
 
Submit a job on multiple nodes and multiple cores
qs -q [i]queue_name
-c core_count[i] -n [i]nodes_count[i]
Example: Submit a job on 10 nodes and on two cores per node
qs -q tc2 -n 10 -c 2 myjob
 
Run a command on all nodes:
allq -q [i]queue_name command

Example: clear the scratch directory on all nodes in the tc2 queue
allq -q  tc2 "rm -r /scratch/*"
Back to top
 
« Last Edit: 07.10.10 at 09:43:30 by Gerrit-Jan Linker »  

Gerrit-Jan Linker
Linker IT Software
Email WWW Gerrit-Jan Linker   IP Logged
Gerrit-Jan Linker
YaBB Administrator
*****




Posts: 75
PBS: output on a node
Reply #1 - 08.10.10 at 10:17:02
 
PBS: output on a node
 
Standard output on a node is directed to: /var/torque/spool
Back to top
 
 

Gerrit-Jan Linker
Linker IT Software
Email WWW Gerrit-Jan Linker   IP Logged
Gerrit-Jan Linker
YaBB Administrator
*****




Posts: 75
PBS: all user processes on the nodes
Reply #2 - 19.04.11 at 19:50:47
 
PBS: all user processes on the nodes
 
allq -q tc2 "ps | grep -v ps | grep -v bash | grep -v grep | grep -v PID"
Back to top
 
 

Gerrit-Jan Linker
Linker IT Software
Email WWW Gerrit-Jan Linker   IP Logged
Pages: 1