Unable to read file: Invalid argument
Ältere Kommentare anzeigen
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 Kommentare
Raymond Norris
am 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
am 26 Jan. 2021
Bearbeitet: Daniel Rubio
am 26 Jan. 2021
Antworten (0)
Kategorien
Mehr zu Call Web Services from MATLAB Using HTTP finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
