Community Profile

photo

Raymond Norris

MathWorks

Last seen: 2 days ago Active since 2003

Statistics

All
  • 24 Month Streak
  • Revival Level 2
  • 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
Confirm if Parallel Server is installed on cluster
Hi @Michael Raba. Reach out to me directly and I'll help you work through this.

28 days ago | 0

| accepted

Answered
Issue using a parfor loop to control two instruments at the same time
Hi @james ingham, I see a couple of potential issues main1; %<------ Connects to laser and starts connection etc (WORKS FINE) ...

1 month ago | 0

| accepted

Answered
Recommended approach to "resetting" the workers for each new parallel computation?
Hi @Mitsu You have the right idea. A couple of quick comments If you have a parallel pool running, then deleting the jobs wil...

1 month ago | 1

Answered
Setting -configCluster- in Matlab 2018b
@Stefano Lombardi I wrote configCluster for your site. Reach out to me direclty if you have any questions regarding how to use ...

1 month ago | 0

Answered
Running parfor on multiple nodes using Slurm
The local scheduler will only spawn workers on the same machine running the MATLAB client (e.g., on a Slurm compute node). In o...

1 month ago | 1

| accepted

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

2 months 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 ...

2 months 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...

2 months ago | 2

| accepted

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

2 months 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...

2 months 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 ...

2 months ago | 1

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

2 months 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.

3 months 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...

3 months 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 ...

3 months 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...

3 months 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 ...

3 months 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...

4 months 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. ...

4 months 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 ...

4 months 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...

4 months 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...

4 months 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...

4 months 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...

4 months 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 -...

4 months 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 ...

4 months 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...

4 months 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...

4 months 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...

5 months 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...

5 months ago | 0

Load more