[slurm-users] Persistent Interactive Jobs
Brian Andrus
toomuchit at gmail.com
Fri Jun 10 04:16:37 UTC 2022
A couple suggestions:
1) You could use a gui (run X and vncserver so they can connect and have
a desktop)
2) You could run something like Jupyter an have them connect to that.
Either method would allow them to connect via ssh as long as the 'job'
is running. I use both for different users/groups.
Brian Andrus
On 6/9/2022 5:19 PM, Willy Markuske wrote:
>
> Hello All,
>
> I have a request from users for the ability to have persistent
> interactive jobs. Currently some users are using srun to allocate and
> interactive job and run their scripts but sshd will close connections
> after 2 hours to prevent hanging ssh connections. They want to spawn
> an R or python shell to work in directly for testing.
>
> I've attempted to use salloc and ssh to attach to the job but
> allocations are relinquished when the user leaves the submit node. Is
> there an easy way for a user to create a job allocation that spawns a
> terminal they can attach and unattach from? I'm looking at different
> ways to create a job that will spawn tmux and stay open, but it would
> be great if there was a way to directly attach/dettach to the output
> of a spawned terminal they could just ssh too.
>
> Regards,
>
> --
>
> Willy Markuske
>
> HPC Systems Engineer
>
>
>
> Research Data Services
>
> P: (619) 519-4435
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20220609/cbf849d0/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SDSClogo-plusname-red.jpg
Type: image/jpeg
Size: 9464 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20220609/cbf849d0/attachment.jpg>
More information about the slurm-users
mailing list