diff options
author | Nathan Binkert <binkertn@umich.edu> | 2005-02-09 23:55:21 -0500 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2005-02-09 23:55:21 -0500 |
commit | 8efd7d90633520b93c4bfba93d248b9c9bd8fe5a (patch) | |
tree | d952ee7e4615b1f5cab93fdb9bf68a5fda87b670 /sim/process.cc | |
parent | 4a3e33fb6d2e13a0febd9696905da05e02f93834 (diff) | |
download | gem5-8efd7d90633520b93c4bfba93d248b9c9bd8fe5a.tar.xz |
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.
--HG--
extra : convert_revision : 1289915ba99cec6fd464b71215c32d2197ff2824
Diffstat (limited to 'sim/process.cc')
0 files changed, 0 insertions, 0 deletions