Ticket 16433 - Specifying TMP space in restd job
Summary: Specifying TMP space in restd job
Status: RESOLVED INFOGIVEN
Alias: None
Product: Slurm
Classification: Unclassified
Component: slurmrestd (show other tickets)
Version: 21.08.8
Hardware: Linux Linux
: 5 - Enhancement
Assignee: Nate Rini
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2023-04-03 14:23 MDT by sysadmin
Modified: 2023-04-03 14:45 MDT (History)
1 user (show)

See Also:
Site: Allen Institute
Slinky Site: ---
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
Google sites: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
NoveTech Sites: ---
Nvidia HWinf-CS Sites: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Tzag Elita Sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed:
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments

Note You need to log in before you can comment on or make changes to this ticket.
Description sysadmin 2023-04-03 14:23:40 MDT
We currently utilize --tmp space in our srun/sbatch jobs and have a user trying to migrate to the slurmrestd interface for their work...

One issue they are finding is that they do not see a way to request --TMP from the API docs... although minimum_tmp_disk_per_node is listed... it doesn't appear to work on job submissions

Their attempt:
{
    "job": {

        "nodes": 1,
        "cpus_per_task": 1,
        "memory_per_node": 10,
        "time_limit": 1,
        "name": "test",
        "partition": "braintv",
        "batch_features": "minimum_tmp_disk_per_node=1GB"
    },
    "script": "#!/bin/bash\n sleep 100"
}

Is there a way to request TMP space in API jobs? If not... can I add it as a feature request?

Many thanks!
Comment 1 Nate Rini 2023-04-03 14:29:39 MDT
Yes, please try using the "temporary_disk_per_node" field.
Comment 2 sysadmin 2023-04-03 14:45:53 MDT
Aah perfect- I see it now... I was looking for the wrong keywords. Much appreciated!