Community Profile

photo

Edric Ellis


MathWorks

690 total contributions since 2011

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

Contact

Edric Ellis's Badges

  • 36 Month Streak
  • Thankful Level 1
  • Guiding Light
  • Revival Level 2
  • Knowledgeable Level 4
  • First Answer
  • Solver

View details...

Contributions in
View by

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

4 days ago | 1

| accepted

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

9 days ago | 0

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

10 days ago | 1

| accepted

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

19 days ago | 0

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

19 days ago | 0

| accepted

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

23 days ago | 0

| accepted

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

25 days ago | 0

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

25 days ago | 1

| accepted

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

25 days ago | 0

| accepted

Answered
how to get parpool to pause at breakpoints?
Unfortunately, it is not possible to use the MATLAB debugger to debug code running on workers. The normal workaround is to liber...

26 days ago | 0

| accepted

Answered
Broadcast / Sliced variable implementation
You can use ticBytes and tocBytes to show that in your first example, the warning is accurate and R will not be sliced. This lim...

26 days ago | 1

| accepted

Answered
how to run a waitbar in a batch script
This is expected. The worker running your batch job has no access to your display, and cannot display any graphics (including a ...

30 days ago | 0

| accepted

Answered
how many NumWorkers do I have?
There's a difference between pmode and parpool. Behind the scenes, they both share some functionality, and there's some ... unin...

1 month ago | 2

Answered
PCT : cannot cancel a running job without a PCT chrash
When you run a parallel pool, PCT uses a parallel.Job behind the scenes to launch and co-ordinate the workers. By directly cance...

2 months ago | 0

| accepted

Answered
Batch saves the window screenshot in Task1.in.mat file
You haven't really given us enough reproduction steps to see exactly what's going on here, but I'm going to take a wild stab in ...

2 months ago | 0

Answered
Loop through structure elements with parfor
Given the following example data myStruct = struct('one', rand(1), ... 'two', rand(2), ... 'three', rand(3)); My sli...

2 months ago | 0

| accepted

Answered
write an imgae of type gpuarray
Try imwrite(gather(res), 'myfile.jpg')

2 months ago | 0

| accepted

Answered
Long transmission times of parfeval with large parallel.pool.Constant objects
You are correct that parallel.pool.Constant data is already available on the workers after construction. It's not clear to me wh...

2 months ago | 1

Answered
PARFOR slicing of user-defined objects
The parfor machinery decides whether a variable reference is "sliced" or not by examining the form of indexing used, paying no r...

3 months ago | 1

| accepted

Answered
parfor Vs muliple matlab session
parfor ought to be considerably more convenient than manually opening multiple MATLAB windows and ensuring they're all working o...

3 months ago | 0

| accepted

Answered
Issue with Simulink Model Simulation using CVSIM command inside Parfor ?
Caveat: I know nothing about cvtest or cvsim. I suspect that cvsim is trying to inspect the calling workspace - this is not allo...

3 months ago | 0

| accepted

Answered
Parallel Computing - COM Port Error
My guess is that your code inside the spmd block performs some initialization that either should be done only once per MATLAB pr...

3 months ago | 0

| accepted

Answered
Using parallel workers to edit same Simulink model?
In short: no - you cannot make simultaneous changes to a single Simulink model file from multiple processes (i.e. the multiple M...

4 months ago | 1

| accepted

Answered
parfor energyplus co-simulation toolbox
I think the problem here is that the toolbox is not designed to be run multiple times simultaneously on a single machine. I took...

4 months ago | 0

| accepted

Answered
How can one create an object in MATLAB that behaves like an array?
To make an object in MATLAB that is a single object that behaves like an array, you need to overload a bunch of methods to do wi...

4 months ago | 1

| accepted

Answered
How to call a user-defined function within a parfor loop
You should call addAttachedFiles outside the parfor loop.

4 months ago | 0

Answered
Is there a technical limitation/design choice preventing dynamic allocation of parfor workload?
The parfor implementation already attempts to take account of this sort of situation - behind the scenes, the loop is split up i...

4 months ago | 1

Answered
Speed up big matrix multiplication (Parallel Processing/GPU)
You should take advantage of: Implicit dimension expansion, and The new multi-dimension arguments to sum and then perform the...

4 months ago | 1

| accepted

Answered
how do I slice a variable? parfor loop
The problem here is that the parfor machinery cannot tell that you are completely overwriting quantity and Quantity_av in your i...

4 months ago | 2

Answered
The variable x in a parfor cannot be classified
Hm, I didn't see that precise error. I modified your example just a little so that it was actually executable, like so: n = 4; ...

5 months ago | 0

Load more