Skip to content

RuntimeError: Cannot locate slurm_version.h in /usr/include/slurm #350

Answered by tazend
HealthyPear asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @HealthyPear

as @schluenz pointed out already, slurm_version.h did not exist yet in Slurm 20.2.x. The error you are receiving might indicate that you are trying to use a pyslurm release/branch that is meant to be used for a different (and more recent) Slurm version.

For Slurm 20.2, you can use this branch though: https://github.com/PySlurm/pyslurm/tree/20.2.x

(Note that 20.2 releases do not include any of the work made in the last 1-2 years to rework the API, i.e. what is shown on pyslurm.github.io. This is because there are too many changes throughout the major slurm versions, and porting all the things back to 20.2 was too time consuming at the time.)

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@HealthyPear
Comment options

Comment options

You must be logged in to vote
1 reply
@HealthyPear
Comment options

Answer selected by HealthyPear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants