-
Notifications
You must be signed in to change notification settings - Fork 18
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
Can't start from interactive Slurm session #47
Comments
Thanks for reporting this. Can you tell me the values of PMI_RANK and PMI_SIZE when you start your job with "srun --pty bash"? |
Sure!
|
Ok, add this to aux/extra, line 61: if [ -n "${PMI_SIZE+1}" ] && [ $PMI_SIZE -gt 1 ] ; then After this, leave the rest of the function as it is (starting with "if [ -n "${PMI_ID+1}" ] || [ -n "${PMI_RANK+1}" ] || [ -n "${MPIRUN_RANK+1}" ]; then"). I'll add this to the code, but there are things that I need to figure out before committing new changes. |
Thanks! I did what you suggested, but it doesn't seem to change anything. When |
Can you send me the output of the env command to my email? [email protected] Let see what we can do :) |
Hi!
When trying to start
remora
from an interactive Slurm session, it immediately exits with the following error:Our Slurm setup has
MpiDefault=pmi2
, and when starting an interactive session withsrun --pty bash
, the PMI environment is set, soPMI_RANK
is defined in the environment, andremora
thinks that it's running in a parallel mode (checks are incheck_running_parallel()
inaux/extra
).Unsetting the
PMI_RANK
variable allowsremora
to start:The text was updated successfully, but these errors were encountered: