Table and ParallelTable. Strange behaviour.
- To: mathgroup at smc.vnet.net
- Subject: [mg103365] Table and ParallelTable. Strange behaviour.
- From: Patrick Scheibe <pscheibe at trm.uni-leipzig.de>
- Date: Thu, 17 Sep 2009 06:21:55 -0400 (EDT)
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
- Follow-Ups:
- Re: Table and ParallelTable. Strange behaviour.
- From: Syd Geraghty <sydgeraghty@me.com>
- Re: Table and ParallelTable. Strange behaviour.