HTCondor submission handler
Project description
Welcome to condor assistant!
The condor_booklist can help you submit the condor jobs efficiently!
Please look at the example.py (and example.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)
def submit(with_arguments=True)
submit the condor jobs that are booked in the booklist.
Parameters:
with_arguments: True if argument is required for each job. False if no argument needs to be specified.
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
More options can be found in the source codes.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file condor_assistant-0.2-py2-none-any.whl
.
File metadata
- Download URL: condor_assistant-0.2-py2-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/2.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48cffd6f264695bc8632d17628fa0d7da36efcf28dc57cd2f541bcde6d19cb8e |
|
MD5 | 7454f89b0e58d999299e4898e71b0071 |
|
BLAKE2b-256 | cc5a75d7c129df2954c8da4a5c83b4f57604c8121c668b721ed9eb454fc118fb |