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 adapter 内部的部分命令没有尊重 slurmpath #19

Open
link89 opened this issue Sep 12, 2024 · 1 comment
Open

slurm adapter 内部的部分命令没有尊重 slurmpath #19

link89 opened this issue Sep 12, 2024 · 1 comment

Comments

@link89
Copy link
Contributor

link89 commented Sep 12, 2024

adapter 在初始化时需要调用 scontrol 命令,但由于对于 root 用户该命令不在其 PATH中会导致失败。

原则上,在配置了 slurmpath 的情况下,所用命令应该为 {slurmpath}/bin/scontrol, 但目前的实现上并未做此处理。

当前的规避方法为添加至 PATH 环境变量,但更合理的方式应该是尊重 slurmpath 的设定。

@vanstriker
Copy link
Member

需求已经收到,后续会继续更新

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