Next: Requesting Multiple Nodes and
Up: Requesting Resources - Reference
Previous: Requesting Queues
Contents
Directive:
#PBS -l walltime=<hours:minutes:seconds>
Example:
#!/bin/bash
#PBS -l walltime=10:00:00
echo "Script begins here"
<- omitted ->
Command Line:
qsub -l walltime=<hours:minutes:seconds>
script
Example:
qsub -l walltime=12:00:00
Practicum:
[jdpoisso@umms-amino blast_test]$ qsub blast.sh
2499949.umms-amino.ccmb.med.umich.edu
[jdpoisso@umms-amino blast_test]$ qsub -l walltime=12:00:00 blast.sh
2499950.umms-amino.ccmb.med.umich.edu
[jdpoisso@umms-amino blast_test]$ qstat -f 2499949
Job Id: 2499949.umms-amino.ccmb.med.umich.edu
Job_Name = blast.sh
<- output omitted ->
Resource_List.walltime = 10:00:00
<- output omitted ->
Walltime.Remaining = 3598
<- output omitted ->
[jdpoisso@umms-amino blast_test]$ qstat -f 2499950
Job Id: 2499950.umms-amino.ccmb.med.umich.edu
Job_Name = blast.sh
<- output omitted ->
Resource_List.walltime = 12:00:00
<- output omitted ->
Walltime.Remaining = 4319
<- output omitted ->
[jdpoisso@umms-amino blast_test]$
2010-08-27