MathGroup Archive 2011

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

Search the Archive

Re: Parallelize vs Compile


On Tue, 31 May 2011, Nicholas Goble wrote:

> My code seems to run much more quickly when I only use Parallelize[] as
> compared to any combination of Parallelize and Compile.  Even when I compile
> into C using CompilationTarget->"C" and with Parallelization->True.
>
> I thought that compiling would always make a program in Mathematica run
> faster. Why does it slow down?

that is impossible to assess without seeing the code.

>  Is Parallelize always the most efficient?
>

no.

> Nicholas Goble
>
>
>
>


  • Prev by Date: Re: Evaluation control in Compile[]
  • Next by Date: Mapping to Create Nested Loops
  • Previous by thread: Re: Evaluation control in Compile[]
  • Next by thread: Re: Parallelize vs Compile