- what is index_d and what kinds of values are in it?
- examples of what the file names look like (e.g. img54927.jpg)
How can I acssess File in a compute node in my cluster
1 次查看(过去 30 天)
显示 更早的评论
- Hi,
- I have files stored in path 'x'
- I'm using this code
- if true
spmd
index_loc=getLocalPart(index_d);
tic;
for j=index_loc
temp=imread(strcat('x/',num2str(j),'.jpg'));
end
toc
end
end
and getting error that file doesn't exist
1 个评论
Jason Ross
2012-9-17
Can you clarify:
Also, if you do this manually, e.g.
spmd
temp=impread('full_path_to/filename.jpg');
end
Does it work as expected? You can use spmd pretty interactively at the command prompt for troubleshooting.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Parallel Server 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!