Skip to content

Allow Overriding the Default Mount Point of the Stage Directory in Containers #3367

@mredenti

Description

@mredenti

Description

Currently, ReFrame mounts the test’s stage directory inside the container to /rfm_workdir by default. This behavior is hard-coded and does not provide flexibility for users to specify an alternative mount point. - see https://reframe-hpc.readthedocs.io/en/stable/regression_test_api.html#reframe.core.containers.ContainerPlatform.workdir

Proposes feature

Introduce a configuration option that allows users to override the stage directory as the default mount point that points to /rfm_workdir directory inside the container.

Motivation

In environments with non-shared filesystems, input files are not located on the login node where the stage directory resides. As a result, the default mounting behavior restricts the accessibility of input files within the container. In this case one has to specify and additional mount point and and also set the self.container_platform.workdir. It would be more efficient to allow the possibility of changing the default mount point in such situations

Metadata

Metadata

Assignees

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions