Parfor command missing some iterations during execuation
Afficher commentaires plus anciens
Dear all, I am having problem with my code in which parfor command is missing some iterations. The parfor code is hereunder
parfor fit_loop = 1 : Pop_size
system(['$eclipse ' 'MainFile30x30x3(' int2str(fit_loop) ')'])
end
In this loop I am using 6 cores of i7 laptop. I am using eclipse reservoir simulator for running MainFile30x30x3 file with iteration number. In this way all of the iterations are independent. The software running few iterations in parallel but missing some iterations in between and the error occur
'The process cannot access the file because it is being used by another process'
If somebody have any idea about this so do share with me.
Thanks
Réponse acceptée
Plus de réponses (1)
Catégories
En savoir plus sur Parallel for-Loops (parfor) dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!