Group Abstract Group Abstract

Message Boards Message Boards

ParallelTable vs ParallelSubmit

Posted 12 years ago
POSTED BY: Matthias Neuer
4 Replies
POSTED BY: Chad Knutson
Posted 12 years ago

You are right there were some unnecessary lines in my codes. I deleted them but that didn't make any difference in the runtimes. I tried to distribute the definition of d but that made no difference either. I tested it with Mathematica 9.0 and 10.0.1. Which version did you use?

POSTED BY: Matthias Neuer

I think per ParallelTable's doc page it should distribute the definition automatically because DistributedContexts -> Automatic is preset. Omitting d should not affect the performance.

POSTED BY: Shenghui Yang

In your ParallelTable version, you didn't distribute the value of "d". When I do that (and get rid of extraneous stuff in your code), the timing results for the 2 cases are nearly identical.

POSTED BY: Chad Knutson
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard