MathGroup Archive 2011

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

Search the Archive

ParallelMap evaluation leak

  • To: mathgroup at
  • Subject: [mg119451] ParallelMap evaluation leak
  • From: Chris Chiasson <chris.chiasson at>
  • Date: Sat, 4 Jun 2011 06:21:19 -0400 (EDT)

In[1]:= Map[f, Unevaluated@Times[7, 8]]
ParallelMap[f, Unevaluated@Times[7, 8]]

Out[1]= f[7] f[8]

During evaluation of In[1]:= ParallelCombine::nopar1:
@Unevaluated[Parallel`Combine`Private`e$]][56] cannot be parallelized;
proceeding with sequential evaluation. >>

Out[2]= 56

Out[3]= {Protected}

Out[4]= {HoldRest, Protected}

Out[5]= "8.0 for Microsoft Windows (32-bit) (November 7, 2010)"

I would expect the result in both cases to be f[7]*f[8] instead of 56,
regardless of the HoldRest attribute.

Do you agree?


  • Prev by Date: Re: Import[...] - MAT files, unable to access variable's data via
  • Next by Date: Re: Error in Compile
  • Previous by thread: Re: fibonacci question
  • Next by thread: FindCurvePath causes a crash