Open jamesbeedy opened 1 year ago
Unfortunately I don't think it's going to be possible as it doesn't look like there is an integration between slurmrestd and command-line arguments from SPANK plugins.
The simpler approach is probably to stick with srun --container-image
instead of trying to use sbatch --container-image
with slurmrestd:
"script": "#!/bin/bash\nsrun --container-image centos:7 bash -c 'cat /etc/os-release'"
But if you have a strong use case for supporting SPANK plugins with slurmrestd, you could submit a RFE if you have a support contract: https://bugs.schedmd.com/
@flx42, thank you for the response. We do have a strong use case and I will submit an RFE.
Hello,
I am very excited about this project.
My slurm use case primarily involves submitting jobs via slurmrestd.
Can you help me understand how I can supply pyxis sbatch parameters via slurmrestd?
Thank you