Community Profile

photo

Raymond Norris

MathWorks

Last seen: Today 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

バッジを表示

Content Feed

表示方法

回答済み
How to run .m files in one thread from an app running in a different thread so that I can interact with the app during .m file execution?
@Mitchell Tillman you might consider refactoring the code so that the callbacks call parfeval with backgroundPool, but keep in t...

29日 前 | 0

回答済み
Unrecognized function or variable 'nvcc'. with Matlab R2022a
nvcc is a NVIDIA compiler, not a MATLAB function. I suspect what you want is mexcuda.

約1ヶ月 前 | 0

| 採用済み

回答済み
Running parfor on SLURM limits cores to 1
Try changing -n 32 for -c 32 -n is tasks, but with 1 CPU per task (by default). It's possible that cgroups is telling MA...

約1ヶ月 前 | 0

| 採用済み

回答済み
When does what License get reserved when using MATLAB Parallel Server?
My questions lie in, what is the exact sequence of when licenses are reserved and when the job gets scheduled and when the job r...

約2ヶ月 前 | 0

| 採用済み

回答済み
Each PARFOR Worker Writes to the Same File
@Paul Safier since the order of the file doesn't have to be deterministic, use a data queue to write back to the client and have...

約2ヶ月 前 | 0

回答済み
Parallel for loop problem
@Simone Fiumi think of the code running in the parfor as running on some entirely different machine. There is no "debugging" pe...

約2ヶ月 前 | 1

回答済み
Extract variable from function after using parfeval
@Koren Murphy the issue is that you've told MATLAB there are no output arguments (even if there are) F(K)=parfeval(fcn,0,K); T...

約2ヶ月 前 | 1

回答済み
Confirm if Parallel Server is installed on cluster
Hi @Michael Raba. Reach out to me directly and I'll help you work through this.

3ヶ月 前 | 0

| 採用済み

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

3ヶ月 前 | 0

| 採用済み

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

3ヶ月 前 | 1

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

3ヶ月 前 | 0

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

3ヶ月 前 | 1

| 採用済み

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

4ヶ月 前 | 1

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

4ヶ月 前 | 1

| 採用済み

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

4ヶ月 前 | 2

| 採用済み

回答済み
How to limit CPU availabilty to Matlab
Try maxNumCompThreads(10);

4ヶ月 前 | 1

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

4ヶ月 前 | 0

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

4ヶ月 前 | 1

| 採用済み

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

4ヶ月 前 | 1

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

5ヶ月 前 | 0

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

5ヶ月 前 | 0

| 採用済み

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

5ヶ月 前 | 0

| 採用済み

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

5ヶ月 前 | 1

| 採用済み

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

5ヶ月 前 | 1

| 採用済み

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

6ヶ月 前 | 1

| 採用済み

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

6ヶ月 前 | 0

| 採用済み

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

6ヶ月 前 | 0

| 採用済み

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

6ヶ月 前 | 0

| 採用済み

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

6ヶ月 前 | 0

| 採用済み

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

6ヶ月 前 | 0

| 採用済み

もっと読み込む