-
Notifications
You must be signed in to change notification settings - Fork 32
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
use sbatch instead of srun to block execution #65
Conversation
sbatch wraps the hostname command to run on the default partition, srun version may fail on clusters where the default partition does not accept interactive jobs
Thanks for the PR! Currently I am getting errors when testing the PR on our cluster. I will try to debug. |
I have been unable to debug this. The following command hangs indefinitely on our system:
I will attempt to find a workaround but if you have any ideas that would be helpful. |
@pmarchand1 if you have time to look at this, I was curious why |
That is very strange. I'm not sure what different configurations our clusters have - the command posted above works as expected for me. Sorry I can't be of much help there. Edit to add that we use Slurm 18: > sinfo -V
slurm 18.08.8 |
@ChristopherBarrington thanks that's helpful. We are still on version 15 from 2016 so maybe updating it would help, I'll see if I can get that done. edit: Yes, that seems to explain it because in Slurm 15.08, |
@qdread This functionality was added by @itcarroll after I left SESYNC. |
Thanks @pmarchand1 ! We are getting pretty close to getting the new cluster online so it will be running the new version of Slurm. I am holding off on testing anything else out until then. |
I hope the |
I tested this on |
@qdread If its no effort for you, that would be fun! I am glad to have (hopefully) helped out in any case. |
Done. I am in the process of releasing a new version to CRAN. Once that's accepted I will rebuild the pkgdown site and your name will appear! 😃 |
sbatch wraps the hostname command to run on the default partition, srun version may fail on clusters where the default partition does not accept interactive jobs
#64