Generic condor job class. Provides methods to set the options in the
condor submit file for a particular executable
|
|
|
|
|
add_checkpoint_file(self,
filename)
Add filename as a checkpoint file for this DAG job. |
source code
|
|
|
|
|
|
|
|
|
add_ini_opts(self,
cp,
section)
Parse command line options from a given section in an ini file and
pass to the executable. |
source code
|
|
|
|
|
|
|
|
|
|
|
get_args(self)
Return the list of arguments that are to be passed to the executable. |
source code
|
|
|
get_checkpoint_files(self)
Return a list of checkpoint files for this DAG node |
source code
|
|
|
get_condor_cmds(self)
Return the dictionary of condor keywords to add to the job |
source code
|
|
|
get_executable(self)
Return the name of the executable for this job. |
source code
|
|
|
get_executable_installed(self)
return whether or not the executable is installed |
source code
|
|
|
get_grid_scheduler(self)
Return the grid scheduler. |
source code
|
|
|
get_grid_server(self)
Return the grid server on which the job will run. |
source code
|
|
|
get_grid_type(self)
Return the grid type of the job. |
source code
|
|
|
get_input_files(self)
Return list of input files for this DAG node. |
source code
|
|
|
get_opt(self,
opt)
Returns the value associated with the given command line option. |
source code
|
|
|
get_opts(self)
Return the dictionary of opts for the job. |
source code
|
|
|
get_output_files(self)
Return list of output files for this DAG node. |
source code
|
|
|
get_short_opts(self)
Return the dictionary of short options for the job. |
source code
|
|
|
get_stderr_file(self)
Get the file to which Condor directs the stderr of the job. |
source code
|
|
|
get_stdin_file(self)
Get the file from which Condor directs the stdin of the job. |
source code
|
|
|
get_stdout_file(self)
Get the file to which Condor directs the stdout of the job. |
source code
|
|
|
get_sub_file(self)
Get the name of the file which the Condor submit file will be written
to when write_sub_file() is called. |
source code
|
|
|
get_universe(self)
Return the condor universe that the job will run in. |
source code
|
|
|
set_executable(self,
executable)
Set the name of the executable for this job. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set_sub_file(self,
path)
Set the name of the file to write the Condor submit file to when
write_sub_file() is called. |
source code
|
|
|
|
|
write_sub_file(self)
Write a submit file for this Condor job. |
source code
|
|