I know this doesn't particularly help you, but for me on 23.11.6 it works as expected and immediately drops me onto the allocated node. In answer to your question, yes, as I understand it the default/expected behavior is to return the shell directly.

Jason

On Thu, Sep 5, 2024 at 8:18 AM Loris Bennett via slurm-users <slurm-users@lists.schedmd.com> wrote:
Hi,

With

  $ salloc --version
  slurm 23.11.10

and

  $ grep LaunchParameters /etc/slurm/slurm.conf
  LaunchParameters=use_interactive_step

the following

  $ salloc  --partition=interactive --ntasks=1 --time=00:03:00 --mem=1000 --qos=standard
  salloc: Granted job allocation 18928869
  salloc: Nodes c001 are ready for job

creates a job

  $ squeue --me
               JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)
            18928779 interacti interact    loris  R       1:05      1 c001

but causes the terminal to block.

From a second terminal I can log into the compute node:

  $ ssh c001
  [13:39:36] loris@c001 (1000) ~

Is that the expected behaviour or should salloc return a shell directly
on the compute node (like srun --pty /bin/bash -l used to do)?

Cheers,

Loris

--
Dr. Loris Bennett (Herr/Mr)
FUB-IT, Freie Universität Berlin

--
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-leave@lists.schedmd.com


--
Jason L. Simms, Ph.D., M.P.H.
Manager of Research Computing
Swarthmore College
Information Technology Services
(610) 328-8102
Schedule a meeting: https://calendly.com/jlsimms