Unable to read file: Invalid argument
Mostrar comentarios más antiguos
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 comentarios
Raymond Norris
el 25 de En. de 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
el 26 de En. de 2021
Editada: Daniel Rubio
el 26 de En. de 2021
Respuestas (0)
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
