Respondida
Numerical integration with the GPU? Trapz appears to be unsupported in arrayfun, are there any alternatives?
In this case, I think you can simply use the vectorized version of |trapz|, and then apply |arrayfun| to expand |IntegratedRadia...

más de 11 años hace | 0

| aceptada

Respondida
Struggling a bit with writing a function and passing it to the GPU with via arrayfun
To use |arrayfun| in this way, you need each of your vectors to define a different dimension. Something like this simplified exa...

más de 11 años hace | 2

| aceptada

Respondida
parallel coding: how to solve linear system?
Unfortunately, as the error message states, you cannot use the |\| operator with sparse distributed arrays at this time.

más de 11 años hace | 0

| aceptada

Respondida
The variable heuristic_map in a parfor cannot be classified.
I think the fix here is simple - when using a nested |for| loop inside a |parfor| loop, the bounds of that loop must be known to...

más de 11 años hace | 0

| aceptada

Respondida
Suppress error warnings in matlab (when using parfor loop)
If the warning is being generated on the workers, you need to apply the warning suppression there too. You could do it like so: ...

más de 11 años hace | 3

| aceptada

Respondida
Calling nested functions inside a parfor loop
Yes, this is expected behaviour - the MATLAB workers operating on the body of your |parfor| loop are separate MATLAB processes, ...

más de 11 años hace | 2

| aceptada

Respondida
How can I modify the code for using 'parfor'?
The messages about variables being "index but not sliced" are warnings, and are simply letting you know that you _might_ be tran...

más de 11 años hace | 0

Respondida
Parpool works on 2014b but not on 2015a
This is definitely not expected, and might be an installation problem or similar. I suggest contact MathWorks support directly t...

más de 11 años hace | 0

Respondida
For loop in parfor loop
The limitation you're hitting here is that any |for| loop nested inside a |parfor| loop must have constant bounds to allow slici...

más de 11 años hace | 3

Respondida
How to adapt my for loop to get it working with parfor? (ODE solver)
For |dy| to be successfully "sliced", you need to index it in precisely the correct form - where one of the subscripts is the lo...

más de 11 años hace | 1

| aceptada

Respondida
Is it possible to use use `parfor` for parallel computing in Matlab in these codes?
The problem here is that it we can see that you're not using `Dat` in a way that is order-dependent, but the static analysis mac...

más de 11 años hace | 0

| aceptada

Respondida
Use both multi core CPUs
You need to edit the |'local'| parallel profile to set the maximum number of workers to 32. See <http://www.mathworks.com/help/d...

más de 11 años hace | 2

| aceptada

Respondida
Parfor loop and variable length output
You have several options here. Probably the simplest is to return a |cell| array and then concatenate the contents. It might not...

más de 11 años hace | 0

| aceptada

Respondida
How can I load and save pictures, while executing the program in parallel?
Whether the workers can see that network location depends on the "security level" you're using (from the directory location you ...

más de 11 años hace | 0

Respondida
parallel programming toolbox shutting down
You can disable the |IdleTimeout| behaviour of the parallel pool in one of 2 ways: # Bring up the "parallel preferences" (ava...

más de 11 años hace | 7

Respondida
How can I convert this loop from a 'for' loop to a 'parfor' loop?
I suspect this is not likely to be possible directly since you are effectively updating arbitrary elements of |M| on each iterat...

más de 11 años hace | 0

Respondida
How can I keep what a function returns between to calls in a loop ?
|PARFOR| can only run when the iterations of the loop are independent. In your case, because the |2:N| iterations depend on the ...

más de 11 años hace | 0

Respondida
saving graphs by parfor command cause to empty figure
If I've understood correctly, you are creating the figures at the client and trying to call |print| from the workers. This will ...

más de 11 años hace | 0

| aceptada

Respondida
How to import objects and models in parallel implementation
The parallel pool workers are separate MATLAB processes, so you might well need to create new serial port objects on the workers...

más de 11 años hace | 0

Respondida
function status in parfeval / fetchOutputs
You can check the |State| property of the |Future| object returned by |parfeval| to see if it has finished. You might also be ab...

más de 11 años hace | 0

| aceptada

Respondida
Changing the size of SPMD
You probably have existing |distributed| arrays or |Composite| objects in your workspace - these prevent you from changing the ...

más de 11 años hace | 1

Respondida
parallel.gpu.CUDAKernel on MATLAB Home Edition
You could try this workaround: <http://stackoverflow.com/questions/8900617/how-can-i-setup-nvcc-to-use-visual-c-express-2010-x64...

más de 11 años hace | 0

Respondida
Assigning GPUs to workers in local cluster
While it might be possible to do what you're asking, it's definitely tricky since PARFOR does not allow direct communication bet...

más de 11 años hace | 0

Respondida
flag whether or not a program has been called by createTask
One simple way is to check the return of <http://www.mathworks.com/help/distcomp/getcurrenttask.html |getCurrentTask|>. This wil...

más de 11 años hace | 2

| aceptada

Respondida
Parfor loops skipping an index
Yes, defining all the fields of |temp| beforehand works around this problem, like so: temp=struct('myfield1',num2cell(ones(...

más de 11 años hace | 1

Respondida
Workers aborted when saving surf-figures to disk using parfor
Unfortunately this is likely to be caused by a known bug, the report is here: <http://www.mathworks.co.uk/support/bugreports/253...

más de 11 años hace | 1

| aceptada

Respondida
Matrix multiplication and multiprocessing
I _think_ the reason you're seeing only ~50% processor utilisation is because of hyperthreading. According to <http://ark.intel....

más de 11 años hace | 0

Respondida
Why is batch() so slow?
Firstly, if you're using the |local| cluster type, then the |batch| command absolutely does need to launch the worker MATLAB pro...

más de 11 años hace | 3

| aceptada

Respondida
Parfeval memory leak? Clear memory on parallel workers?
Please could you try applying the workaround from <http://www.mathworks.com/support/bugreports/1134654 this bug report>. (The bu...

más de 11 años hace | 0

| aceptada

Respondida
How to solve a parallel pool start failure?
That error is related to the communication channels that the parallel pool infrastructure is trying to set up. I'm not quite sur...

más de 11 años hace | 0

Cargar más