I agree with Valantis' answer below. I've collected some information
and experiences with the job_submit_plugin in my Wiki page:
https://wiki.fysik.dtu.dk/Niflheim_system/Slurm_configuration/#job-submit-plugins
FYI: My example plugin Lua script is in
https://github.com/OleHolmNielsen/Slurm_too
No, there's no other official documentation of that. The official docs also
say to go to that source file and see the fields there. It's what I do also.
Rob
From: slurm-users on behalf of Chrysovalantis Paschoulas
Sent: Wednesday, February 8, 2023 11:46 AM
To
Hi Phill!
AFAIK no, I am always checking
"src/plugins/job_submit/lua/job_submit_lua.c" ;)
Cheers,
Valantis
On 2/8/23 17:22, Phill Harvey-Smith wrote:
Hi all,
Is there any documentation (or even just a list), of all the fields
that are available in the job_desc parameter to slurm_job_submi
If you are using a newer slurm, using srun for an interactive shell is
being deprecated. Salloc now defaults to a shell if no command is specified:
DESCRIPTION
salloc is used to allocate a Slurm job allocation, which is a set of
resources (nodes), possibly with some set of constraints (e.g. num
Hi all,
Is there any documentation (or even just a list), of all the fields that
are available in the job_desc parameter to slurm_job_submit in the
job_submit.lua plugin?
Cheers.
Phill.
Ah, thanks so much. I'm still a slurm newbie and I've barely used srun. I'm
not sure how long it would have taken me to find and understand those
parameters from the docs. Thanks!
From: slurm-users on behalf of Jeffrey
T Frey
Sent: Wednesday, February 8, 20
You may need srun to allocate a pty for the command. The
InteractiveStepOptions we use (that are handed to srun when no explicit command
is given to salloc) are:
--interactive --pty --export=TERM
E.g. without those flags a bare srun gives a promptless session:
[(it_nss:frey)@login00.darwin
I tried that, and it says the nodes have been allocated, but it never comes to
an apptainer prompt.
I then tried doing them in separate steps. Doing salloc works, I get a prompt
on the node that was allocated. I can then run "singularity shell " and
get the apptainer prompt. If I prefix that