Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integration with slurmrestd #115

Open
jamesbeedy opened this issue Jun 1, 2023 · 3 comments
Open

integration with slurmrestd #115

jamesbeedy opened this issue Jun 1, 2023 · 3 comments

Comments

@jamesbeedy
Copy link

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

@flx42
Copy link
Member

flx42 commented Jun 1, 2023

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/

@jamesbeedy
Copy link
Author

@flx42, thank you for the response. We do have a strong use case and I will submit an RFE.

@dran-dev
Copy link

dran-dev commented Sep 4, 2024

@jamesbeedy were there any updates on support for this feature in slurmrestd?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants