Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2872

Re: Parallelize vs Compile

From Oliver Ruebenkoenig <ruebenko@wolfram.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Parallelize vs Compile
Date 2011-06-01 08:29 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <is4ta3$au7$1@smc.vnet.net> (permalink)

Show all headers | View raw


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
>
>
>
>

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Parallelize vs Compile Oliver Ruebenkoenig <ruebenko@wolfram.com> - 2011-06-01 08:29 +0000

csiph-web