Using tall arrays without parallel computing toolbox

7 vues (au cours des 30 derniers jours)
Jacob Schaperow
Jacob Schaperow 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!

Réponse acceptée

Walter Roberson
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.

Plus de réponses (0)

Catégories

En savoir plus sur Parallel Computing Fundamentals dans Help Center et File Exchange

Produits


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by