Réponse apportée
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...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 1

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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: ...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 1

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Understanding parfor restrictions with indexing
The indexing restrictions in parfor range from those which are required to make the loop iterations provably order-independent (...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
Parfeval blocks parfor loop evaluation
This is expected behaviour. Unfortunately, there is currently no way to overlap parfeval and parfor. Your best bet is probably t...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
[GPU] Why do GFLOPS of element-wise matrix operations (addition, multiplication) seem to scale poorly as compared to e.g. mtimes?
The main factor here is that MTIMES (i.e. matrix-matrix multiplication) is compute bound, where as PLUS and TIMES (element-wise ...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
Parallel Computing - how to run jobs from clients on servers with the same version.
Firstly, you need to ensure that the correct version of MATLAB Distributed Computing Server (MDCS) is installed on your cluster....

presque 7 ans il y a | 0

Réponse apportée
Calling sets of INPUTS in a FUNCTION in a PARFOR loop
Did you try something like this: graphs = {graph1, graph2, graph3}; Matrix1s = {Matrix11, Matrix21, Matrix31}; Matrix2s = {Ma...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
AttachedFiles in parfor on cluster
Firstly, AutoAddClientPath modifies the path on the workers to match the path on the client. This works only when the client and...

presque 7 ans il y a | 0

Réponse apportée
Sliced variable issue - variable cannot be classified
I augmented your code a tiny bit to make it executable, and it works fine in MATLAB R2019a, and I checked all the way back to R2...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
How to use the matfile function to call and slice up a very large structure and use it in parfor without having broadcast variable warning?
In this case, the warning about broadcasting the matfile object is probably safe to ignore. The point is that the matfile object...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
simulation based optimization using parallel computing, which one to be added to workers folders?
You haven't really given enough detail for me to give you particularly concrete suggestions, but here are a few thoughts anyway....

presque 7 ans il y a | 0

Réponse apportée
Error using histogram in parlor-loop
Unfortunately, histogram tries to extract the name of the input variable, and this causes the transparency violation. You can wo...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
GPU/CUDA API Change with Interleaved Complex Data
gpuArray data has always been stored in complex-interleaved format since its introduction in R2010b. The mxGPUGetData function a...

presque 7 ans il y a | 0

| A accepté

Charger plus