print('Error: You changed the job parameters of an existing simulation.\nSummary of changes:\n{}\nThis can be no problem or data-breaking depending on the situation. Use \'--force\' to force overwriting the parameters or \'--restart\' to start a blank run.'.format(diff_summary))
sys.exit(1)
ifargs_run.single:
cmd='{} single "{}"'.format(job.jobconfig['mc_binary'],job_input_filename)
'''Helpers for handling loadleveller jobfiles/scripts. For lack of a better idea, the job description files of loadleveller are actually executables that output a more verbose json parameter file to stdout. Use the taskmaker module to write the input scripts.'''
...
...
@@ -9,6 +10,10 @@ import errno
classJobFileGenError(Exception):
pass
classJobFileOverwriteError(Exception):
def__init__(self,difference):
self.difference=difference
classJobFile:
def__init__(self,filename):
env=dict(os.environ)
...
...
@@ -25,18 +30,38 @@ class JobFile:
exceptExceptionase:
raiseJobFileGenError('Could not parse job generation script output: {}'.format(e))