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


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

Re: ProgressIndicator and ParallelTable problem :(

From Eric Brown <eric.c.brown@mac.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: ProgressIndicator and ParallelTable problem :(
Date 2011-04-06 09:13 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <inhasb$2ad$1@smc.vnet.net> (permalink)

Show all headers | View raw


I used to be bothered by this, until I reasoned that it's not a well-defined task.

Say there are ten tasks that need to be processed in a ParallelTable, and I have a quad-processor.  Also, consider that each task might take a different amount of time.

So, things start off fine, Task 1 is on Processor 1, Task 2 is on Processor 2, etc.

1 -> 1
2 -> 2
3 -> 3
4 -> 4

So what is the index for ProgressIndicator?  I would say 4, but 1 would be just as valid.

Now let 2,3, and 4 finish sooner than 1.  Now,

1->1
5->2
6->3
7->4

So what is the index for ProgressIndicator?  7 or 1?

I totally see what you want to do.  I ended up cutting the problem into batches and monitoring progress on those instead.

Eric

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


Thread

Re: ProgressIndicator and ParallelTable problem :( Eric Brown <eric.c.brown@mac.com> - 2011-04-06 09:13 +0000
  Re: ProgressIndicator and ParallelTable problem :( psycho_dad <s.nesseris@gmail.com> - 2011-04-07 12:06 +0000

csiph-web