A CondorDAGNode represents a node in the DAG. It corresponds to a
particular condor job (and so a particular submit file). If the job has
variable (macro) options, they can be set here so each nodes executes
with the correct options.
|
|
|
|
|
|
|
|
|
|
|
add_file_opt(self,
opt,
filename,
file_is_output_file=False)
Add a variable (macro) option for this node. |
source code
|
|
|
|
|
|
|
add_io_macro(self,
io,
filename)
Add a variable (macro) for storing the input/output files associated
with this node. |
source code
|
|
|
|
|
|
|
|
|
|
|
add_pegasus_profile(self,
namespace,
key,
value)
Add a Pegasus profile to this job which will be written to the dax as
<profile namespace="NAMESPACE"
key="KEY">VALUE</profile> This can be used to add
classads to particular jobs in the DAX |
source code
|
|
|
add_post_script_arg(self,
arg)
Adds an argument to the post script that is executed before the DAG
node is run. |
source code
|
|
|
add_pre_script_arg(self,
arg)
Adds an argument to the pre script that is executed before the DAG
node is run. |
source code
|
|
|
|
|
|
|
|
|
finalize(self)
The finalize method of a node is called before the node is finally
added to the DAG and can be overridden to do any last minute clean up
(such as setting extra command line arguments) |
source code
|
|
|
|
|
get_category(self)
Get the category for this node in the DAG. |
source code
|
|
|
get_checkpoint_files(self)
Return a list of checkpoint files for this DAG node and its job. |
source code
|
|
|
get_cmd_line(self)
Return the full command line that will be used when this node is run
by DAGman. |
source code
|
|
|
get_cmd_tuple_list(self)
Return a list of tuples containg the command line arguments |
source code
|
|
|
get_dax_collapse(self)
Get the DAX collapse key for this node |
source code
|
|
|
get_grid_start(self)
Return the grid starter that pegasus will use. |
source code
|
|
|
get_input_files(self)
Return list of input files for this DAG node and its job. |
source code
|
|
|
get_name(self)
Get the name for this node in the DAG. |
source code
|
|
|
|
|
get_output_files(self)
Return list of output files for this DAG node and its job. |
source code
|
|
|
get_pegasus_profile(self)
Return the pegasus profile dictionary for this node. |
source code
|
|
|
|
|
get_post_script_arg(self)
Returns and array of arguments to the post script that is executed
before the DAG node is run. |
source code
|
|
|
get_priority(self)
Get the priority for this node in the DAG. |
source code
|
|
|
|
|
get_vds_group(self)
Returns the VDS group key for this node |
source code
|
|
|
job(self)
Return the CondorJob that this node is associated with. |
source code
|
|
|
set_category(self,
category)
Set the category for this node in the DAG. |
source code
|
|
|
set_dax_collapse(self,
collapse)
Set the DAX collapse key for this node |
source code
|
|
|
|
|
|
|
set_name(self,
name)
Set the name for this node in the DAG. |
source code
|
|
|
|
|
|
|
set_priority(self,
priority)
Set the priority for this node in the DAG. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
write_vars(self,
fh)
Write the variable (macro) options and arguments to the DAG file
descriptor. |
source code
|
|