ERROR when performing parallel computation with SLURM on a local HPC
조회 수: 1 (최근 30일)
이전 댓글 표시
I'm running a program using parallel computation with SLURM on a local HPC. But an error shows:
Error using xcorr_spat_hc2
An UndefinedFunction error was thrown on the workers for 'ncc_hc_NE'. This might be because
the file containing 'ncc_hc_NE' is not accessible on the workers. Use
addAttachedFiles(pool, files) to specify the required files to be attached. See the
documentation for 'parallel.Pool/addAttachedFiles' for more details.
Error in quadmatching_hc2
Error in MIMC_QM_HC2
Error in MIMC2_split2
Error in MIMC2_split2
Caused by:
Undefined function 'ncc_hc_NE' for input arguments of type 'double'.
The strange thing is, the program can run correctly on my Macbook with no error. I have added the same folder paths on Macbook and HPC, also they include the same library. Does anyone know how to deal with it? Thank you for any help
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Cluster Configuration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!