open-research / sumatra

http://neuralensemble.org/sumatra/
BSD 2-Clause "Simplified" License
127 stars 49 forks source link

Batch mode execution #195

Open apdavison opened 9 years ago

apdavison commented 9 years ago

In scientific computing it is common to run a batch of computations with the same code, but different parameters on each run. It would be useful for Sumatra to support this, perhaps by introducing a new command, smt batch.

It would be helpful here to collect different ways in which such batch computations are currently specified.

apdavison commented 9 years ago

Two random brainstorming comments:

[1] http://ioam.github.io/lancet/

[2] https://github.com/ioam/param

Trac comment by cilix on 05-13-2014 at 11:42

sjdenny commented 9 years ago

I have used Lancet successfully for performing parameter sweeps on a compute cluster. For example, a grid search can be specified as a product of individual parameter ranges, then each simulation is submitted individually to qsub. When the simulations finish, Lancet has a nice way of specifying the output file range and running a user-defined function to amalgamate the results. The paper [1] was useful for getting a working example together, although it seems that some of the examples there have now made it through to the documentation.

I'd be extremely interested to see if sumatra and Lancet (or something Lancet-like) could be combined, since in our work, one 'experiment' is usually hundreds of related cluster jobs which are then combined and analysed together.

[1] http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3874632/