tall/gather issue

조회 수: 4 (최근 30일)
Roro
Roro 2019년 12월 3일
답변: Edric Ellis 2019년 12월 4일
Hi everyone,
I have issue while using tall/gather function running in parallel pool in matlab, the error as below
Error using tall/gather (line 50)
An undefined function error was thrown on the workers for 'HelperGenerateSpeechDenoisingFeatures'. The file containing
'HelperGenerateSpeechDenoisingFeatures' might not be available on the workers. Specify the required files for this parallel pool
using the command: addAttachedFiles(pool, ...). See the documentation for parpool for more details.
Learn more about errors encountered during GATHER.
Error in XX (line 134)
[targets,predictors] = gather(targets,predictors);
Caused by:
Error using tall/cellfun (line 19)
Undefined function 'HelperGenerateSpeechDenoisingFeatures' for input arguments of type 'dsp.SampleRateConverter'.
how can I fix this issue please.
thanks

답변 (1개)

Edric Ellis
Edric Ellis 2019년 12월 4일
This error means that the workers on your remote cluster cannot find code that they need to execute your tall array algorithm. You should try the suggestion from the error message, and do:
addAttachedFiles(gcp(), 'HelperGenerateSpeechDenoisingFeatures')

카테고리

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