I have a notebook with several input cells that produce data which is then plotted into separate graphs.
Since I do not want to save the results, because it makes the file huge, I keep the unevaluated file and run 'evaluate notebook' to produce all the plots. The cells are not sharing anything and are independent, so they could theoretically be run on separate kernels. I can run them in separate notebooks on separate kernels of course, but how can I achieve it with one notebook?
I tried to find my answer, however most applications want to run a ParallelEvaluate. However, I would like to run each cell on a separate kernel, which means that the cells run in parallel, but each cell is only run by one single kernel (so one single cell is not multithreaded).
Metaphorically speaking, I do not want a parallel running for loop within one cell, but I want four different separate for loops running in separate cells and in parallel to each other. Tell me if I use any incorrect terms or if my explanation is lacking anything.
ParallelSubmit
and then start all the evaluations usingWaitAll
. See if you can adapt the examples in theParallelSubmit
docs. $\endgroup$Evaluator
option ofCell
which allows to attach individual kernels to individual cells in one notebook and run them in parallel. $\endgroup$