Timeline for Using Throw within ParallelDo
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:56 | history | edited | CommunityBot |
replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/
|
|
Mar 24, 2015 at 19:34 | history | edited | Karsten7 | CC BY-SA 3.0 |
edited body
|
Mar 24, 2015 at 18:25 | comment | added | Shane | Thanks - that's what I had in mind also. I guess having local counters minimizes the communication to make it more efficient, but it's also nice to have the global counter. I'm testing this solution and WReach's. | |
Mar 24, 2015 at 18:21 | comment | added | Karsten7 |
@Shane If you want to use Monitor , you can remove the Module , set counter = 0; as a global variable and share it among the kernels by executing SetSharedVariable[counter] . Now Monitor will work.
|
|
Mar 24, 2015 at 18:10 | comment | added | Karsten7 | Each kernel has its own counter. It is not shared. | |
Mar 24, 2015 at 18:08 | history | edited | Karsten7 | CC BY-SA 3.0 |
added 37 characters in body
|
Mar 24, 2015 at 18:08 | comment | added | Shane | Looking at the second one, is the counter being shared across the servant kernels or does each servant have its own? If the former, I can probably use Monitor to track it. I'm not sure about the latter. | |
Mar 24, 2015 at 18:07 | history | edited | Karsten7 | CC BY-SA 3.0 |
added 37 characters in body
|
Mar 24, 2015 at 18:00 | history | answered | Karsten7 | CC BY-SA 3.0 |