- what platform you are running on?
- where is the MATLAB installation?
- what is the location of your preferences directory and do you have full read/write access to that location?
MATLAB 2014a cannot enable parpool
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ming
el 12 de Jun. de 2014
Comentada: Sean de Wolski
el 23 de Jun. de 2014
Hi, I tried to enable parpool in MATLAB 2014a, it gives following message Error using parpool (line 99) The operation must modify one or more Settings files for these levels: factory, user, but you do not have write permission on these levels: user.
Error in parallel.internal.ui.PoolHelper.startPool (line 11) parpool();
I have all permissions, I tried to uninstall and install again, but after one or two days, this problem come out again
4 comentarios
Elwin Chan
el 16 de Jun. de 2014
Hi Ming,
Thanks for the info. When it is not working, please can you try the following code and reply with the results? (The code won't fix the problem, but might help to diagnose the issue.)
s = Settings;
s.parallel
s.parallel.addNode('test')
s.parallel.test.addKey('testKey')
s.parallel.test.isSet('testKey')
s.parallel.removeNode('test')
Thanks,
Elwin
Respuesta aceptada
Elwin Chan
el 23 de Jun. de 2014
I debugged Ming's MATLAB installation, and the problem was that there was a 3rd party MATLAB toolbox installed that contained a file called assert.m which was higher up on the MATLAB search path than the built-in MATLAB function. This was causing MATLAB's built-in assert function to be shadowed, and caused the error.
You can see which assert function will used by calling
which -all assert
You want built-in (L:\Bparallel\matlab\toolbox\matlab\lang\assert) to be the first one on the list. If it is not the first on on the list, then you should re-arrange your path using MATLAB's path tool.
2 comentarios
Sean de Wolski
el 23 de Jun. de 2014
I've seen uses' asserts break lots of things; it's probably the most shadowed function I've seen.
Más respuestas (0)
Ver también
Categorías
Más información sobre Parallel Computing Fundamentals en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!