Package glue :: Module pipeline :: Class CondorDAGManNode
[hide private]
[frames] | no frames]

Class CondorDAGManNode

source code

CondorDAGNode --+
                |
               CondorDAGManNode

Condor DAGMan node class. Appropriate for setting up DAGs to run within a DAG. Adds the user-tag functionality to condor_dagman processes running in the DAG. May also be used to extend dagman-node specific functionality.

Instance Methods [hide private]
 
__init__(self, job) source code
 
add_maxjobs_category(self, categoryName, maxJobsNum)
Add a category to this DAG called categoryName with a maxjobs of maxJobsNum.
source code
 
get_cluster_jobs(self)
Returns the usertag string
source code
 
get_maxjobs_categories(self)
Return an array of tuples containing (categoryName,maxJobsNum)
source code
 
get_reduce_dax(self)
Return the flag that tells Pegasus to reduce the DAX based on existing PFNs
source code
 
get_static_pfn_cache(self)
Return the path to a static PFN cache
source code
 
get_user_tag(self)
Returns the usertag string
source code
 
set_cluster_jobs(self, cluster)
Set the type of job clustering pegasus can use to collapse jobs
source code
 
set_reduce_dax(self, rd)
Set the flag that tells Pegasus to reduce the DAX based on existing PFNs
source code
 
set_static_pfn_cache(self, file)
Use the --cache option to pass a static PFN cache to pegasus-plan
source code
 
set_user_tag(self, usertag)
Set the user tag that is passed to the analysis code.
source code

Inherited from CondorDAGNode: __repr__, add_checkpoint_file, add_checkpoint_macro, add_file_arg, add_file_opt, add_input_file, add_input_macro, add_io_macro, add_macro, add_output_file, add_output_macro, add_parent, add_pegasus_profile, add_post_script_arg, add_pre_script_arg, add_var_arg, add_var_condor_cmd, add_var_opt, finalize, get_args, get_category, get_checkpoint_files, get_cmd_line, get_cmd_tuple_list, get_dax_collapse, get_grid_start, get_input_files, get_name, get_opts, get_output_files, get_pegasus_profile, get_post_script, get_post_script_arg, get_priority, get_retry, get_vds_group, job, set_category, set_dax_collapse, set_grid_start, set_log_file, set_name, set_post_script, set_pre_script, set_priority, set_retry, set_vds_group, write_category, write_input_files, write_job, write_output_files, write_parents, write_post_script, write_pre_script, write_priority, write_vars

Method Details [hide private]

__init__(self, job)
(Constructor)

source code 
Parameters:
  • job - the CondorJob that this node corresponds to.
Overrides: CondorDAGNode.__init__

add_maxjobs_category(self, categoryName, maxJobsNum)

source code 

Add a category to this DAG called categoryName with a maxjobs of maxJobsNum.

Parameters:
  • node - Add (categoryName,maxJobsNum) tuple to CondorDAG.__maxjobs_categories.

set_cluster_jobs(self, cluster)

source code 

Set the type of job clustering pegasus can use to collapse jobs

Parameters:
  • cluster - clustering type

set_reduce_dax(self, rd)

source code 

Set the flag that tells Pegasus to reduce the DAX based on existing PFNs

Parameters:
  • rd - True or False

set_static_pfn_cache(self, file)

source code 

Use the --cache option to pass a static PFN cache to pegasus-plan

Parameters:
  • cache - full path to the cache file

set_user_tag(self, usertag)

source code 

Set the user tag that is passed to the analysis code.

Parameters:
  • user_tag - the user tag to identify the job