Error with parallel pool creation 'local'

5 Ansichten (letzte 30 Tage)
Guillaume Carey
Guillaume Carey am 13 Mär. 2020
Beantwortet: Saurabh am 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

Antworten (1)

Saurabh
Saurabh am 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.

Kategorien

Mehr zu Parallel Computing Fundamentals finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by