Instead of using pam_slurm_adopt your users can get a shell on the node
of a specific job in that job's "mapped" space by running
srun --pty --overlap --jobid JOBIDNUM bash
-- Paul Raines (http://help.nmr.mgh.harvard.edu)
On Mon, 14 Apr 2025 4:30am, Massimo Sgaravatto via slurm-users wrote:
External Email - Use Caution
Dear all
With the pam_slurm_adopt module as far as I understand you can ssh to a
worker node if there is at least a job running on the node by that user.
If there are multiple jobs, if I am not wrong you will be "mapped" to the
last job started on the node. And, if you are using cgroups, you will be
"confined" to the resources assigned to this "last" job.
Is it possible in some way to specify the job to be mapped, in case there
are multiple jobs for that user on the same node ?
Thanks, Massimo
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Mass General Brigham Compliance
HelpLine at https://www.massgeneralbrigham.org/complianceline
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.
--
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-le...@lists.schedmd.com