Community Profile

photo

Edric Ellis


Last seen: 3日 前

MathWorks

741 2011 年以降の合計貢献数

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

連絡する

Edric Ellis's バッジ

  • 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

詳細を表示...

貢献した分野
表示方法

回答済み
Parfor, how do I use the variable within the loop correctly?
The problem here seems to be that you're making multiple assignments to e.g. fvalagg. A stripped-down version of your code is so...

3日 前 | 0

回答済み
Solution of large sparse matrix systems using GPU MLDIVIDE
A couple of suggestions: On the CPU, if you're repeatedly solving the same system, you might be able to benefit from the recent...

3日 前 | 0

回答済み
How are iterations assigned to workers in parfor?
As @Mohammad already commented, the parfor implementation automatically divides up the iterations of the loop onto the workers. ...

11日 前 | 0

| 採用済み

回答済み
How do I get parfor to downgrade gracefully to for when no parallel seat is open?
parfor already has the innate ability to run without Parallel Computing Toolbox being present, and it should automatically handl...

12日 前 | 0

回答済み
Parfor loop using 'saves' correctly on around half of iterations
In general, it is not safe to have multiple workers attempting to save to a single file. The results are likely to be unpredicta...

約1ヶ月 前 | 1

回答済み
Why does function become slower when placed in spmd block?
Your desktop MATLAB client can use "built-in multithreading" for certain operations. By default, workers in a parallel pool use ...

約2ヶ月 前 | 0

| 採用済み

回答済み
tall/gather issue
This error means that the workers on your remote cluster cannot find code that they need to execute your tall array algorithm. Y...

約2ヶ月 前 | 0

回答済み
Cluster Profile Manager SPMD job test Failed
I'm going to guess you're using Linux. This is probably related to your ulimit settings, probably the limit on number of process...

約2ヶ月 前 | 0

回答済み
GPU computing: data no longer available on device??
That error occurs when MATLAB resets the GPU "context". This generally happens when you either select a different GPU device, or...

約2ヶ月 前 | 2

回答済み
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...

2ヶ月 前 | 2

回答済み
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...

2ヶ月 前 | 0

| 採用済み

回答済み
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...

2ヶ月 前 | 0

回答済み
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...

2ヶ月 前 | 1

| 採用済み

回答済み
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...

3ヶ月 前 | 0

回答済み
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...

3ヶ月 前 | 0

| 採用済み

回答済み
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 ...

3ヶ月 前 | 0

回答済み
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...

3ヶ月 前 | 0

回答済み
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...

3ヶ月 前 | 0

回答済み
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'...

4ヶ月 前 | 0

回答済み
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...

4ヶ月 前 | 1

回答済み
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...

4ヶ月 前 | 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...

4ヶ月 前 | 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...

4ヶ月 前 | 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 ...

4ヶ月 前 | 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...

4ヶ月 前 | 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...

5ヶ月 前 | 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:...

5ヶ月 前 | 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...

5ヶ月 前 | 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 ...

5ヶ月 前 | 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...

5ヶ月 前 | 0

| 採用済み

Load more