Tag Info

Hot answers tagged

1

ParallelCombine solution. hugeList = Range[0, 2*10^4]; f[x_] := x ParallelCombine[Total[Map[f, #, 1]] &, hugeList, Total[{#}] &] (* 38503 *) Chunks of hugeList will be handed to Total[Map[f, #, 1]] & in parallel. This Total first Maps f onto each element of the list handed to it (a chunk of hugeList) thereby giving a total for the chunk and ...


1

To start, if you need a package for your parallel computation, you need to load that package on all kernels using ParallelNeeds instead of Needs. As a start, in your case using the following at least takes care of the undefined symbol errors you were receiving. ParallelNeeds["PhysicalConstants`"] Furthermore, the speed of sound and other physical ...


1

It doesn't seem possible but ParallelSubmit has a Scheduling option which allows to set a priority to a task. The lower it is the earlier the task will be executed. For example ParallelSubmit[2+2, Scheduling -> 5] Maybe in case of needing to execute an emergency task on a parallel kernel, a solution would be to submit a task with a high priority (i.e. ...



Only top voted, non community-wiki answers of a minimum length are eligible