Message Boards Message Boards

Parallel computing with large arrays and interpolation functions

For a project, I need to do repeated successive calls to interpolation functions for thousands of data points. Parallel computing should help here but as shown here something weird is going on.

After exploring InterpolatingFunction, DistributeDefninitions, ParallelEvaluate and PackedArray I found a way to make it work as I would expect/hoped.

I have added my test notebooks that ran on both Mac and Windows which helped me to figure this out with all the examples to show the performance loss for large arrays. Here is a short summary of my findings and solution.

As asked before does anyone have any thoughts on this?

POSTED BY: Martijn Froeling
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract