Effacer les filtres
Effacer les filtres

Should I close the matlabpool

3 vues (au cours des 30 derniers jours)
Yanai
Yanai le 27 Mar 2013
I have an external application open an MCR, call "matlabpool open", run parallel code and quit the matlab. The above may occur several times before a complete shutdown.
Should I run "matlabpool close" before quiting matlab? Or is the matlabpool automatically being closed?
I'm using version 2012a.

Réponses (1)

Richard Alcock
Richard Alcock le 28 Mar 2013
The pool should notice when the client MCR (or client MATLAB) goes away and will effectively be closed at that point - the cluster's resources will be released. But calling matlabpool close makes it clearer what your intent is and gives the pool the chance to close cleanly.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by