|
KMR
|
KMRRUN Job-Script Generator. More...
Go to the source code of this file.
Functions | |
| def | kmrrungenscript.check_cmdline (cmdline, sched) |
| Check if command in the specified command line exists. More... | |
| def | kmrrungenscript.check_indir (dirname, sched) |
| Check if command in the specified command line exists. More... | |
| def | kmrrungenscript.check_restart (restart_basename, procstr, sched) |
| Check restart mode. More... | |
| def | kmrrungenscript.focus_scheduler (name, queue, rsctime, node, kmrrun_path, kmrrun_parameter, template_path) |
| Generates job-script for FOCUS supercomputer. More... | |
| def | kmrrungenscript.k_node_to_int (shape_str) |
| Parse K node declaration into an integer. More... | |
| def | kmrrungenscript.k_scheduler (name, queue, rsctime, node, kmrrun_path, kmrrun_parameter, template_path, shape, proc, mapper, kvgen, reducer, indir, ckpt, restart_basename) |
| Generates job-script for K. More... | |
| def | kmrrungenscript.select_scheduler (opts, sched) |
| Selects job-scheduler. More... | |
| def | kmrrungenscript.warn_stageout (opts) |
| Warn to write Stage-out section. More... | |
Variables | |
| kmrrungenscript.action | |
| kmrrungenscript.args | |
| kmrrungenscript.default | |
| kmrrungenscript.dest | |
| kmrrungenscript.help | |
| string | kmrrungenscript.kmrhome = '@KMRHOME@' |
| kmrrungenscript.metavar | |
| kmrrungenscript.options | |
| kmrrungenscript.parser = OptionParser(usage) | |
| kmrrungenscript.type | |
| string | kmrrungenscript.usage = "usage: %prog [options] -m mapper [-k keygener -r reducer]" |
| kmrgenscript main routine. More... | |
KMRRUN Job-Script Generator.
Definition in file kmrrungenscript.in.py.
| def kmrrungenscript.check_cmdline | ( | cmdline, | |
| sched | |||
| ) |
Check if command in the specified command line exists.
| cmdline | a command line to be executed |
| sched | string that represents scheduler type |
Definition at line 30 of file kmrrungenscript.in.py.
| def kmrrungenscript.check_indir | ( | dirname, | |
| sched | |||
| ) |
Check if command in the specified command line exists.
| dirname | name of directory where input files are located |
| sched | string that represents scheduler type |
Definition at line 43 of file kmrrungenscript.in.py.
| def kmrrungenscript.check_restart | ( | restart_basename, | |
| procstr, | |||
| sched | |||
| ) |
Check restart mode.
If node > number of checkpoint file, error.
| restart_basename | prefix of checkpoint directory name |
| procstr | string that represents process number |
| sched | string that represents scheduler type |
Definition at line 58 of file kmrrungenscript.in.py.
| def kmrrungenscript.k_node_to_int | ( | shape_str | ) |
Parse K node declaration into an integer.
| shape_str | string that represents K node shape |
Definition at line 97 of file kmrrungenscript.in.py.
| def kmrrungenscript.k_scheduler | ( | name, | |
| queue, | |||
| rsctime, | |||
| node, | |||
| kmrrun_path, | |||
| kmrrun_parameter, | |||
| template_path, | |||
| shape, | |||
| proc, | |||
| mapper, | |||
| kvgen, | |||
| reducer, | |||
| indir, | |||
| ckpt, | |||
| restart_basename | |||
| ) |
Generates job-script for K.
| name | name of the job |
| queue | queue to submit job |
| rsctime | resource time limit |
| node | number of node to execute. |
| kmrrun_path | path to kmrrun command |
| kmrrun_parameter | parameter for kmrrun |
| template_path | path for template file |
| shape | mpi process shape |
| proc | number of execute proc |
| mapper | mapper command line |
| kvgen | kv generator command line |
| reducer | reducer command line |
| indir | directory where inputs are located(staged-in) |
| ckpt | enable checkpoint |
| restart_basename | prefix of checkpoint directory name |
Definition at line 125 of file kmrrungenscript.in.py.
| def kmrrungenscript.focus_scheduler | ( | name, | |
| queue, | |||
| rsctime, | |||
| node, | |||
| kmrrun_path, | |||
| kmrrun_parameter, | |||
| template_path | |||
| ) |
Generates job-script for FOCUS supercomputer.
| name | name of the job |
| queue | queue to submit job |
| rsctime | resource time limit |
| node | number of MPI processes to use |
| kmrrun_path | path to kmrrun command |
| kmrrun_parameter | parameter for kmrrun |
| template_path | path for template file |
Definition at line 185 of file kmrrungenscript.in.py.
| def kmrrungenscript.select_scheduler | ( | opts, | |
| sched | |||
| ) |
Selects job-scheduler.
| opts | Options to the generator |
| sched | scheduler |
Definition at line 196 of file kmrrungenscript.in.py.
| def kmrrungenscript.warn_stageout | ( | opts | ) |
Warn to write Stage-out section.
| opts | Options to the generator |
Definition at line 261 of file kmrrungenscript.in.py.
| string kmrrungenscript.usage = "usage: %prog [options] -m mapper [-k keygener -r reducer]" |
kmrgenscript main routine.
It works on Python 2.4 or later.
Definition at line 285 of file kmrrungenscript.in.py.
1.8.11