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!