• No results found

QSession: Running Multiple Jobs

class clusterweb.pbs.qsession.QSession(n_nodes=1, n_cores=1, set_walltime=’1:00:00’, set_memory=’8GB’, set_cpu=’1:00:00’, wait_time=1, verbose=0)

Bases:object

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument Returns something

Return type string Raises TypeError

__del__()

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument Returns something

Return type string Raises TypeError

__enter__()

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument Returns something

Return type string Raises TypeError

__eq__(value)

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument Returns something

Return type string Raises TypeError

__exit__(type, value, traceback)

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument Returns something

Return type string Raises TypeError

__ge__(value)

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

2.8. QSession: Running Multiple Jobs 27

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument Returns something

Return type string Raises TypeError

__getitem__(key)

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument Returns something

Return type string Raises TypeError

__gt__(value)

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument Returns something

Return type string Raises TypeError

__init__(n_nodes=1, n_cores=1, set_walltime=’1:00:00’, set_memory=’8GB’, set_cpu=’1:00:00’, wait_time=1, verbose=0)

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument Returns something

Return type string Raises TypeError

__le__(value)

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument Returns something

Return type string Raises TypeError

__len__()

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument Returns something

Return type string Raises TypeError

__lt__(value)

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

2.8. QSession: Running Multiple Jobs 29

• arg2 (module.AClass) – second argument Returns something

Return type string Raises TypeError

__mul__(value)

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument Returns something

Return type string Raises TypeError

__ne__(value)

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument Returns something

Return type string Raises TypeError

allocate_cores(n_cores)

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument

Returns something Return type string Raises TypeError

allocate_cpu_time(cpu_time)

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument Returns something

Return type string Raises TypeError

allocate_memory(memory)

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument Returns something

Return type string Raises TypeError

allocate_nodes(n_nodes)

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument Returns something

2.8. QSession: Running Multiple Jobs 31

Return type string Raises TypeError

allocate_walltime(walltime)

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument Returns something

Return type string Raises TypeError

data_dump(data, path)

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument Returns something

Return type string Raises TypeError

fetch_result()

generate_qsub_script()

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument Returns something

Return type string Raises TypeError

index(value)

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument Returns something

Return type string Raises TypeError

load(target=None, args=None)

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument Returns something

Return type string Raises TypeError

pull() push()

write_script(script, path, mode=’w’)

A method’s docstring with parameters and return value.

Use all the cool Sphinx capabilities in this description, e.g. to give usage examples . . . Example

>>> another_class.foo('', AClass())

Parameters

• arg1 (string) – first argument

• arg2 (module.AClass) – second argument

2.8. QSession: Running Multiple Jobs 33

Returns something Return type string Raises TypeError

Related documents