[slurm-users] REST-based CLI tools out there somewhere?

Chip Seraphine cseraphine at DRWHoldings.com
Fri Nov 10 01:23:12 UTC 2023


I’m passingly familiar with JupyterHub, but didn’t realize it had Slurm ties.    I’ll take a look at Open OnDemand as well.  I don’t think either will meet the requirement of being a replacement for srun from the shell, but a new GUI method would certainly be welcome.


From: slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of Davide DelVento <davide.quantum at gmail.com>
Reply-To: Slurm User Community List <slurm-users at lists.schedmd.com>
Date: Thursday, November 9, 2023 at 6:45 PM
To: Slurm User Community List <slurm-users at lists.schedmd.com>
Subject: [ext] Re: [slurm-users] REST-based CLI tools out there somewhere?

Not a direct answer to your question, but have you looked at Open OnDemand? Or maybe JupyterHub? I think most places today prefer to do either of those which provide somewhat the functionality you asked - and much more. On Thu, Nov 9, 2023

Not a direct answer to your question, but have you looked at Open OnDemand? Or maybe JupyterHub?
I think most places today prefer to do either of those which provide somewhat the functionality you asked - and much more.

On Thu, Nov 9, 2023 at 4:17 PM Chip Seraphine <cseraphine at drwholdings.com<mailto:cseraphine at drwholdings.com>> wrote:
Hello,

Our users submit their jobs from shared submit hosts, and have expressed an understandable preference for being able to submit directly from their own workstations.   The obvious solution (installing the slurm client on their workstations, or providing a container that does something similar) are not available to us because of security concerns.   This leaves REST as the best option.   We’re hoping to provide a REST-based toolset that users familiar with the command line tools can make immediate use of (so, provides basic, stripped-down functionality of srun, squeue, sacct, and sinfo).  Basically, we want to create a subset of the s* commands that can be run from some arbitrary machine if the user has the appropriate token.

It’d be surprising if we were the first people to go down this path, but searching has turned up nothing.   Is there a project anyone knows about out there for providing command-line SLURM commands that use REST to talk to the daemons?   Or am I missing some obvious solution here?

--

Chip Seraphine
Grid Operations
For support please use help-grid in email or slack.
This e-mail and any attachments may contain information that is confidential and proprietary and otherwise protected from disclosure. If you are not the intended recipient of this e-mail, do not read, duplicate or redistribute it by any means. Please immediately delete it and any attachments and notify the sender that you have received it by mistake. Unintended recipients are prohibited from taking action on the basis of information in this e-mail or any attachments. The DRW Companies make no representations that this e-mail or any attachments are free of computer viruses or other defects.



More information about the slurm-users mailing list