[CSC 435] Specifying long batch runtimes

Andrew J. Pounds pounds_aj at mercer.edu
Fri Mar 4 08:40:06 EST 2022


Since several of you claimed that you saw a marked degradation in your 
runtimes when I was running code, and since the long running jobs could 
use upwards of 800 MB of memory each, it is probably in your best 
interest to allocate everything. However -- I don't recommend a single 
person "hogging" hammer -- so run single jobs (not 10 long running 
executables in a single job script) and set your wallclock time to 
something reasonable -- (like 4 hours maximum).

If you want to "stage" your jobs to run one after another you can use the

-W depend=afterok:<job num>

on your qsub command line where <job num> is the job that has to finish 
before this current job begins.

For example, if the job I am waiting on to finish is 10023 and my pbs 
script is in the file runbench.pbs I would use the command

qsub runbench.pbs -W depend=afterok:10023


On 3/4/22 08:01, Brody Mitchell Dutka wrote:
> Hello Dr. Pounds,
>
> Do you want us to allocate all of hammer to ourselves for each run, or 
> share it?
>
> Thanks,
> Brody Dutka
> ------------------------------------------------------------------------
> *From:* csc435 <csc435-bounces at theochem.mercer.edu> on behalf of 
> Andrew J. Pounds <pounds_aj at mercer.edu>
> *Sent:* Thursday, March 3, 2022 8:10 PM
> *To:* csc435 at theochem.mercer.edu <csc435 at theochem.mercer.edu>
> *Subject:* [CSC 435] Specifying long batch runtimes
>
> If you need to run a jobs for more than an hour, you can just update 
> the value of the allocated walltime in the PBS jobs script.
>
> For example...
>
> #PBS -l nodes=1:hammer:ppn=42,walltime=48:00:00
>
> would allocate ALL of hammer for up to 48 hours
>
> -- 
> */Andrew J. Pounds, Ph.D./*
> /Professor of Chemistry and Computer Science/
> /Director of the Computational Science Program/
> /Mercer University, Macon, GA 31207 (478) 301-5627/


-- 
*Andrew J. Pounds, Ph.D.*
/Professor of Chemistry and Computer Science/
/Director of the Computational Science Program/
/Mercer University, Macon, GA, 31207 (478) 301-5627 /
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://theochem.mercer.edu/pipermail/csc435/attachments/20220304/f1cc1dc3/attachment.html>


More information about the csc435 mailing list