Error using matlabpool _ Failed to open matlabpool

2 views (last 30 days)
I am using Matlab 2013a. I got the following error when I want to open matlabpool. (I set parallel environment in our cluster according to all instructions which is available in Matlab website. We are using sge. I run some parallel examples in Matlab,but I cannot use matlabpool for running parfor examples.)
matlabpool open Starting matlabpool using the 'sge' profile ... stopped.
Error using matlabpool (line 144) Failed to open matlabpool. (For information in addition to the causing error, validate the profile 'sge' in the Cluster Profile Manager.)
Caused by: Error using parallel.internal.pool.InteractiveClient/start (line 281) Failed to start matlabpool. Error using parallel.Job/submit (line 304) Either set NumWorkers on the cluster object to a finite value, or set the limits of NumWorkersRange on the job object to a finite value.
I would appreciate if somebody help me to solve this problem. Thanks

Answers (1)

Edric Ellis
Edric Ellis on 29 Jul 2013
As the error message suggests, you need to set the NumWorkers property of the cluster to some finite value (i.e. the number of workers you have available in your SGE cluster). You need to enter this information because it cannot be deduced automatically by Parallel Computing Toolbox.

Categories

Find more on Graphics Performance in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!