pychemia.runner package

Classes to manipulate execution on Queue systems, ‘Torque’

Submodules

pychemia.runner.pbs module

class pychemia.runner.pbs.PBSRunner(workdir, filename='batch.pbs')[source]

Bases: object

initialize(nodes=1, ppn=2, walltime=None, message='ae', mail=None, queue=None)[source]
set_template(template)[source]
set_walltime(walltime)[source]
submit(priority=0)[source]
write_pbs()[source]
pychemia.runner.pbs.get_jobs(user)[source]
pychemia.runner.pbs.report_cover()[source]

pychemia.runner.runner module

class pychemia.runner.runner.Runner(code, code_bin, environment, use_mpi=True, nmpiproc=2, nconcurrent=1, runtime=3600)[source]

Bases: object

initialize(dirpath)[source]

Utility that copy a given script and execute the given command inside the directory

Parameters:dirpath – (str) Directory to execute runner
run(dirpath='.', analyser=None)[source]
run_multidirs(workdirs, worker, checker)[source]
run_multidirs_nonstop(workdirs, worker, checker)[source]