MathGroup Archive 2011

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

Search the Archive

Parallelize vs Compile

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119339] Parallelize vs Compile
  • From: Nicholas Goble <ngoble at iwu.edu>
  • Date: Tue, 31 May 2011 07:46:49 -0400 (EDT)

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?  Is Parallelize always the most efficient?

Nicholas Goble




  • Prev by Date: Re: FullSimplify with functions owner
  • Next by Date: Re: Question on making a piecewise function periodic tia sal2
  • Previous by thread: How to Catch FindRoot::lstol error in FindRoot loop
  • Next by thread: Akima-Interpolation