Mex files and parallel processing on a supercompouter: Issue with addAttachedFiles

1 view (last 30 days)
Hi,
I can successfully run a parallel job on my desktop that is calling some mex files I have written. I have used the addAttachedFiles command to ensure the processors see the mex files. However when I run this on our supercomputer cluster I get error messages saying the mex files are not visible. Does anyone have any experience with this sort of thing?
Thanks Adam

Answers (1)

Sanjana Ramakrishnan
Sanjana Ramakrishnan on 19 Sep 2017
The attached mex files may not be in the location where the job in the cluster is executing. To get the location of attached files use 'getattachedfilesfolder' function. Refer the below link:

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!