Using tall arrays without parallel computing toolbox
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jacob Schaperow
le 11 Mar 2020
Réponse apportée : Walter Roberson
le 11 Mar 2020
I am using tall arrays to read in a large dataset in MATLAB. When I call the tall() function, it automatically tries to start a parallel pool, for example:
A = [2,1;1,3];
B = tall(A);
Starting parallel pool (parpool) using the 'local' profile ...
But there is some issue with my parallel computing toolbox license, so this causes MATLAB to crash. Is there some way I can use tall arrays without starting a parallel pool? Thanks in advance!
0 commentaires
Réponse acceptée
Walter Roberson
le 11 Mar 2020
If you want to turn off automatically opening a parallel pool, change your parallel preferences. If you turn off the Automatically create a parallel pool option, then you must explicitly start a pool if you want the tall function to use it for parallel processing. See Specify Your Parallel Preferences.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Parallel Computing Fundamentals dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!