Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slurm environment variables can modify the behaviour of job submission implicitly #3422

Open
vkarak opened this issue Mar 12, 2025 · 0 comments

Comments

@vkarak
Copy link
Contributor

vkarak commented Mar 12, 2025

Slurm envirionment variables, e.g. SBATCH_CONSTRAINT, SBATCH_PARTITION, can modify the behaviour of test job submissions implicitly bypassing the configuration and the -J command-line option. The job submission should be fully controlled by ReFrame, so ReFrame should be unsetting all SBATCH_* environment variables before submitting.

There is the sched_access_in_submit configuration option introduced in #3156 that will work around this, but imo this is still a limitation and the default behaviour should not be dependency on Slurm environment variables.

@boegel @casparvl @laraPPr I think such behaviour would avoid the issue #2970 altogether, since iirc you were using SBATCH_PARTITION and ReFrame could not override this, so you had to rely on the new option introduced in #3156.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant