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