| Author |
Comment/Response |
qm2008q
|
11/25/11 07:16am
According to "Parallel Computing Tools User Guide", your function g[] has to be distributed to the other kernels, otherwise they cannot perform the computation. In other words, only the master kernel know the definition of g, which is why the virtual functions run in parallel, but then go back to the master kernel to run g.
You need
DistributeDefinitions[g]
Hope this helps,
Joe
URL: , |
|