sequential block of code inside parallel section
13 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello,
I am trying to do some operations inside a parallel section sequentially.
In every parallel framework that I have worked with, there is something like mutexes, semaphores, critical etc which allow you to do this.
Matlab lacks this features and a relevant submission that I found in the file exchange, which was also suggested by a mathworks engineer in another question, was full of persistent variables which could possibly lead to bugs.
Any ideas?
thanks
1 Commento
Sarah Wait Zaranek
il 27 Dic 2012
Anastasios - Which parallel construct are you using? Parfor, spmd?
Risposte (1)
Walter Roberson
il 27 Dic 2012
Unfortunately mutexes over networks are difficult. See e.g., the discussion http://www.mathworks.com/matlabcentral/newsreader/view_thread/279510
0 Commenti
Vedere anche
Categorie
Scopri di più su Loops and Conditional Statements in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!