Issue with launching Parallel Workers when using TORQUE or PBS
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Mohammad Abouali
le 2 Déc 2016
Commenté : Mohammad Abouali
le 5 Déc 2016
Hi,
I am attaching the full output of MATLAB when trying to set useParallel option of GA to true.
This been causing some trouble in launching parallel pool.
Note that I am scheduling 100s of such runs on a computer cluster using Torque (or PBS, well I use qsub command).
So, I am not running them interactively. I am attaching both the full MATLAB Output and the scheduler script that I use to submit the job using qsub.
Any help is appreciated.
0 commentaires
Réponse acceptée
Edric Ellis
le 5 Déc 2016
One problem might be that the job storage locations are colliding, and you're ending up with many processes trying to write data to the same location. You could work around this by creating a local cluster instance using a unique job storage location. Something like this:
tempLoc = tempname;
mkdir(tempLoc);
clus = parallel.cluster.Local('JobStorageLocation', tempLoc);
parpool(clus);
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!