Error with parallel pool creation 'local'

7 visualizaciones (últimos 30 días)
Guillaume Carey
Guillaume Carey el 13 de Mzo. de 2020
Respondida: Saurabh el 11 de Sept. de 2024
Hello everyone,
I have an error about parallel pool creation in Matlab (R2018b) . I'm wondering if it's could be related to a denied access but not sure. I didn't find a solution in the forum or elsewhere. Here is my error:
>> parpool('local')
Starting parallel pool (parpool) using the 'local' profile ...
Error using parpool (line 113)
Invalid default value for property 'ProcessInformation' in class 'parallel.cluster.Local':
Undefined function 'dct_psfcns' for input arguments of type 'char'
The same error occurs when I try to "validate" the pool before. I'm new in Matlab sorry if this question is not usefull.
Thank you.
Best,
Guillaume

Respuestas (1)

Saurabh
Saurabh el 11 de Sept. de 2024
The most common reason for this type of problem is some sort of setup where the MATLAB session is uable to perform any system commands.
The workaround for the situation is to create a 'startup.m' file with the following code:
setenv('MATLAB_SHELL','/bin/tcsh')
You can also look at a problem that is quite similar to yours and try a similar solution.
I Hope this was helpful.

Categorías

Más información sobre Parallel Computing Fundamentals en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by