Skip to content

RuntimeContext missing documented attributes #1312

@sjpb

Description

@sjpb

Some useful info is documented here:
https://reframe-hpc.readthedocs.io/en/latest/reference.html#reframe.core.runtime.RuntimeContext

However after doing

from reframe.core.runtime import runtime

then either runtime().output_prefix or runtime().stage_prefix fails with AttributeError.

Looks like actually there's an undocumented HostResources object as runtime().resources which provides these attributes. Have I understood the docs or are they wrong?

version 3.0-dev6 (rev: b7d5b01)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions