<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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.<br>
<br>
Timothy Herold wrote:
<blockquote
cite="mid:CA765D0D95A04D449667AFA14377899C4173478F18@MERCERMAIL.MercerU.local"
type="cite">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?
<div><br>
</div>
<div>Tim<br clear="all">
<br>
-- <br>
Timothy Herold<br>
<a moz-do-not-send="true" href="mailto:timothy.herold@gmail.com">timothy.herold@gmail.com</a><br>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Andrew J. Pounds, Ph.D. (<a class="moz-txt-link-abbreviated" href="mailto:pounds@theochem.mercer.edu">pounds@theochem.mercer.edu</a>)
Associate Professor of Chemistry and Computer Science
Mercer University, Macon, GA 31207 (478) 301-5627
</pre>
</body>
</html>