Error with parallel pool creation 'local'

7 visualizzazioni (ultimi 30 giorni)
Guillaume Carey
Guillaume Carey il 13 Mar 2020
Risposto: Saurabh il 11 Set 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

Risposte (1)

Saurabh
Saurabh il 11 Set 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.

Categorie

Scopri di più su Parallel Computing Fundamentals in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by