jobsplitter - Jobsplitter - slurm setup tool

vdrp.jobsplitter.create_job_file(fname, commands, n_nodes, jobs_per_file, jobs_per_node, args)[source]
vdrp.jobsplitter.getDefaults()[source]

Get the defaults for the argument parser. Separating this out from the get_arguments routine allows us to use different defaults when using the jobsplitter from within a differen script.

vdrp.jobsplitter.get_arguments(parser)[source]

Add command line arguments for the jobsplitter, this function can be called from another tool, adding job splitter support.

Parameters:
parser : argparse.ArgumentParser
vdrp.jobsplitter.main(args)[source]
vdrp.jobsplitter.n_needed(njobs, limit)[source]
vdrp.jobsplitter.parse_args(argv)[source]

Command line parser

Parameters:
argv : list of strings

list to parsed

Returns:
namespace:

Parsed arguments

vdrp.jobsplitter.run()[source]