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

rstudioapi does not inherit queue/queues parameter from launcherSubmitJob into launcherSubmitR on a Slurm cluster. #254

Open
michaelmayer2 opened this issue May 6, 2022 · 0 comments

Comments

@michaelmayer2
Copy link

Submitting a job to the Slurm Launcher via launcherSubmitJob() works fine:

> rstudioapi::launcherSubmitJob(exe="/usr/bin/Rscript", args="/scratch/mm/test.R", name="Test", cluster = "Slurm", queue="mpi")
[1] "U2x1cm06MTk="

Submitting the same via launcherSubmitR() fails

> rstudioapi::launcherSubmitR(script="/scratch/mm/test.R", cluster = "Slurm", queue="mpi")
Error in rstudioapi::launcherSubmitR(script = "/scratch/mm/test.R", cluster = "Slurm",  : 
  unused argument (queue = "mpi")

Fix is probably very easy and straightforward.

On a related note:
In the package documentation the parameter queues it is stated: "A list of available submission queues for the cluster. Only applicable to batch systems like LSF."

  • at submit stage on HPC clusters, only one queue/partition is specified
  • queue and queues seem to have the same functionality while only queues is documented.

I wonder if it would be better to rename queues to queue in the documentation as well in the code and allow only one queue to be specified to bring it closer to typical HPC usage ?

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

1 participant