Matlab pool error

3 views (last 30 days)
Alex Hoppus
Alex Hoppus on 22 Sep 2011
Hello. PC: intel core i7 Matlab: 2011a I have some problems with comand matlabpool(number_of_workers); With any number_of_workers it gives Error when using the 'scheduler' section of the configuration 'local': The DataLocation of a scheduler must be an accessible directory on the current machine's filesystem. The value supplied (4) is not a valid directory What should i fix in this case? Thanks.

Accepted Answer

Walter Roberson
Walter Roberson on 22 Sep 2011
It sounds as if you need to set the DataLocation . See this and perhaps also some background

More Answers (3)

Edric Ellis
Edric Ellis on 23 Sep 2011
It sounds like your 'DataLocation' property on the 'local' scheduler has got an invalid value in it ('4') - this needs to be a directory on disk where job and task data can be stored.
To fix this, bring up the "Configurations Manager" from the Parallel menu, double-click 'local', and simply delete whatever is in the 'DataLocation' box (this causes the default to use, which should be fine).
You can check things are working ok by selecting 'Start Validation' in the Configurations Manager.

Alex Hoppus
Alex Hoppus on 22 Sep 2011
Yup, but out = findResource(); gives the same mistake. It isn't my code (i mean with matlabpool), so i just confused what should i do with this? What path should i set?

Alex Hoppus
Alex Hoppus on 23 Sep 2011
Thanks, that was right! But now another error occurs after using matlabpool ??? Error using ==> matlabpool at 133 The interactive parallel job finished without any messages. To diagnose this issue further, validate the configuration 'local' in the Configurations Manager.
now i have the following parameters in config.manager:
Number of workes available to scheduler - 4
Folder where job data is stored - empty
files/folders to copy from client to cluster node - empty
folder to add to the workers path - empty
maximum number of workers that can run job - 4
Minimum number of workers that can run job - 4

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!