When I use the NBodySimulation in a ParallelTable I do not get multiple processors effectively activating. If I want to sweep over a few parameters (so doing a few thousand simulations) it would be great to speed this up.


closed as off-topic by C. E., m_goldberg, MarcoB, xzczd, Öskå Aug 11 at 16:12

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question cannot be answered without additional information. Questions on problems in code must describe the specific problem and include valid code to reproduce it. Any data used for programming examples should be embedded in the question or code to generate the (fake) data must be included." – C. E., m_goldberg, MarcoB, xzczd, Öskå
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    $\begingroup$ Please show code. I tried to apply ParallelTable on the first example in the documentation, the one about springs, and it did parallelize the simulations. $\endgroup$ – C. E. Aug 10 at 5:13