Joss-reviews: [PRE REVIEW]: sluRm: A lightweight wrapper for HPC with Slurm

Created on 4 May 2019  路  26Comments  路  Source: openjournals/joss-reviews

Submitting author: @gvegayon (George Vega Yon)
Repository: https://github.com/USCbiostats/sluRm
Version: 0.1-0
Editor: @karthik
Reviewers: @mschubert, @mllg

Author instructions

Thanks for submitting your paper to JOSS @gvegayon. Currently, there isn't an JOSS editor assigned to your paper.

@gvegayon if you have any suggestions for potential reviewers then please mention them here in this thread. In addition, this list of people have already agreed to review for JOSS and may be suitable for this submission.

Editor instructions

The JOSS submission bot @whedon is here to help you find and assign reviewers and start the main review. To find out what @whedon can do for you type:

@whedon commands
HTML R TeX pre-review

All 26 comments

Hello human, I'm @whedon, a robot that can help you with some common editorial tasks.

For a list of things I can do to help you, just type:

@whedon commands

What happens now?

This submission is currently in a pre-review state which means we are waiting for an editor to be assigned and for them to find some reviewers for your submission. This may take anything between a few hours to a couple of weeks. Thanks for your patience :smile_cat:

You can help the editor by looking at this list of potential reviewers to identify individuals who might be able to review your submission (please start at the bottom of the list). Also, feel free to suggest individuals who are not on this list by mentioning their GitHub handles here.

Attempting PDF compilation. Reticulating splines etc...

@karthik could you handle this submission? Looks up your alley.

@whedon assign @karthik as editor

OK, the editor is @karthik

Currently ooo till May 15

/ooo today until May 15 2019

@karthik hmm OOO bot didn't seem to catch that. But thanks, no problem.

Hello @wrathematics Any chance you have time to review this submission?

馃憢 @HenrikBengtsson Would you also be open to reviewing this for us?

Pinged Henrik directly on 5/28

Sorry, I won't have the time to review this one any time soon, especially since I don't have access to a Slurm environment. I think whoever reviews this should be able to test it and play with it using Slurm. On a related note (request to the community), a Linux container with R and Slurm pre-configured would be useful (I would be interested in that outside of this submission).

My suggestion for alternative reviewers are:

  • Michel Lang (@mllg), author of batchtools
  • Michael Schubert (@mschubert), author of clustermq
  • Will Landau (@wlandau-lilly), author of drake and who I think have mentioned he got access to a Slurm environment

PS. Does "[PRE REVIEW]" in the subject mean "looking for reviewers" whereas "[REVIEW]" means "under review"?

I'd be happy to review this.1

However, could the editors please confirm that the advantages listed in the article (fewer dependencies, slightly different API) are sufficient as per JOSS guidelines?

The software should be a significant contribution to the available open source software that either enables some new research challenges to be addressed or makes addressing research challenges significantly better (e.g., faster, easier, simpler)

1 COI: author of package with similar functionality

I am willing to stay in the loop as a backup, but I am about to travel to a conference, so I would not be able to begin until next week. Also, the Slurm installation Henrik mentioned was experimental. It was all emulated on my local machine (including the one and only compute node) and I no longer currently have it.

I can also review this and test the package on multiple slurm systems.

PS. Does "[PRE REVIEW]" in the subject mean "looking for reviewers" whereas "[REVIEW]" means "under review"?

Yes, that's right.

Thanks Henrik for the reviewer suggestions and the helpful comments.

However, could the editors please confirm that the advantages listed in the article (fewer dependencies, slightly different API) are sufficient as per JOSS guidelines?

@mschubert Good point. @gvegayon: Can you please tell us a bit more about how your package is a significant improvement over existing tools?

Thanks all (@mschubert @mllg @wlandau @HenrikBengtsson) for all the comments/suggestions! @karthik, besides of it be lightweight (actually, dependency free), the other important contributions are:

  • Tailored for Slurm workflow (no need to use template files to set up a job, this is done on the fly).

  • Accessing bash commands directly from within R (cancel jobs, query jobs, see details on the job account, submitting jobs, etc.)

# Canceling a previously created job
scancel(job)

# Canceling all my jobs in the cluster
scancel(user = "vegayon")

# Canceling a given job id
scancel(9291231)
  • smoothly resubmitting jobs, or parts of it (which is something some of my colleagues value a lot), e.g.:
library(sluRm)

# A simple expr evaluation, WhoAmI() gives some info about the node
x <- Slurm_EvalQ(sluRm::WhoAmI(), njobs = 20, plan = "wait")

# Suppose jobs 1, 2, and 15-20 failed, then we can do the following
sbatch(x, array = "1,2,15-20")

# And, if status OK, then collect safely the entire array
ans <- Slurm_collect(x)

This last point is critical (I see partial failure all the time, and is very common in heterogeneous clusters). And I'm not sure how easy/complicated is to resubmit parts of jobs in the other frameworks, or how easy/complicated is to add these features to the other frameworks.

I tried to work out a comparison table with some of the tools mentioned here (tried to fill it to the best of my understanding, would happily receive comments/complains/suggestions from any of you :) ).

LMK what are your thoughts

cc my co-author @pmarjora

Thank you @gvegayon for addressing this issue. This meets JOSS' criteria and I'm happy to send this out for review. Thanks @mschubert and @mllg for volunteering. I'll assign you shortly.

@whedon add @mschubert as reviewer

OK, @mschubert is now a reviewer

@whedon add @mllg as reviewer

OK, @mllg is now a reviewer

@whedon start review

OK, I've started the review over in https://github.com/openjournals/joss-reviews/issues/1493. Feel free to close this issue now!

Was this page helpful?
0 / 5 - 0 ratings