Beantwortet
Parameters imported using assignin not visible to parfor
PARFOR requires that you pass all variables explicitly - as you have discovered, it does not understand constructs like ASSIGNIN...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
I am new to use parfor, I have searched for the condition but I still can't understand what to do in order to make it work.
To run a PARFOR loop, all variables that you wish to produce as results from the loop must either be _sliced_ or _reductions_. A...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
Sliced variables in parfor loop (restricted indexing)
Although you are dividing up 'p' so that each loop iteration works on a different piece, unfortunately you aren't doing it in th...

mehr als 12 Jahre vor | 2

| akzeptiert

Beantwortet
parfor with wrong indexing. Trying to assign output to parts of vector
At the moment, the PARFOR loop is not order-independent because of the way that you're assigning into "xi". PARFOR loops are req...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
can't find GPU in MJS
The MJS workers cannot access the GPU because they're running as a Windows Service, and you need to use the TCC mode driver to a...

mehr als 12 Jahre vor | 1

| akzeptiert

Beantwortet
Implementing batched mldivide on the GPU
Unfortunately, as you have found PAGEFUN does not yet support batched MLDIVIDE. You might be able to use the <http://www.mathwor...

mehr als 12 Jahre vor | 1

| akzeptiert

Beantwortet
How to make data persist on workers between calls to parfor?
This looks like it might be a good case for the <http://www.mathworks.com/matlabcentral/fileexchange/31972-worker-object-wrapper...

mehr als 12 Jahre vor | 0

Beantwortet
Programmatically pre-detect number of cores available to Parallel Computing Toolbox
Try this: c = parcluster('local'); % build the 'local' cluster object nw = c.NumWorkers % get the number of w...

mehr als 12 Jahre vor | 3

| akzeptiert

Beantwortet
Recursion Limit inside parfor
I would try calling spmd set(0, 'RecursionLimit', N); end as this will ensure it executes on all workers...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
Can I use GPU computing inside of a parfor loop?
You do not need 8 separate graphics cards even if you have 8 workers using gpuArrays simultaneously. (In fact, I'm not even sure...

mehr als 12 Jahre vor | 2

| akzeptiert

Beantwortet
Configire 'local' to run on more than 4 workers
Please note that in R2014a the limit on the number of local workers was removed. See <http://www.mathworks.com/help/distcomp/rel...

mehr als 12 Jahre vor | 1

Beantwortet
MDCS for n>12 parfor on local multicore computer
Please note that in R2014a the limit on the number of local workers was removed. See <http://www.mathworks.com/help/distcomp/rel...

mehr als 12 Jahre vor | 1

Beantwortet
how to convince mathworks to increase number of parallel workers?
Please note that in R2014a the limit on the number of local workers was removed. See <http://www.mathworks.com/help/distcomp/rel...

mehr als 12 Jahre vor | 1

| akzeptiert

Beantwortet
How many MATLAB workers can I open on my client machine?
Please note that in R2014a the limit on the number of local workers was removed. See <http://www.mathworks.com/help/distcomp/rel...

mehr als 12 Jahre vor | 1

Beantwortet
Optimization using GA and FMINCON with more than 12 processors
Please note that in R2014a the limit on the number of local workers was removed. See <http://www.mathworks.com/help/distcomp/rel...

mehr als 12 Jahre vor | 1

Beantwortet
How to have more than 12 workers
Please note that in R2014a the limit on the number of local workers was removed. See <http://www.mathworks.com/help/distcomp/rel...

mehr als 12 Jahre vor | 2

Beantwortet
The current limit of workers in MATLAB2013b for a local cluster is 12 which doesn't reach the server limit of 32 logical cores. A MDCS license for 32 workers costs more than the server hardware. Will MathWorks correct these disparities in the future?
Please note that in R2014a the limit on the number of local workers was removed. See <http://www.mathworks.com/help/distcomp/rel...

mehr als 12 Jahre vor | 2

| akzeptiert

Beantwortet
Trouble with accessing variable in parfor loop
The problem here is that unfortunately the PARFOR analysis is based on the text of your program, and in this case the analysis c...

mehr als 12 Jahre vor | 2

| akzeptiert

Beantwortet
Should i install matlab on clusters for parallel computing toolbox?
As well as Parallel Computing Toolbox, you need MATLAB Distributed Computing Server to run on you 'slave' machines. There are in...

mehr als 12 Jahre vor | 0

Beantwortet
Passing existing COM server to parallel cluster
You need to use actxGetRunningServer on the workers rather than passing the server object directly, like so: >> e = actxser...

mehr als 12 Jahre vor | 0

Beantwortet
Different behaviour of rng() and rand() in parfor-loop
The client and the workers are set up to use different random generators, so this is expected. This is covered <http://www.mathw...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
Unable to start the parallel computing on a linux machine
It looks like you have an 'mpiLibConf.m' on your path that is trying to pick up Intel's MPI. This will not work with the local c...

mehr als 12 Jahre vor | 0

Beantwortet
PARFOR behavior sensitive to comments???
Unfortunately what I think you're seeing there is a limitation of the way function handles are created. If you use the <http://w...

mehr als 12 Jahre vor | 1

| akzeptiert

Beantwortet
Fastest Possible Way to convert a table containing Only 2 strings to numbers
You can do this with UNIQUE or ISMEMBER. values = {'Het', '', '', 'Het', '', 'Hom'; '', 'Het', 'Hom', '', '', ''} %...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
Split a matrix on parallel computing with spmd
You could do that using <http://www.mathworks.co.uk/help/distcomp/execute-simultaneously-on-multiple-data-sets.html distributed ...

mehr als 12 Jahre vor | 1

| akzeptiert

Beantwortet
how to configure more than four workers on matlab session?
Note that R2013b allows up to 12 local workers, so you might wish to upgrade.

mehr als 12 Jahre vor | 0

Beantwortet
can we use multitasking on matlab
You can run up to 12 local workers (assuming R2013b) simultaneously using Parallel Computing Toolbox. You need to <http://www.ma...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
Waitbar in a spmd block in a GUI?
In R2013b, there's the new function <http://www.mathworks.co.uk/help/distcomp/parfeval.html PARFEVAL> which lets you program the...

mehr als 12 Jahre vor | 1

| akzeptiert

Beantwortet
Problem with spmd when data sizes increase
The problem here is that labSend is permitted to block until the corresponding labReceive is posted if the message is "too large...

mehr als 12 Jahre vor | 2

| akzeptiert

Beantwortet
Configure L1 cache / shared memory size?
You should be able to configure this by using a <http://www.mathworks.co.uk/help/distcomp/run-mex-functions-containing-cuda-code...

mehr als 12 Jahre vor | 1

| akzeptiert

Mehr laden