MathGroup Archive 2009

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

Search the Archive

Re: Table and ParallelTable. Strange behaviour.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg103371] Re: [mg103365] Table and ParallelTable. Strange behaviour.
  • From: Syd Geraghty <sydgeraghty at me.com>
  • Date: Fri, 18 Sep 2009 05:38:13 -0400 (EDT)
  • References: <200909171021.GAA29355@smc.vnet.net>

Patrick,

I confirm your results on my system below.

Looks like a bug (at least a change of limit test behaviour).

ParallelTable[{i, j}, {j, 0.1, 0.31, 0.1}, {i, 0.1, 0.3, 0.1}]

correctly gives ...

{{{0.1, 0.1}, {0.2, 0.1}, {0.3, 0.1}}, {{0.1, 0.2}, {0.2, 0.2}, {0.3,
    0.2}}, {{0.1, 0.3}, {0.2, 0.3}, {0.3, 0.3}}}


Cheers ... Syd

PS I have just reported this to Wolfram support.


Syd Geraghty B.Sc, M.Sc.

sydgeraghty at mac.com

Mathematica 7.0.1 for Mac OS X x86 (64 - bit) (18th February 2009)
MacOS X V 10.6 Snow LeopardMacBook Pro 2.33 GHz Intel Core 2 Duo  2GB  
RAM




On Sep 17, 2009, at 3:21 AM, Patrick Scheibe wrote:

> Hi,
>
> can someone confirm the following:
>
> In[12]:= Table[j, {j, 0.1, 0.3, 0.1}]
> Out[12]= {0.1, 0.2, 0.3}
>
> as expected. But
>
> In[13]:= ParallelTable[j, {j, 0.1, 0.3, 0.1}]
> Out[13]= {0.1, 0.2}
>
> and it seems  to be restricted to the first range spec since
>
> In[14]:= ParallelTable[{i, j}, {j, 0.1, 0.3, 0.1}, {i, 0.1, 0.3, 0.1}]
> Out[14]= {{{0.1, 0.1}, {0.2, 0.1}, {0.3, 0.1}}, {{0.1, 0.2}, {0.2,
> 0.2}, {0.3, 0.2}}}
>
> This is so fundamental that I'm very certain someone else must have
> been stumbled
> over this before me. I tested this on
>
> Mac OS X 10.6 Snow Leopard with Mathematica 7.0.1 (2 ParallelKernels)
>
> and
>
> Mac OS X 10.5.7 Leopard with Mathematica 7.0.1 (8 ParallelKernels  
> but only 4
> used for this)
>
> Cheers
> Patrick
>
>
>


  • Prev by Date: Re: Re: NDSolve Mathematica 6 and 7
  • Next by Date: Re: PlotRange
  • Previous by thread: Table and ParallelTable. Strange behaviour.
  • Next by thread: edge contraction for a graph (Combinatorica)