Package madgraph :: Package madevent :: Module gen_ximprove :: Class gensym
[hide private]
[frames] | no frames]

Class gensym

source code

object --+
         |
        gensym
Known Subclasses:

a class to call the fortran gensym executable and handle it's output in order to create the various job that are needed for the survey

Instance Methods [hide private]
 
__init__(self, cmd, opt=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
launch(self, to_submit=True, clean=True) source code
 
resubmit(self, min_precision=1.0, resubmit_zero=False)
collect the result of the current run and relaunch each channel not completed or optionally a completed one with a precision worse than a threshold (and/or the zero result channel)
source code
 
submit_to_cluster(self, job_list) source code
 
submit_to_cluster_no_splitting(self, job_list)
submit the survey without the parralelization.
source code
 
create_resubmit_one_iter(self, Pdir, G, submit_ps, nb_job, step=0)
prepare the input_file for submitting the channel
source code
 
submit_to_cluster_splitted(self, job_list)
submit the version of the survey with splitted grid creation
source code
 
combine_iteration(self, Pdir, G, step) source code
 
combine_grid(self, Pdir, G, step, exclude_sub_jobs=[])
exclude_sub_jobs is to remove some of the subjobs if a numerical issue is detected in one of them.
source code
 
warnings_from_statistics(self, G, stats)
Possible warn user for worrying MadLoop stats for this channel.
source code
 
get_current_axsec(self) source code
 
write_results(self, grid_calculator, cross, error, Pdir, G, step) source code
 
resubmit_survey(self, Pdir, G, Gdirs, step)
submit the next iteration of the survey
source code
 
write_parameter_file(self, path, options) source code
 
write_parameter(self, parralelization, Pdirs=None)
Write the parameter of the survey run
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
format_variable(*args) source code
Class Variables [hide private]
  combining_job = 2
  splitted_grid = False
  min_iterations = 3
  mode = 'survey'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, cmd, opt=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

submit_to_cluster_no_splitting(self, job_list)

source code 

submit the survey without the parralelization. This is the old mode which is still usefull in single core

combine_grid(self, Pdir, G, step, exclude_sub_jobs=[])

source code 

exclude_sub_jobs is to remove some of the subjobs if a numerical issue is detected in one of them. Warning is issue when this occurs.