Run matlab parallel parpool.m in a python wrapper
6 views (last 30 days)
Hi, Matlab experts:
I have a question to use local parallel pool, I set up the configuration and the code to call it: myPool = gcp('nocreate'); % If no pool, do not create new one.
myPool = gcp('nocreate'); % If no pool, do not create new one.
myPool = parpool(poolsize);
It works in matlab script or from terminal to call it, but I have problem to call it from a python wrapper, which gave me errors:
MATLAB code threw an exception:
Failed to start a parallel pool. (For information in addition to the causing error, validate the profile 'local' in the Cluster Profile Manager.)
I do not know why, is it because that Matlab parallel pool does not support in python or other language wrapper??
Thanks very much.
Sharan Paramasivam Murugesan on 21 Aug 2017
This could be due to a bug in R2016a. Try the patch available at
If the patch does not help, provide the cluster logs. Log files exist on every system running in the cluster. By default on Windows these files are located in C:\temp\mdce and in /var/log/mdce on UNIX. The default location for the logs is in the file matlabroot\toolbox\distcomp\bin\mdce_def.bat on Windows and matlabroot/toolbox/distcomp/bin/mdce_def.sh on UNIX.