parfor with BioIndexedFile?
古いコメントを表示
Is it possible to use parfor with a BioIndexedFile? I have tried, and Matlab seems to gag on it.
Example:
B=BioIndexedFile('fastq','P.fastq');
parfor n=1:1e6
a=read(B,n);
%some operations here
end
It doesn't seem to matter how simple the operations are. The machine runs out of memory, and doesn't seem to start the task. Perhaps it is trying to make a copy of the BioIndexedFile for each worker?
回答 (1 件)
Walter Roberson
2015 年 11 月 13 日
0 投票
You might possibly be able to take advantage of http://www.mathworks.com/matlabcentral/fileexchange/31972-worker-object-wrapper
カテゴリ
ヘルプ センター および File Exchange で Speech Recognition についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!