답변 있음
pctRunOnAll does not recognize current parallel pool
You should use pctRunOnAll at the client, i.e. before the start of the loop, like this: gcp(); % Ensure we have a parallel pool...

5달 전 | 0

| 수락됨

답변 있음
Problem with parfor and matrix indexing
In each case, you're attempting to assign neighbours elements into each of your output arrays. The restrictions on parfor sliced...

5달 전 | 0

답변 있음
Four Parallel Nested For Loop
It's generally best to parallelise the outermost loop. However, you need to balance that against ensuring the parfor loop has su...

5달 전 | 0

| 수락됨

답변 있음
storing value in 2D array in a parfor loop
As mentioned in the documentation, a sliced variable must have a single subscript being the loop variable (in this case i), and ...

5달 전 | 1

| 수락됨

답변 있음
Calling function described in actxcontrol inside parfor loop
Firstly, you are declaring h1 to be a global variable in your APT_GUI_SYS script. That will not work as you expect - workers are...

5달 전 | 0

답변 있음
How to I pass off a Simulink application command syntax to MATLAB Job Scheduler on a local cluster?
Where do the results from running app inputfile.m go? Does this create variables directly in the base workspace? To use app tog...

6달 전 | 1

답변 있음
parfor usage in parallel computing tool
This is a documented restriction for sliced variables within parfor. The relevant doc page is here, and the relevant section is:...

6달 전 | 0

| 수락됨

답변 있음
Reported Task State not accurate when running on MS HPC grid
Unfortunately, getting accurate state information back from the cluster can be tricky. This is because there are multiple source...

6달 전 | 2

| 수락됨

답변 있음
big data 2d matrix percentile calculation using tall
That particular error is an internal error basically because your tall array expression is simply too large - contains too many ...

6달 전 | 1

답변 있음
Share two variables between workers
I think this should work... I tried a slight modification of your code to make it executable: function repro D = parallel.pool...

6달 전 | 0

| 수락됨

답변 있음
CUDA 10.1 not recognized (searching for CUDA 10.0 instead)
Unfortunately, the situation here is admittedly somewhat confusing. There are two relevant pieces of software going on here, bot...

7달 전 | 1

| 수락됨

답변 있음
Save fitcsvms running in parfor loop
Your outputs are not available after the parfor loop because the parfor variable classification considers them to be loop tempor...

7달 전 | 0

답변 있음
Local Parallel Cluster Validation failed at SPMD job test
This might well be a ulimit problem. See here for details on how to fix it: https://uk.mathworks.com/matlabcentral/answers/46548...

7달 전 | 0

답변 있음
How to call protected functions in parfor?
EDIT: Changed my version to inherit protected method from parent class Hm, I can't reproduce the problem - I tried in R2016b an...

7달 전 | 1

답변 있음
Parallel.pool.consant slowing down code by a factor of 3, how to distribute many arrays to different variables
parallel.pool.Constant is useful in essentially three different ways: It can offer a performance gain by avoiding repeated tran...

7달 전 | 0

| 수락됨

답변 있음
Matlab cannot access my gpu Cuda Device
nvcc is part of the CUDA toolkit, and in fact you do not need any version of that to successfully use gpuArray in MATLAB. It is ...

7달 전 | 0

| 수락됨

답변 있음
Parallel computing with shared variables, problem with struct
I must admit I didn't look at your code in great detail - but I did get the distinct impression that there's a lot going on ther...

7달 전 | 1

| 수락됨

답변 있음
Parallel processing for asynchronous plotting
One of the restrictions of parfor is that all variable access in the body of the loop must be "transparent". This is to ensure t...

7달 전 | 0

| 수락됨

답변 있음
Must have valid initData to build channel
I expect this is a misleading error as a consequence of running out of memory on the workers. You're duplicating Psmat and attem...

8달 전 | 0

답변 있음
Error using parfor on for loop
Did you try the suggestion from the error message, i.e. parfor j = 1:mf m{j} = feval(fnP, mova, j); end That should work...

8달 전 | 0

| 수락됨

답변 있음
Parfor variable cannot be classified
You've tripped over one of the limitations of for loops nested within parfor. This is described in the doc. The requirement is: ...

8달 전 | 1

| 수락됨

답변 있음
Parfor becomes serial half-way through computation
parfor uses heuristics to try and divide up loop execution into sub-ranges to maximise worker utilisation, but it sounds like th...

8달 전 | 0

답변 있음
Parallelizing computation with memory restrictions
Ok, this is somewhat dependent on what it is that you need to do with the results, but here's one way that you can avoid replica...

8달 전 | 1

답변 있음
How do I execute parallel computing in Matlab without altering my script?
It's not quite clear what you're trying to achieve here. You should launch parpool only if your script uses parallel language fe...

8달 전 | 0

| 수락됨

답변 있음
Understanding parfor restrictions with indexing
The indexing restrictions in parfor range from those which are required to make the loop iterations provably order-independent (...

8달 전 | 1

| 수락됨

답변 있음
Error using gpuArray/subsasgn
You can avoid this error by ensuring that your subscript contains only unique values, using the MATLAB function unique. For exam...

8달 전 | 0

| 수락됨

답변 있음
Parfor waitbar : How to do this more cleanly?
Hm, I've been meaning to tidy up my work-in-progress parallel.pool.DataQueue pool waitbar for quite a while. Here's roughly what...

8달 전 | 0

| 수락됨

답변 있음
Unexpectedly slow performance of eig with parfor
As you rightly point out, there are many factors that could be at play here. Here are the factors that spring to mind when looki...

9달 전 | 1

| 수락됨

답변 있음
How to speed up a parfor loop with large broadcast variables
It seems from your code that you should be able to slice your large variables idx and W. This would mean that each element of th...

9달 전 | 0

| 수락됨

답변 있음
Memory issue with eig function and GPU Array
Using your reproduction steps, I was able to see the problem using R2017b, but this appears to be fixed in R2019a - so please tr...

9달 전 | 1

| 수락됨

Load more