已回答
Cannot start parallel pool R2020a
Do you have other versions of MATLAB installed? If so, which? Had your run parpool successfully on those version(s)? One sugg...

3 years 前 | 0

已回答
parFor Worker unable to find file. Unrecognized function or variable 'parameters'
As Edric mentioned, this is/may not parallizable. But if it were, you'd need to make modifications to the for-loop. You've inc...

3 years 前 | 0

已回答
Parfor general question and thought
A parfor is run synchoneously. That is, the parfor is blocking until complete. By that logic, two parfor loops can only run se...

3 years 前 | 0

已回答
Error using Parfor "Unable to classify the variable 'Sort'"
Try this refactoring the for-loop a bit parfor k=1:Np flag = 0; %#ok<PFTUSW> for i=1:(Nu-1) for j=(i+1):Nu ...

3 years 前 | 0

| 已接受

已回答
using parfor loop for marking the image/advice on other method for marking image
The issue is that your plotting in the parfor loop, which has no display. Create a DataQueue and pipe the data back to the clie...

3 years 前 | 0

| 已接受

已回答
Submitting parallel compiled code to SLURM
Perhaps there's a race condition. Take a look at https://www.mathworks.com/matlabcentral/answers/545174-how-can-i-work-ar...

3 years 前 | 0

已回答
parallel computing toolbox - how to directly talk to the Workers?
You can use different schedulers; however, you need to call the parpool command to start workers. In order to start the workers...

3 years 前 | 0

| 已接受

已回答
Converting for loops to parfor format gives error "Error: Unable to classify the variable 'f_est_1' in the body of the parfor-loop."
I'm gathering the for-loop you're trying to re-write is for i = 1:length(x) Assuming you're able to re-write this, have you co...

3 years 前 | 0

已回答
What type of Amazon EC2 server for MathWorks Cloud Center
Just to clarify Walter's 2nd comment, he's suggesting a compute cluster. What you're saying is that your university does not hav...

3 years 前 | 0

已回答
codegen incorrect argument data type in Matlab example
There are several codegen functions/methods MATLAB Coder Control Toolbox Is it possible you have Control Toolbox installed, b...

3 years 前 | 1

已回答
how to use threads in matlab app designer
Do you have Parallel Computing Toolbox? If so, consider looking at parfeval.

3 years 前 | 0

已回答
Parfor number of workers, CPUs, how are they related? What are the limits?
A quadcore computer should max at 4 workers. We don't suggest throttling it to include hyperthreads. With that said, let's say ...

3 years 前 | 2

| 已接受

已回答
Parfor Loop & EnergyPlus Co-Simulation
I would suggest trying this first with a pool size of 1. If it works, then my guess is that mlep only allows one connection at ...

3 years 前 | 0

| 已接受

已回答
How to set up a Matlab parallel cluster for thread-based environment
The thread-based pool only runs on the same machine as the MATLAB client, similar to a local process-based pool. However, unlik...

3 years 前 | 0

| 已接受

已回答
parfor variable classification issue
As a side note, the difference of min and max could be 1000, but there are infinity cases where j1 will start outside the bounda...

3 years 前 | 0

已回答
SPMD Error detected on worker
Since this is about learning parallel programming, I'll avoid the suggestion of how to run this serially, as this example will r...

3 years 前 | 1

| 已接受

已回答
SPMD Error when trying to use the data outside of the SPMD loop
I would suggest reformatting your post so that all your code is formatted well. Code is not correctly indented and some of the ...

3 years 前 | 0

已回答
Matlab cluster - validation - parpool stuck
A couple of questions What scheduler is your cluster running? MJS? HPC Server? PBS/Slurm/etc? Sounds like all the stages ar...

3 years 前 | 0

| 已接受

已回答
parfeval getting stuck in for loop and blocking fetchNext
Some thoughts/comments I thought that fetchNext should be able to extract values from parfeval as they are produced, but it app...

3 years 前 | 0

| 已接受

已回答
Error: Failed to initialize the interactive session
Let me add to Kojiro's comment. Validation's last stage runs an interactive job with parpool. Look at the following graphic ...

3 years 前 | 1

已回答
Why parfor is slower than for when accessing 3-D array?
It's tough to say if this is one script or if you've cobled together the outputs. If it's all one script, the 2nd for-loop will...

3 years 前 | 0

| 已接受

已回答
MATLAB Distributed Computing Server and MATLAB job scheduler (MJS)
Any user will be able to start MATLAB on the client and submit a job, regardless if a job is already running. MJS is a fifo sch...

3 years 前 | 0

| 已接受

已回答
Shutting down some CPUs
Try maxNumCompThreads(8);

3 years 前 | 2

已回答
Parallel Computing on cluster
As it is written, the parallel pool will start when the parfor is called, which is then included in the timing. And since you'r...

3 years 前 | 0

已回答
HELP: received error when trying to run two functions in parallel.
It's unclear to me what could be causing the exception. Might need to troubleshoot this with Technical Support (support@mathwor...

3 years 前 | 0

已回答
Matlab only uses half of the number of logical cores. How can I use all of them?
Increase the cluster profile's number of workers. c = parcluster; c.NumWorkers = 12; p = c.parpool(12); You might not see an...

3 years 前 | 0

| 已接受

已回答
Can't use as many cores as available
I believe what you're saying is that from your desktop machine you connect to some server. From there, you run MATLAB on a mach...

3 years 前 | 0

已回答
Slim installation of MATLAB Runtime
Paul see if this will help: https://www.mathworks.com/help/compiler/package-matlab-standalone-applications-into-docker-images.ht...

3 years 前 | 1

已回答
Submitting batch jobs across multiple nodes using slurm
Hi Sebastian, I'm going to assume that my_script is the code "workerTable{ii} = ..." There are several ways to approach this...

3 years 前 | 0

| 已接受

已回答
Using parfor and external program via network
The problem is that GeckoCIRCUITS must not allow for multiple running instances. I glanced through their doc, but don't see any...

4 years 前 | 0

加载更多