Community Profile

photo

Raymond Norris

MathWorks

Last seen: Today Active since 2003

Statistics

All
  • Revival Level 2
  • 12 Month Streak
  • Knowledgeable Level 4
  • Personal Best Downloads Level 2
  • First Review
  • 5-Star Galaxy Level 3
  • First Submission
  • First Answer
  • Solver

View badges

Content Feed

View by

Answered
parallel pool to increase code speed
Starting a parallel pool doesn't run subsequent MATLAB code in parallel, it simple starts a colletion of headless MATLAB process...

6 Tage ago | 1

Answered
PARFOR is 10X Slower than FOR
@Paul Safier I believe the problem is that you're calling nested tic/toc. In clipSpacing_HELP, you call tic on line 16 and toc ...

12 Tage ago | 1

| accepted

Answered
How can I make expm running on many cores?
Starting a parallel pool doesn't run subsequent MATLAB code in parallel, it simple starts a colletion of headless MATLAB process...

12 Tage ago | 2

| accepted

Answered
How to limit CPU availabilty to Matlab
Try maxNumCompThreads(10);

14 Tage ago | 1

Answered
How do I allocate cpu resources to a batch job?
It would help if you could provide an example of the script and how you're running the job. Let's assume you're using PBS, mayb...

25 Tage ago | 0

Answered
multiple optimization problems under parfor
I'm assuming all of this works fine when you run a for-loop instead of a parfor loop. To address the first warning, I'm not an ...

26 Tage ago | 0

| accepted

Answered
What is going on when I call a function that uses parfor loop inside of a parfor loop in my main script?
The outer parfor-loop is parallelized and the inner parfor-loop is run as a for-loop.

etwa ein Monat ago | 1

Answered
Can I use GPU instead of CPU to run parfor-loop?
GPU threads aren't divided up by workers. Conversely, one worker controls a GPU at a time.

etwa ein Monat ago | 0

Answered
How to input global variables in function that is in parloop?
We can agree that if global variables were supported, you wouldn't modify data1 and have that reflected on the client -- that wo...

etwa 2 Monate ago | 0

| accepted

Answered
Pausing to Save data and Then Rerun from the Same State
There isn't. parfor blocks MATLAB from anything else. To "stop" the parfor, you'd need to hit Ctrl-C, but then you'd stop the ...

etwa 2 Monate ago | 0

| accepted

Answered
MATLAB Cloud. How to use if I have an Institution license
MATLAB has several cloud offerings MATLAB Online (matlab.mathworks.com) Cloud Center (cloudcenter.mathworks.com), running on A...

etwa 2 Monate ago | 1

| accepted

Answered
Parrellel server dir() for files local to the server
For starters, you don't want to hard code files/paths in your code. Your code should be functions so that you can pass in root ...

2 Monate ago | 1

| accepted

Answered
Do changes in .m file after batch submission, while the job is queued, take effect for the current run?
The latter. MATLAB attaches all the files it needs with the job. You'll want to delete the job, eg. c = parcluster; j = c.ba...

2 Monate ago | 1

| accepted

Answered
Parallel Computing Toolbox, Pausing, and Hibernation
What you're asking for would require "checkpointing", where an application has the ability to stop midstream and resume later. ...

2 Monate ago | 0

| accepted

Answered
Parfor unnecessary communication overhead
This is a warning, not an error, displayed by the Code Analyzer. Not sure how MATLAB would "throw" this warning. Depending on ...

2 Monate ago | 0

| accepted

Answered
accumulate values in aftereach function
Persistent variables should work. Try the following q = parallel.pool.DataQueue; q.afterEach(@afterFunc); f = parfeval(@genD...

2 Monate ago | 0

| accepted

Answered
Estimated Time Left for Executing a Code Using MATLAB Parallel Computing Toolbox
MATLAB doesn't know how long your code should run for, so there's no way to know how much time is left. What I would suggest is...

2 Monate ago | 0

| accepted

Answered
How to run this code in a for loop?
You don't provide the line number of the error. What is day? Is that they time function? Couldn't day(k+26) be written as j...

2 Monate ago | 0

| accepted

Answered
how to increase the number of workers to 32 for parfor loop
Are you explicitly calling parpool? parpool(32); Alternatively, you can change the default by going to the Parallel preference...

3 Monate ago | 0

Answered
severe speed degradation with batch function on cluster
Let me see if I have this right Method #1 finishes runMe in ~5 minutes, using local scheduler PBS jobscript #!/bin/sh #PBS -...

3 Monate ago | 0

Answered
Parallelization of SVD on research clusters
Building off of Kamil's suggestion to look at Edric's post, Edric suggests you ought to build the distributed array directly on ...

3 Monate ago | 0

Answered
Startting parallel pool from App Designer
Hi @Giuseppe Gallo, I'm assuming the corresponding message in the command window is that the parallel pool is starting up with X...

3 Monate ago | 0

Answered
Unrecognized function or variable in parfor
I don't see how you're getting the error. Can you provide a bit more context? For example, when I run something similar (I thi...

3 Monate ago | 0

Answered
Creating a custom Docker-based container of Matlab and additional toolboxes
Hi @Maksims Abalenkovs, can you contact Technical Support (support@mathworks.com)? They ought to be able to troubleshoot this f...

4 Monate ago | 1

Answered
Editing plugin scripts for Generic scheduler
Can you post the MATLAB code you wrote to add the sbatch options? Setting EnvironmentVariables won't resolve this issue (sbatch...

4 Monate ago | 0

Answered
Do worker nodes in a parallel pool need direct connectivity to the client?
Our scheduler, MJS, supports interactive pools running from your desktop machine because the traffic is routed via the scheduler...

4 Monate ago | 1

| accepted

Answered
I increased numworkers to 3 but still receiving an error message that they are set to a maximum of 2 and I cannot figure out how to change this.
How did you set the number of workers? Did you set it in the Cluster Manager Profile? Or did you set it to something similar t...

4 Monate ago | 0

Answered
Possibility of changing nested for into parfor
If I have this right, you're only working with PCNN_Y where its value is 1. Then you skip over the first sp instances where it'...

4 Monate ago | 1

Answered
Validation Error on the parallel cluster
The plugin scripts support "remote" and "on-cluster" submission. When you went through the wizard to create the profile, you se...

4 Monate ago | 0

Answered
Request exclusive use of slurm batch nodes for a parpool that is less than the total number of cores.
Renat your MATLAB code looks similar to installations we've supported in the past. If that's true, run c.AdditionalProperties ...

4 Monate ago | 0

Load more