已回答
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 ...

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

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

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

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

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

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

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

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

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

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

5 years 前 | 0

| 已接受

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

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

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

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

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

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

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

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

5 years 前 | 0

已回答
how to use gpu in matlab online?
The issus is that you're running MATLAB on a machine that (most likely) doesn't haeve a GPU on it. You'll need to run MATLAB on...

5 years 前 | 0

已回答
Problem with text output during parallel computation
I'm gathering from above that none of the jobs fail -- that if you were to look at the output before it's written, you would see...

5 years 前 | 0

已回答
Fail to create more than 12 workers using parallel toolbox on linux (matlab R2019b)
Here are a couple of similar posts that might help https://www.mathworks.com/matlabcentral/answers/478171-parpool-consistent...

5 years 前 | 0

已回答
How to create pool of workers from a list of hostnames?
This isn't feasible at this time; however, you might consider wrapping your code with batch. For example, let's assume your cod...

5 years 前 | 0

| 已接受

已回答
Build Simulink Real-Time Applications in Parallel
I'm not a Simulink expert, so I'm assuming that loading the workspace (which is the same for all?) will introduce, for example, ...

5 years 前 | 0

已回答
Local parallel cluster profile validation createJob takes a very long time to run
Do you happen to have a local parallel pool already running, using all your cores, as you run your validation? I'm not sure whe...

5 years 前 | 0

已回答
HPC Slurm --ntasks and Matlab parcluster NumWorkers question
In Slurm, a single task (i.e. MATLAB) can not run across multiple nodes. Let's look at a couple of options. MATLAB on a single...

5 years 前 | 2

| 已接受

已回答
Force all licenses checks at beginning of code in Azure Server
You can force a checkout for each toolbox with the license command % [TF errmsg] = LICENSE('checkout', FEATURE) checks out a ...

5 years 前 | 0

已回答
How to make matlab use more CPUs
You need to provide more information on how you're running MATLAB on the server. Are you running through a scheduler (e.g. PBS)...

5 years 前 | 0

已回答
How to restart a CommunicatingJob using only the MATLAB workspaces?
There's no automated process for reading the Job files and recreating the job. It'd be much easier to recreate the steps you've...

5 years 前 | 1

| 已接受

已回答
Is the installation same for 2020b MATLAB Parallel Server and regular matlab installation?
You can use the same installer, but you download and install a different binary, with its own license file. Two things: When i...

5 years 前 | 1

| 已接受

加载更多