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

Fix SLURM configuration for latest AiiDAlab image #8

Closed
danielhollas opened this issue Aug 16, 2022 · 3 comments · Fixed by #9
Closed

Fix SLURM configuration for latest AiiDAlab image #8

danielhollas opened this issue Aug 16, 2022 · 3 comments · Fixed by #9
Assignees
Labels
bug Something isn't working

Comments

@danielhollas
Copy link
Member

It looks like the location of the slurm.conf changed from /etc/slurm-llnl/slurm.conf to /etc/slurm/slurm.conf, possibly because of the Ubuntu update? Should be a simple fix in the Dockerfile.

@danielhollas danielhollas added the bug Something isn't working label Aug 16, 2022
@danielhollas danielhollas self-assigned this Aug 16, 2022
@danielhollas
Copy link
Member Author

Strange, after moving the conf file the new error is

slurmctld: fatal: mkdir(/var/lib/slurm-llnl/slurmctld): No such file or directory

@danielhollas
Copy link
Member Author

Now still running into weird permission issues when using the aiida user

$ srun hostname
srun: error: task 0 launch failed: Slurmd could not execve job
slurmstepd-localhost: error: task_g_set_affinity: Operation not permitted
slurmstepd-localhost: error: _exec_wait_child_wait_for_parent: failed: No error

Adding aiida user to slurm group did not help unfortunately.

@danielhollas
Copy link
Member Author

Things now work, but I opened #10 as a follow-up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant