Matlab pool error

7 次查看(过去 30 天)
Alex Hoppus
Alex Hoppus 2011-9-22
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.

采纳的回答

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

更多回答(3 个)

Edric Ellis
Edric Ellis 2011-9-23
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 2011-9-22
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 2011-9-23
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

Community Treasure Hunt

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

Start Hunting!

Translated by