回答済み
Long time to load 40 gig file
You don't mention how you're loading the data right now. If you have <http://www.mathworks.com/help/distcomp/index.html Parallel...

8年以上 前 | 0

回答済み
How to apply parallel.pool.constant?
A |parallel.pool.Constant| only really helps if you're calling _multiple_ |parfor| loops - it stops you having to transfer const...

8年以上 前 | 1

回答済み
Matlab Does not recognise NVIDIA GPU Card in the PC
Further to Walter's pertinent questions, I'd like to add: it's important to distinguish the CUDA _driver_ from the CUDA _toolkit...

8年以上 前 | 0

回答済み
Workers during parfor-loop shutting down/going to sleep
Firstly, |labBarrier| has no effect inside a |parfor| loop. The |lab*| family of functions only operates within an |spmd| contex...

8年以上 前 | 0

回答済み
'parfor' slower than 'for' for simple tutorial example
The problem with your loop is that there just isn't enough work happening in the body. To get the sort of speed-up you might exp...

8年以上 前 | 4

| 採用済み

回答済み
What's the Largest Recorded Data Set Ever Used with MATLAB?
<https://www.mathworks.com/solutions/big-data-matlab.html This page> has links to information about MATLAB's "big data" capabili...

8年以上 前 | 0

回答済み
How do I construct a complex gpuArray directly on the GPU?
None of MATLAB's build methods (the |zeros|, |ones| family) build complex arrays, so the nearest you can get is to do something ...

8年以上 前 | 0

| 採用済み

回答済み
How to save a tall array / table to a text or csv file?
I think the least inefficient method is probably to combine use of |tall/write| with |writetable|. Calling |gather| repeatedly i...

8年以上 前 | 1

| 採用済み

回答済み
How can we create a distributed array for specific number of workers (cores) in MATLAB?
You could either create the pool explicitly using only three workers parpool(3) Or, you could use |spmd| with the option...

9年弱 前 | 0

回答済み
Issues with parfor, strsplit and MATLAB path
You can see which version of |strsplit| the workers are seeing by executing: fetchOutputs(parfeval(@which, 1, 'strsplit')) ...

9年弱 前 | 1

回答済み
Is it possible to create a global variable in a parfor loop that is global within all functions called, but local to the specific iteration?
Yes, this should work OK. It's not recommended to use |global| variables - but if you're certain they are being initialised inde...

9年弱 前 | 1

回答済み
"ismember" error with tall arrays
|tall/ismember| was only added in R2017a. See the <https://uk.mathworks.com/help/releases/R2016b/matlab/import_export/functions-...

9年弱 前 | 0

| 採用済み

回答済み
How to save workspace variables of a cluster job in .mat file?
If you want to save the outputs to a |.mat| file, I would recommend providing the full path to where you want it to be saved - o...

9年弱 前 | 1

回答済み
Passong COM objects within a parfor loop
This sounds like a job for <https://uk.mathworks.com/help/distcomp/parallel.pool.constant.html |parallel.pool.Constant|>. This l...

9年弱 前 | 1

回答済み
DataQueue and batch combined
It's not possible to use |DataQueue| with a |batch| job in this way - |DataQueue| can only be used to communicate between client...

9年弱 前 | 1

| 採用済み

回答済み
What happens when a parallel worker finishes early?
When MATLAB runs a |parfor| loop, it attempts to split the iterations of the loop across the workers to keep them all busy simul...

9年弱 前 | 2

| 採用済み

回答済み
Please help me create a tall array from a large binary file and "fileDatastore" without running out of memory.
In R2017a, |fileDatastore| is currently restricted to reading entire files at a time. This is a known limitation of the current ...

9年弱 前 | 0

| 採用済み

回答済み
The MATLAB 2017a identifies half number of core on Google Cloud virtual machine.
What happens when you run >> feature('numcores') on one of those machines? By default, MATLAB (and Parallel Computing To...

9年弱 前 | 0

回答済み
How can you set up very large Tall Arrays without Running into swap/page-file issues
Firstly, |tall| arrays are definitely _not_ required to fit into RAM, or swap space, or anything like that. It is perfectly poss...

9年弱 前 | 0

回答済み
Matlabpool Maximum Number of Local Workers on one computer - Parallel Computing
Please note that in R2014a the limit on the number of local workers was removed. See <http://www.mathworks.com/help/releases/R20...

9年弱 前 | 4

回答済み
Why does parallel.pool.const create a copy of the variable in memory for each worker sequentially instead of in parallel?
I suspect you're creating the |parallel.pool.Constant| using data created on the client. It's much more efficient to have the wo...

9年弱 前 | 1

| 採用済み

回答済み
How do I convert a for-Loop Into parfor-Loops?
The outputs from |parfor| loops need to be <http://uk.mathworks.com/help/distcomp/sliced-variable.html "sliced"> - i.e. one of t...

9年弱 前 | 2

| 採用済み

回答済み
simulating in parfor and geting a vector
It looks like your |volumeworkerdata| array isn't the right size to assign into a row of |volumedata|. I would make the followin...

9年弱 前 | 0

回答済み
Nested cellfun in parfor loop
Here's some code that I tried combining using nested functions together with |parfor| and |cellfun|: function out = pfeg ...

9年弱 前 | 0

| 採用済み

回答済み
valid slice are restricted in PARFOR loop
Adam's comment is correct. The |parfor| machinery cannot prove that your loop iterations are order-independent because you're in...

9年弱 前 | 0

回答済み
How MATLAB scheduler is doing the parallelization between the workers in one computer ?
For |spmd|, the model is simple: each worker executes the body of the block simultaneously. For |parfor|, the iterations of t...

約9年 前 | 0

| 採用済み

回答済み
How much overhead cost is incurred by using a function handle as a broadcast variable in a parfor loop?
It's not _necessarily_ a problem to have broadcast data in a |parfor| loop. If you're using R2016b or later, you can assess the ...

約9年 前 | 1

回答済み
How do I create datastore class interactively?
Further to @Steven's suggestion, you might instead wish to create a single |datastore| referring to all the files. See <http://w...

約9年 前 | 1

回答済み
How to add folders containing class definitions to matlab parpool object
The function <http://www.mathworks.com/help/distcomp/addattachedfiles.html |addAttachedFiles|> can accept folder names as well a...

約9年 前 | 0

回答済み
How to broadcast a variable in spmd mode
The broadcast function to use inside an |spmd| block is <https://www.mathworks.com/help/distcomp/labbroadcast.html |labBroadcast...

約9年 前 | 0

さらに読み込む