Tag Info

New answers tagged

2

The reasons for the change in the behavior of ParallelTable are subtle. The main source of the problem is that in funcB, the argument k_ is not protected with ?NumericQ like this: funcB[t_?NumericQ, k_?NumericQ] := (* a solution *) funcB[t, k] = Exp[NIntegrate[funcA[et, k], {et, tini, t}]] But more on that later. The problem does not appear in the ...


2

You can use Mathematica's parallel tools, which already implement inter-kernel communication. What I show below is not the typical way to use parallelization. I try to follow your requirements more closely. I do strongly recommend you read through the parallelization docs and learn the basics before you use this though. When using the parallelization ...


0

The standard way is to use in the main notebook the DistributeDefinitions[{list of yoyr variables}]command. It will automatically share all mentioned mathematica names and it's content to all kernels. This in turn will make it available in all notebooks related to those kernels. But why do you use some notebooks for parallelization? Any tasks could be run ...


1

Documentation say: Import["!prog","format"] imports data from a pipe. I suggest that ParallelMap sent many requests to external program in one time and it return errors, but Mathematica interpret errors as empty list. PS: sorry for my english



Top 50 recent answers are included