MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Bug in ParallelDo?

  • To: mathgroup at
  • Subject: [mg116310] Bug in ParallelDo?
  • From: Thomas Münch <thomas.muench at>
  • Date: Thu, 10 Feb 2011 05:24:46 -0500 (EST)

Is this a bug in ParallelDo? The parallel Kernels do not seem to see the 
definitions propely.

\[ScriptCapitalD] = SmoothKernelDistribution[{1, 2, 3, 4}]
Table[{$KernelID,RandomVariate[\[ScriptCapitalD]]}, {2}] (* This is fine *)
Do[Print@{$KernelID,RandomVariate[\[ScriptCapitalD]]}, {2}] (* This is 
fine *)
ParallelTable[{$KernelID,RandomVariate[\[ScriptCapitalD]]}, {2}] (* This 
is fine *)
ParallelDo[Print@{$KernelID,RandomVariate[\[ScriptCapitalD]]}, {2}] (* 
This is NOT fine *)

This is Mathematica V8 on Windows XP, machine with 4 Cores. I have 
reported this to TechSupport.

  • Prev by Date: Re: Sorting nested lists with strings
  • Next by Date: Re: Sorting nested lists with strings
  • Previous by thread: Re: Applying function only if the output is positive
  • Next by thread: Re: Bug in ParallelDo?