Re: [slurm-users] Lua plugin job_desc fields

2023-02-08 Thread Ole Holm Nielsen
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

Re: [slurm-users] Lua plugin job_desc fields

2023-02-08 Thread Groner, Rob
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

Re: [slurm-users] Lua plugin job_desc fields

2023-02-08 Thread Chrysovalantis Paschoulas
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

Re: [slurm-users] slurm and singularity

2023-02-08 Thread Brian Andrus
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

[slurm-users] Lua plugin job_desc fields

2023-02-08 Thread Phill Harvey-Smith
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.

Re: [slurm-users] slurm and singularity

2023-02-08 Thread Groner, Rob
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

Re: [slurm-users] slurm and singularity

2023-02-08 Thread Jeffrey T Frey
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

Re: [slurm-users] slurm and singularity

2023-02-08 Thread Groner, Rob
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