ERROR when performing parallel computation with SLURM on a local HPC

1 visualizzazione (ultimi 30 giorni)
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

Risposte (0)

Categorie

Scopri di più su Cluster Configuration 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!