Respondida
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...

más de 8 años hace | 0

Respondida
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...

más de 8 años hace | 1

Respondida
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...

casi 9 años hace | 0

Respondida
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...

casi 9 años hace | 0

Respondida
'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...

casi 9 años hace | 4

| aceptada

Respondida
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...

casi 9 años hace | 0

Respondida
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 ...

casi 9 años hace | 0

| aceptada

Respondida
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...

casi 9 años hace | 1

| aceptada

Respondida
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...

casi 9 años hace | 0

Respondida
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')) ...

casi 9 años hace | 1

Respondida
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...

casi 9 años hace | 1

Respondida
"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-...

casi 9 años hace | 0

| aceptada

Respondida
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...

casi 9 años hace | 1

Respondida
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...

casi 9 años hace | 1

Respondida
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...

casi 9 años hace | 1

| aceptada

Respondida
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...

casi 9 años hace | 2

| aceptada

Respondida
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 ...

alrededor de 9 años hace | 0

| aceptada

Respondida
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...

alrededor de 9 años hace | 0

Respondida
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...

alrededor de 9 años hace | 0

Respondida
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...

alrededor de 9 años hace | 4

Respondida
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...

alrededor de 9 años hace | 1

| aceptada

Respondida
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...

alrededor de 9 años hace | 2

| aceptada

Respondida
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...

alrededor de 9 años hace | 0

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

alrededor de 9 años hace | 0

| aceptada

Respondida
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...

alrededor de 9 años hace | 0

Respondida
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...

alrededor de 9 años hace | 0

| aceptada

Respondida
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 ...

alrededor de 9 años hace | 1

Respondida
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...

alrededor de 9 años hace | 1

Respondida
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...

alrededor de 9 años hace | 0

Respondida
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...

alrededor de 9 años hace | 0

Cargar más