Risposto
MATLAB PollableDataQueue get last value
How about prepending the value to the poll? x0 = [rand(1), x0];

oltre 4 anni fa | 0

| accettato

Risposto
What does it mean: fileStream::DetectCharset():frea ?
Can't answer this for you, but you might consider looking at DataQueues https://www.mathworks.com/help/parallel-computing/parall...

oltre 4 anni fa | 0

Risposto
cluster profile validation failed
Hi. Please contact MathWorks Technical Support. They will be able to troubeshoot this.

oltre 4 anni fa | 0

Risposto
scaling a parfor to a more than one node on a cluster
Ciao Patrizio, We've worked with Cineca directly in the past. To begin with, yes we need to resolve the MATLAB Parallel Server...

oltre 4 anni fa | 1

| accettato

Risposto
scaling a parfor to a more than one node on a cluster
Parallel Computing Toolbo provides a "local" profile, for running multi-core jobs on the machine running the MATLAB client. If ...

oltre 4 anni fa | 0

Risposto
Parallel pool failed to start - Job test failed during validation MATLAB 2021b
This feels like an install issue. It's odd that Stage 2 would fail, but Stage 3 & 4 pass. And then especially have Stage 5 fai...

oltre 4 anni fa | 0

Risposto
How to know in advance if creating matrix will run out of memory?
Look at the memory command, but it's only for Windows operating system. The gpuDevice command will return AvailableMemory of a ...

oltre 4 anni fa | 0

| accettato

Risposto
Repetitive value arising in for loop
Please edit your posting so that it displays your code in CODE mode. This is not a parfor issue, you'd get the same results wit...

oltre 4 anni fa | 0

| accettato

Risposto
Parpool fails to run in between other lines of code
I'm guessing it's something to do with your environment. When I test with example.nc, it works fine. Is your code in a script ...

oltre 4 anni fa | 0

| accettato

Risposto
Unable to submit task result (Matlab parallel server)
Hi Maria, A few questions first: Which platform is MATLAB Parallel Server running on, Linux or Windows? Which scheduler are y...

oltre 4 anni fa | 0

Risposto
parfor loop: random samples are dependent
See if these help https://www.mathworks.com/help/parallel-computing/control-random-number-streams-on-workers.html https://www....

oltre 4 anni fa | 0

Risposto
How to use parfor with a range from a very large object and cause memory problems
Have you considered assigning R in the parfor? parfor t = 1:T R = rand(T,S,P,M) ... end It's less intuitive for MAT...

oltre 4 anni fa | 0

Risposto
Troubles with counter variables and file writings in parallelized for loop
For Problem 1, use a parallel.pool.DataQueue https://www.mathworks.com/help/parallel-computing/parallel.pool.dataqueue.html In...

oltre 4 anni fa | 0

Risposto
How can I get parallel computing toolbox?
Best to contact Technical Support (support@mathworks.com). They'll be able to explain your options.

oltre 4 anni fa | 0

| accettato

Risposto
Can't find file on worker - Parallel Programming
You mean to say that folder is empty? At the top of the spmd, add this spmd getAttachedFilesFolder hydroNet.NetworkF...

oltre 4 anni fa | 0

Risposto
Error when executing MATLAB app methods via parfeval and BackgroundWorker pool.
Do you have the Parallel Computing Toolbox? If so, try using a process-based pool (i.e., 'local') instead of a backgroundPool. ...

oltre 4 anni fa | 0

Risposto
Cleaning parallel workers messages appears just immediately after running simulations when using parsim
I'm not a Simulink user, so bare with me in case I take you down the wrong path. I'm guessing you are setting the parsim RunInB...

oltre 4 anni fa | 0

Risposto
How to make a multiple for-loop run faster, the function of which is to find the steady state?
Yuu ought to be able to change the last several lines as such end temp(m,1) = rmsep; end rmse = temp; With that sai...

oltre 4 anni fa | 1

| accettato

Risposto
How to make a multiple for-loop run faster, the function of which is to find the steady state?
Can you elaborate a bit on the following: how are you measuring the time (walltime, tic/toc, profiler) how long it took to run...

oltre 4 anni fa | 1

Risposto
Why is parallel poor button still gray and showing "No parallel poor" even already started?
It might be a bug that the icon isn't reflecting the state of the parallel pool properly. Nevertheless, I'm assuming you can ru...

oltre 4 anni fa | 0

| accettato

Risposto
how to use fsolve in a parfor loop to reach a correct answer?
It shouldn't matter, but what is UseParallel option set to? You're using parfor and then is fsolve also using parfor (which res...

oltre 4 anni fa | 0

Risposto
How to use the parfor function inside a for loop?
There's a bit of missing code here and some of it doesn't make quite sense, so I might be off on my solution. And, I'm going to...

oltre 4 anni fa | 0

Risposto
"parfeval" and "backgroundPool" to create background progress bar
There are a couple of issues parfeval requires other input arguments and you need to pass in the function handle to DBWaitGUI2....

oltre 4 anni fa | 0

| accettato

Risposto
Could not load Matlab parallel parpool.m in a C# wrapper
What is line #14 in driver_evaluate_callibration? And have you been able to successfully run this in MATLAB (not compiled)?

oltre 4 anni fa | 0

Risposto
How to run Simulink and Matlab script run sequentially.
How are you running the Simulink model, interactively or with the sim command? If you run the model with the sim command, that ...

oltre 4 anni fa | 0

Risposto
Is it possible to assign specific nodes in a batch job?
I'm gathering you're using the MATLAB job scheduler (MJS). If so, then no, MJS doesn't provide a way to specify which node(s) t...

oltre 4 anni fa | 0

| accettato

Risposto
Parallel Computing Toolbox - Limit of number of workers - R2021a
Based on what your stating, I'm gather it's a single motherboard, with 32 sockets, each socket with 4 physical cores. Is that r...

oltre 4 anni fa | 0

Risposto
Using parfor eliminates use of multithreading
Check the cluster objects' NumThreads property. For instance local = parcluster('local'); local.NumThreads = <set-number-of-th...

oltre 4 anni fa | 2

| accettato

Risposto
Transparency violation error for cvx
It doesn't appear so. cvx_begin is calling assignin on line 41. This would be akin to calling local = parcluster('local'); p...

oltre 4 anni fa | 0

Risposto
Worker unable to find mex file
I'm assuming you are using parpool? How are you setting the worker's path on the Linux cluster to find the MEX-file? One optio...

oltre 4 anni fa | 0

| accettato

Carica altro