Unable to read file: Invalid argument
Afficher commentaires plus anciens
I am working with Matlab 2017b and MDCS 2017b. I have a bigger a script but the relevant part goes down to the following:
clear restoredefaultpath;
addpath(genpath('\\irampdevstorage.file.core.windows.net\fileshare\workflow47515'));
folder = '\\irampdevstorage.file.core.windows.net\fileshare\workflow47515';
configurationFile = [folder, '\DATA_CONTAINER1_0000047382.mat'];
spmd
data = load(configurationFile);
end
I am trying to load the file in a remote worker to use it there. If I create a local pool the workers can load the file with no problem. When I work with a remote pool I get the following error:
Error detected on workers 1 2 3 4 5 6 7 8 9 10 11 12.
Caused by:
Unable to read file '\\irampdevstorage.file.core.windows.net\fileshare\workflow47515\DATA_CONTAINER1_0000047382.mat': Invalid argument.
The path is fine and the network shared drive is mapped to the workers VM, so the file is accesible. Any ideas?
2 commentaires
Raymond Norris
le 25 Jan 2021
I'm gathering the cluster is running Windows?
Try running the following
spmd
dir \\irampdevstorage.file.core.windows.net
dir \\irampdevstorage.file.core.windows.net\fileshare
dir \\irampdevstorage.file.core.windows.net\fileshare\workflow47515
dir \\irampdevstorage.file.core.windows.net\fileshare\workflow47515\DATA_CONTAINER1_0000047382.mat
end
Let's see how far you can get through each one.
Daniel Rubio
le 26 Jan 2021
Modifié(e) : Daniel Rubio
le 26 Jan 2021
Réponses (0)
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
