#
13540:da30e62884ee |
|
10-Jan-2019 |
Andrea Mondelli <andrea.mondelli@ucf.edu> |
misc: updated shabang for python script
The default python on MacOS doesn’t have an alias to python2. The official python version supported in gem5 is Python2.7.
This patch updates the shabang according to the version required in gem5.
Change-Id: I9533c0f7858b5b3cab0ef101be1ee5cd718105b0 Reviewed-on: https://gem5-review.googlesource.com/c/15375 Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
|
#
11828:36b064696175 |
|
10-Feb-2017 |
Jason Lowe-Power <jason@lowepower.com> |
misc: Update #!env calls for python to explicit version
In some newer Linux distributions, env python default to Python 3.0. This patch explicitly uses "python2" instead of just "python" for all scripts that use #!
Reported-by: Sanchayan Maity <maitysanchayan@gmail.com> Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
|
#
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
|
#
1908:73342b7d6f83 |
|
12-Oct-2005 |
Nathan Binkert <binkertn@umich.edu> |
don't write the pbs jobid here, do it in send.py so we know what it is sooner Don't handle sigstop since you're not allowed to.
util/pbs/send.py: write the pbs jobid here in send.py so we know what it is sooner
|
#
1881:fc205a7edd58 |
|
17-Sep-2005 |
Nathan Binkert <binkertn@umich.edu> |
Totally re-work the way that jobfiles are done so there is more information that can be used for other aspects of sending jobs. New graphing output stuff with matplotlib.
util/pbs/job.py: Shuffle code around and create the JobDir class which encapsulates all of the functionality needed for making, organizing, and cleaning a job directory. Better status output util/pbs/jobfile.py: Majory re-working of the jobfile code. A job file now consists of several objects that describe how jobs should be run, it includes information about checkpoints, and graphing. util/pbs/send.py: use the new jobfile code. deal with the 15 character limit of pbs by truncating the name and using the raj hack. util/stats/db.py: fix the __str__ function for nodes provide __getitem__ for the Database class util/stats/stats.py: use the jobfile stuff to figure out what the proper naming and organziation of the graphs should be. move all output code to output.py, get rid of ploticus and use matplotlib
|
#
1816:ecb6cb1337e8 |
|
16-Aug-2005 |
Nathan Binkert <binkertn@umich.edu> |
Updates to job scripts to accept more than 15 characters of jobname Make the Link directory even more useful by working with sub-directories.
util/pbs/job.py: Expose JOBNAME as a separate parameter from PBS_JOBNAME. If the former exists, it is used as the jobname for starting the job, if it doesn't exist, PBS_JOBNAME is used. This is to get around the 15 character maximum pbs job name length. While we're at it, shuffle things around to hopefully make things a bit more clear. util/pbs/send.py: Make the Link directory functionality more sophisticated, copy sub-directories and links to directories. (we still don't copy dotfiles though) Add the setname() function to contact pbs and use raj's hack to tell the webpage about longer jobnames. (it's gross, don't look) truncate the pbs job name to 15 characters so that it works.
|
#
1712:3bb2f82d705c |
|
04-Jun-2005 |
Steve Reinhardt <stever@eecs.umich.edu> |
Get rid of vestiges of .mpy file handling.
|
#
1392:aabce7923b3b |
|
14-Feb-2005 |
Ali Saidi <saidi@eecs.umich.edu> |
undoing change per nates request
|
#
1391:2ec715129707 |
|
14-Feb-2005 |
Ali Saidi <saidi@eecs.umich.edu> |
output dir changes to python files
util/pbs/job.py: pass output dir to m5 directly
|
#
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.
|