I need to evaluate a function, say myfunc, a large number of times:
myfunc/@{a,b,c, ...}
Each evaluation/iteration is independent of others. How can I take advantage of parallel processing and multi-core processor capabilities in Mathematica? I am completely unfamiliar with kernels or parallel processing in Mathematica. Any suggestions will be greatly appreciated.
Hello This example maps directly onto ParallelTable:
ParallelTable[myfunc@x,{x,{a,b,c,...}}]
The parallel kernels will launch automatically.
Compiling the function to the Wolfram Virtual Machine will also greatly speed up the calculation.
Both suggestions sped up processing time significantly. Thank you very much!