Skip to content
Prev 3854 / 21312 Next

[Bioc-devel] BiocParallel

I've hacked up some code that uses BatchJobs but makes it look like a
normal parLapply operation. Currently the main R process is checking the
state of the queue in regular intervals and fetches results once a job has
finished. Seems to work quite nicely, although there certainly are more
elaborate ways to deal with the synchronous/asynchronous issue. Is that
something that could be interesting for the broader audience? I could add
the code to BiocParallel for folks to try it out.
The whole thing may be a dumb idea, but I find it kind of useful to be
able to start parallel jobs directly from R on our huge SGE cluster, have
the calling script wait for all jobs to finish and then continue with some
downstream computations, rather than having to manually check the job
status and start another script once the results are there.
Florian