コード例 #1
0
ファイル: ggeosphere.py プロジェクト: smaffiol/gc3pie
 def __init__(self, input_model, output_model, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GeoSphereApplication(input_model, output_model, **extra_args),
         # keyword arguments
         **extra_args)
コード例 #2
0
ファイル: ggeotop.py プロジェクト: bringhurst/gc3pie
 def __init__(self, simulation_dir, executable=None, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GeotopApplication(simulation_dir, executable, **extra_args),
         # keyword arguments
         **extra_args)
コード例 #3
0
 def __init__(self, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GSMD_ProjectionsApplication(**extra_args),
         # keyword arguments
         **extra_args)
コード例 #4
0
 def __init__(self, simulation_dir, executable=None, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GeotopApplication(simulation_dir, executable, **extra_args),
         # keyword arguments
         **extra_args)
コード例 #5
0
 def __init__(self, input_file, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GStructureApplication(input_file, **extra_args),
         # keyword arguments
         **extra_args)
コード例 #6
0
ファイル: ggeneric.py プロジェクト: ryantaylor-cu/gc3pie
 def __init__(self, executable, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GGenericApplication(executable, **extra_args),
         # keyword arguments
         **extra_args)
コード例 #7
0
ファイル: gbenchmark.py プロジェクト: ewiger/gc3pie
 def __init__(self, network_data_file, run_script, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GbenchmarkApplication(network_data_file, run_script, **extra_args),
         **extra_args
     )
コード例 #8
0
ファイル: gpyrad.py プロジェクト: ewiger/gc3pie
 def __init__(self, input_file, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GpyradApplication(input_file, **extra_args),
         # keyword arguments
         **extra_args)
コード例 #9
0
ファイル: gsmd_projections.py プロジェクト: ewiger/gc3pie
 def __init__(self, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GSMD_ProjectionsApplication(**extra_args),
         # keyword arguments
         **extra_args)
コード例 #10
0
ファイル: ggeosphere_web.py プロジェクト: TissueMAPS/gc3pie
 def __init__(self, input_dir, working_dir, output_container, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GeoSphereApplication(input_dir, working_dir, output_container, **extra_args),
         # keyword arguments
         **extra_args)
コード例 #11
0
ファイル: ggeosphere.py プロジェクト: ewiger/gc3pie
 def __init__(self, input_model, output_model, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GeoSphereApplication(input_model, output_model, **extra_args),
         # keyword arguments
         **extra_args)
コード例 #12
0
ファイル: ggeneric.py プロジェクト: TissueMAPS/gc3pie
 def __init__(self, executable, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GGenericApplication(executable, **extra_args),
         # keyword arguments
         **extra_args)
コード例 #13
0
ファイル: gc_gps.py プロジェクト: ryantaylor-cu/gc3pie
 def __init__(self, command, src_dir, result_dir, input_dir, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GcgpsApplication(command, src_dir, result_dir, input_dir,
                          **extra_args),
         **extra_args)
コード例 #14
0
 def __init__(self, sim_no, executable=None, restart=None, **extra_args):
     self.sim_no = sim_no
     RetryableTask.__init__(
         self,
         # actual computational job
         GCellJunctionApplication(sim_no, executable, restart, **extra_args),
         # keyword arguments
         **extra_args)
コード例 #15
0
 def __init__(self, input_dir, working_dir, output_container, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GeoSphereApplication(input_dir, working_dir, output_container,
                              **extra_args),
         # keyword arguments
         **extra_args)
コード例 #16
0
ファイル: ggamess_retry.py プロジェクト: TissueMAPS/gc3pie
 def __init__(self, inp_file_path, *other_input_files, **extra_args):
     """Constructor. Interface compatible with `GamessApplication`:class:"""
     if extra_args.has_key('tags'):
         extra_args['tags'].append('ENV/CPU/OPTERON-2350')
     else:
         extra_args['tags'] = [ 'ENV/CPU/OPTERON-2350' ]
     task = GamessApplication(inp_file_path, *other_input_files, **extra_args)
     RetryableTask.__init__(self, task, max_retries=3, **extra_args)
コード例 #17
0
ファイル: ggamess_retry.py プロジェクト: ryantaylor-cu/gc3pie
 def __init__(self, inp_file_path, *other_input_files, **extra_args):
     """Constructor. Interface compatible with `GamessApplication`:class:"""
     if extra_args.has_key('tags'):
         extra_args['tags'].append('ENV/CPU/OPTERON-2350')
     else:
         extra_args['tags'] = [ 'ENV/CPU/OPTERON-2350' ]
     task = GamessApplication(inp_file_path, *other_input_files, **extra_args)
     RetryableTask.__init__(self, task, max_retries=3, **extra_args)
コード例 #18
0
ファイル: gmodis.py プロジェクト: TissueMAPS/gc3pie
 def __init__(self, input_file, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GmodisApplication(
             input_file,
             **extra_args),
         **extra_args
         )
コード例 #19
0
ファイル: gcrypto.py プロジェクト: riccardomurri/gc3pie
 def __init__(self, start, extent, gnfs_location, input_files_archive, output, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         CryptoApplication(start, extent, gnfs_location, input_files_archive, output, **extra_args),
         # XXX: should decide which policy to use here for max_retries
         max_retries = 2,
         # keyword arguments
         **extra_args)
コード例 #20
0
 def __init__(self, input_file, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GmodisApplication(
             input_file,
             **extra_args),
         **extra_args
         )
コード例 #21
0
 def __init__(self, edges_data_filename, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GWeightApplication(
             edges_data_filename,
             **extra_args),
         **extra_args
         )
コード例 #22
0
ファイル: gnw_measures.py プロジェクト: bringhurst/gc3pie
 def __init__(self, id_times_filename, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GnwApplication(
             id_times_filename, 
             **extra_args),
         **extra_args
         )
コード例 #23
0
ファイル: gbenchmark.py プロジェクト: ryantaylor-cu/gc3pie
 def __init__(self, network_data_file, run_script, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GbenchmarkApplication(
             network_data_file,
             run_script,
             **extra_args),
         **extra_args
         )
コード例 #24
0
ファイル: gc_gps.py プロジェクト: arcimboldo/gc3pie
 def __init__(self, command, src_dir, result_dir, input_dir, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GcgpsApplication(
             command, 
             src_dir,
             result_dir,
             input_dir,
             **extra_args),
         **extra_args
         )
コード例 #25
0
ファイル: gfdiv.py プロジェクト: fliem/gc3pie
 def __init__(self, task, increment=1*GB, maximum=31*GB, **extra_args):
     self.increment = increment
     self.maximum = maximum
     RetryableTask.__init__(self, task, **extra_args)
コード例 #26
0
 def __init__(self, task, increment=1 * GB, maximum=31 * GB, **extra_args):
     self.increment = increment
     self.maximum = maximum
     RetryableTask.__init__(self, task, **extra_args)
コード例 #27
0
 def __init__(self, id_times_filename, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GnwApplication(id_times_filename, **extra_args),
         **extra_args)