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


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

Parallelize vs Compile

From Nicholas Goble <ngoble@iwu.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Parallelize vs Compile
Date 2011-05-31 11:47 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <is2kfq$qo2$1@smc.vnet.net> (permalink)

Show all headers | View raw


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


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


Thread

Parallelize vs Compile Nicholas Goble <ngoble@iwu.edu> - 2011-05-31 11:47 +0000

csiph-web