Skip to content

Conversation

@sudostock
Copy link
Contributor

For slurm sbatch workloads set container-env flag for any variable set via env_vars.

The pyxis/enroot defaults are to set all variables in the user environment in the container environment, except when that variable already exists in the container. Then it won't overwrite it unless '--container-env=VAR' is set.

This creates potential confusion for the end-user 1) Most aren't aware of this, 2) It's a harder to reason about bug as some of your variables get set the way you want but not all.

My proposal is we set pass any variables the user set via env_vars to the '--container-env' flag as that's likely what the user expects.

Signed-off-by: Alex Filby <afilby@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant