Skip to content

Allowed arguments of SLURM option --get-user-env in SLURM v25.05 #319

@zdemat

Description

@zdemat

Bug description

We are getting the following error after upgrading SLURM from v24.05 to v25.05.

sbatch: option '--get-user-env' doesn't allow an argument

The changes are mentioned in slurm v25.05 changelog: Deprecate "GetEnvTimeout" from slurm.conf and "timeout" and "mode" optional parameters from sbatch's --get-user-env option. The default timeout to get the user environment will be 120 seconds.

And may be related to this slurm f6d148 commit.

How to reproduce

  1. use batchspawner with slurm 25.05 (released: May-June 2025)

Your personal set up

  • batchspawner 1.1.0dev0 or 1.3.0
  • sbatch version: slurm 25.05.0
  • OS: Rocky Linux 8.10 or CentOS 7.9.2009

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions