[CSC 435] Re: PBS and Bash Scripts

Andrew J. Pounds pounds_aj at mercer.edu
Wed Feb 24 12:15:26 EST 2010


Absolutely you can submit bash scripts to PBS.  Everything after the PBS 
headers is just as if you were working on the command line.   You just 
can't do silly things like try to open editors or do things that require 
typed input from the user.  In that case you would use interactive PBS 
mode which is still quirky on Zeus.

Timothy Herold wrote:
> Is it possible to submit a bash script to PBS? I have a script that 
> compiles my code with an optimization flag, runs it, cleans the 
> directory, recompiles with a different flag, and runs again... Do I 
> have to split all of that up into separate jobs or can I just call the 
> bash script from the PBS script?
>
> Tim
>
> -- 
> Timothy Herold
> timothy.herold at gmail.com <mailto:timothy.herold at gmail.com>

-- 
Andrew J. Pounds, Ph.D.  (pounds at theochem.mercer.edu)
Associate Professor of Chemistry and Computer Science
Mercer University,  Macon, GA 31207   (478) 301-5627

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://theochem.mercer.edu/pipermail/csc435/attachments/20100224/d88cfa4c/attachment.html


More information about the csc435 mailing list