HTCondor提交处理程序
condor-assistant的Python项目详细描述
欢迎来到秃鹰助手!在
condor_书单可以帮助您高效提交condor作业!在
请看示例.py(和示例.sh). 在
class condor_booklist(Executable = '', JobType = 'default_condor', JobName = '')
Parameters:
Executable(string): executable
JobType(string): name of the task (optional)
JobName(string): name of the job (optional)
^{pr2}$
def add_Argument(Argument)
add one or more argument(s) (representing one or several job(s)) to the booklist
Parameters:
Argument(string or a list of strings): the arguments to be specified after the executable
def set_Arguments(Arguments)
set the whole arguments (for all of the jobs that are going to be submitted)
Parameters:
Arguments(list of strings): the argument list
def add_BlankArgument()
if there is no argument to be specified in a certain job. usually used when there is only one job per list
def initialdir_in_arguments()
add the initial directory path as the first argument (before all of the specified arguments)
def set_JobFlavour(JobFlavour)
setup the allowed running time.
Parameters:
JobFavour = 'espresso' => 20min
= 'microcentury' => 1hr
= 'longlunch' => 2hr
= 'workday' => 8hr
= 'tomorrow' => 1d
= 'testmatch' => 3d
= 'nextweek' => 1w
def summary(keyword='')
print out the summary of the current condor booklist
Parameters:
Keyword = ''(default) => all
= 'basic' => basic
在源代码中可以找到更多选项。在
- 项目
标签: