From: Patrick Scheibe on 17 Sep 2009 06:20 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
From: Syd Geraghty on 18 Sep 2009 05:37 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(a)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 > > >
|
Pages: 1 Prev: GUIKit: How to use a widget "Tree"? Next: Memory problems when solving equations |