Error with parallel pool creation 'local'

5 次查看(过去 30 天)
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

回答(1 个)

Saurabh
Saurabh 2024-9-11
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.

类别

Help CenterFile Exchange 中查找有关 Parallel Computing Fundamentals 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by