Dear Freesurfer Community,
Running lhstats = lme_mass_fit_vw(X,[1 2],Y,ni,lhcortex); gives the following error,
Starting parallel pool (parpool) using the 'local' profile ...
Error using parpool (line 104)
You requested a minimum of 8 workers, but the cluster "local" has the NumWorkers property set to allow a maximum of 2 workers. To run a
communicating job on more workers than this (up to a maximum of 512 for the Local cluster), increase the value of the NumWorkers
property for the cluster. The default value of NumWorkers for a Local cluster is the number of cores on the local machine.
Error in lme_mass_fit (line 137)
parpool(prs);
Error in lme_mass_fit_vw (line 73)
[stats1,st1] = lme_mass_fit(X,[],Xrows,Zcols,Y,ni,prs,e);
I am running Matlab on a personal MacBook Pro, 2.4 GHz Intel Core i5, 8 GB 1600 MHz DDR3.
I have researched the forum on how to stop the function from trying to initiate parallel processing but so far haven’t been able figure out how to overcome this.
Any help would be much appreciated.
Mayank Kaushal MD MBA
Postdoctoral Fellow
Department of Neurosurgery
Medical College of Wisconsin