Community Profile

photo

Edric Ellis


MathWorks

732 total contributions since 2011

Developer at MathWorks, working on Parallel Computing Toolbox. Professional Interests: parallel computing, distributed arrays, gpu

Contact

Edric Ellis's Badges

  • Personal Best Downloads Level 1
  • First Review
  • 5-Star Galaxy Level 2
  • First Submission
  • 36 Month Streak
  • Thankful Level 1
  • Guiding Light
  • Revival Level 2
  • Knowledgeable Level 4
  • First Answer
  • Solver

View details...

Contributions in
View by

Answered
fit options in a parfor loop
Unfortunately, this is a limitation in the implementation of the fitoptions class. You can work around this either by constructi...

3 días ago | 2

Answered
parfeval() doesn't call function
Unfortunately, the MATLAB debugger can't stop in code running on the workers - only code running at the client. In this case, y...

10 días ago | 0

| accepted

Answered
Parallel and serial computation
MATLAB uses built-in parallelism on a single machine for many large matrix operations. See this page: https://uk.mathworks.com/d...

10 días ago | 0

Answered
Error in saving and load function for MAT file using parfeval
The error you're receiving is a bit surprising - that probably means that all your workers crashed somehow. In any case, the sy...

12 días ago | 0

| accepted

Answered
Multiple outputs with parfeval
Each call to parfeval always returns only a single Future object. You can then subsequently request multiple outputs when you ca...

21 días ago | 0

Answered
parfor and function call using scatteredInterpolant
I'm not that familiar with scatteredInterpolant, but I concocted the following which shows I think the sort of thing you're afte...

23 días ago | 0

| accepted

Answered
Correct fetchNext index after clearing FevalFuture object
One way you can deal with this is by making the same modification to m as you proceed. Something like this perhaps: N = 10; m ...

alrededor de 1 mes ago | 0

Answered
Slow performance of fftn in the gpu when used inside a loop
Various methods on the GPU operate to some extent asynchronously. But there are limits to this - depending on the amount of memo...

alrededor de 1 mes ago | 0

Answered
Problem with parallel pool
Don't use -nojvm, Java is required for Parallel Computing Toolbox functionality. It looks like you're trying to start 4 workers...

alrededor de 1 mes ago | 0

Answered
How can I solve the problem of communications of workers?
In your code, you define "sizeofChrom_dis_local", but then try to loop over "sizeofChrome_dis_local" - note the extra "e". That'...

alrededor de 2 meses ago | 0

Answered
Communicate with worker through client
I think it would be better to use parfeval or parfevalOnAll to do this. This way, you can simply cancel the future object return...

alrededor de 2 meses ago | 1

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

alrededor de 2 meses ago | 0

| accepted

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

alrededor de 2 meses ago | 0

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

2 meses ago | 0

| accepted

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

2 meses ago | 1

| accepted

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

2 meses ago | 0

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

2 meses ago | 1

Answered
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:...

3 meses ago | 0

| accepted

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

3 meses ago | 2

| accepted

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

3 meses ago | 1

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

3 meses ago | 0

| accepted

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

3 meses ago | 1

| accepted

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

3 meses ago | 0

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

3 meses ago | 0

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

4 meses ago | 1

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

4 meses ago | 0

| accepted

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

4 meses ago | 0

| accepted

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

4 meses ago | 1

| accepted

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

4 meses ago | 0

| accepted

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

5 meses ago | 0

Load more