History log of /gem5/util/pbs/pbs.py
Revision Date Author Comments
# 1948:04aebfd9acf3 02-Nov-2005 Nathan Binkert <binkertn@umich.edu>

Simple updates to pbs and send.py

util/pbs/pbs.py:
Change the default so that we do not get mail under any circumstances
from pbs.
util/pbs/send.py:
Add a -n flag to send.py that causes the Base directory to *not*
sync with the Link directory


# 1928:b75ae11a5e8f 19-Oct-2005 Nathan Binkert <binkertn@umich.edu>

fix pbs dependency stuff

util/pbs/pbs.py:
after -> afterok


# 1916:fe8d4e92c0a7 18-Oct-2005 Nathan Binkert <binkertn@umich.edu>

Better pool job handling

util/pbs/job.py:
the default jobfile is now Test.py in the root of the jobs directory
util/pbs/pbs.py:
Clean up the qsub options handling and add job dependencies
util/pbs/send.py:
the default jobfile is now Test.py in the root of the jobs directory
add a flag to depend on your checkpoint
add a flag to specify your node type
create the base directory if it doesn't exist


# 1386:793290a922ee 10-Feb-2005 Nathan Binkert <binkertn@umich.edu>

Some cosmetic changes to MyPOpen

util/pbs/pbs.py:
More tweaks that I forgot


# 1385:a80f052561fd 09-Feb-2005 Nathan Binkert <binkertn@umich.edu>

More fixes to the pbs stuff to make it more robust.

sim/pyconfig/SConscript:
Embed the jobfile.py script into the binary so that we don't
need to copy it into the Base directory every time.
test/genini.py:
Add the util/pbs directory to the path so we can get to
jobfile.py
Add a -I argument to set to add to the path.
util/pbs/pbs.py:
Create a MyPOpen class. This is a lot like the popen2.Popen3 class
in the python library except that my version allows redirection of
standard in and standard out to a file instead of a pipe.
Use this popen class to execute qsub or ssh qsub. This was important
for the ssh version of qsub because we need to pipe the script into
standard in of ssh so that the script can get to the qsub command.
(Otherwise we have a problem discovering the path.)
util/pbs/send.py:
Tweak the script so it figures out paths in NFS correctly.
Use the new system for running qsub.


# 1376:190de61fed5a 05-Feb-2005 Nathan Binkert <binkertn@umich.edu>

Make pbs submission scripts available to all.
Fix up configuration scrupts to have better support for
running on the simulation pool.