Package pylal :: Module auxmvc :: Class auxmvc_analysis_job
[hide private]
[frames] | no frames]

Class auxmvc_analysis_job

source code

  glue.pipeline.AnalysisJob --+
                              |
glue.pipeline.CondorJob --+   |
                          |   |
 glue.pipeline.CondorDAGJob --+
                              |
                             auxmvc_analysis_job

A basic auxmvc job class. Sets common atributes needed for any auxmvc job. It uses config parser object to set the options.

Instance Methods [hide private]
 
__init__(self, cp, sections, exec_name, tag_base='', id='', extension='', dax=False, short_opts=False)
cp = ConfigParser object from which options are read.
source code
 
set_exec_name(self, exec_name)
Set the exec_name name
source code
 
get_exec_name(self)
Get the exec_name name
source code
 
set_extension(self, extension)
Set the file extension
source code
 
get_extension(self)
Get the extension for the file name
source code
 
get_use_gpus(self)
Get whether this job was requested to run on a GPU node
source code
 
add_short_ini_opts(self, cp, section)
Parse command line options from a given section in an ini file and pass to the executable as short options.
source code

Inherited from glue.pipeline.AnalysisJob: channel, get_config, is_dax, set_channel

Inherited from glue.pipeline.CondorDAGJob: add_var_arg, add_var_condor_cmd, add_var_opt, create_node, get_dax_mpi_cluster, get_grid_site, set_dax_mpi_cluster, set_grid_site

Inherited from glue.pipeline.CondorJob: add_arg, add_checkpoint_file, add_condor_cmd, add_file_arg, add_file_opt, add_ini_opts, add_input_file, add_opt, add_output_file, add_short_opt, get_args, get_checkpoint_files, get_condor_cmds, get_executable, get_executable_installed, get_grid_scheduler, get_grid_server, get_grid_type, get_input_files, get_opt, get_opts, get_output_files, get_short_opts, get_stderr_file, get_stdin_file, get_stdout_file, get_sub_file, get_universe, set_executable, set_executable_installed, set_grid_scheduler, set_grid_server, set_grid_type, set_log_file, set_notification, set_stderr_file, set_stdin_file, set_stdout_file, set_sub_file, set_universe, write_sub_file

Method Details [hide private]

__init__(self, cp, sections, exec_name, tag_base='', id='', extension='', dax=False, short_opts=False)
(Constructor)

source code 

cp = ConfigParser object from which options are read. sections = sections of the ConfigParser that get added to the opts exec_name = exec_name name in ConfigParser

Parameters:
  • cp - ConfigParser object that contains the configuration for this job.
Overrides: glue.pipeline.CondorJob.__init__

add_short_ini_opts(self, cp, section)

source code 

Parse command line options from a given section in an ini file and pass to the executable as short options.

Parameters:
  • cp - ConfigParser object pointing to the ini file.
  • section - section of the ini file to add to the options.