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

Slurm scheduler does not work: KeyError: 'queuename' #140

Closed
stefanhiemer opened this issue Jul 30, 2024 · 2 comments
Closed

Slurm scheduler does not work: KeyError: 'queuename' #140

stefanhiemer opened this issue Jul 30, 2024 · 2 comments

Comments

@stefanhiemer
Copy link
Contributor

Hi there,

when trying to use calphy with conda on our cluster it fails with the attached error message.
error_message.txt

The problem is that in scheduler.py: the dictionary for the queueoptions in line 91 is not initialized with the queue name which causes then an error when trying to write out the different Slurm options in the lines following 126 as you try to call a key that has never existed. Please have a look at the pull requests to check whether you like the fix. Please check before on your cluster as well as to my experience cluster configs can be wildly different and the cluster on which I tested is fairly old.

Regards
Stefan

@srmnitc
Copy link
Member

srmnitc commented Jul 31, 2024

I did receive this issue, and I have now merged in your PR.

@srmnitc srmnitc closed this as completed Jul 31, 2024
@srmnitc
Copy link
Member

srmnitc commented Jul 31, 2024

Thanks a lot for the fix!

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

2 participants