Error with parallel pool creation 'local'

9 views (last 30 days)
Guillaume Carey
Guillaume Carey on 13 Mar 2020
Answered: Saurabh on 11 Sep 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

Answers (1)

Saurabh
Saurabh on 11 Sep 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.

Categories

Find more on Parallel Computing Fundamentals 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!