已回答
Validation Error on the parallel cluster
The plugin scripts support "remote" and "on-cluster" submission. When you went through the wizard to create the profile, you se...

2 years 前 | 0

已回答
Request exclusive use of slurm batch nodes for a parpool that is less than the total number of cores.
Renat your MATLAB code looks similar to installations we've supported in the past. If that's true, run c.AdditionalProperties ...

2 years 前 | 0

已回答
Avoid broadcasting an array in parfor
As a side note, I suspect that parfor i=size(combinations,1) should be more like parfor i=1:size(combinations,1) as the orig...

3 years 前 | 0

| 已接受

已回答
Error using oddiyxy1 (line 23) Error: The variable a in a parfor cannot be classified. See Parallel for Loops in MATLAB, "Overview".
I'm not sure how long it took you, but your code as it's written only took 1-2s, which wouldn't make a good problem to paralleli...

3 years 前 | 1

| 已接受

已回答
How to enable two threads to tackle with different tasks? E.G. control hardware acquisition and data processing synchronously
parfeval can run different tasks. For example: pool = parpool(2); daq = pool.parfeval(@acquireData, ..); proc = pool.parfev...

3 years 前 | 0

| 已接受

已回答
Can i run matlab code on different PC's together?
Parallel Computing Toolbox should be installed on your desktop machine and MATLAB Parallel Server should be installed on your la...

3 years 前 | 1

已回答
AWS EC2 link to MATLAB online
If I have my codes correct, you're running MATLAB with a commerical license and MATLAB Parallel Server with an academic license....

3 years 前 | 0

已回答
PARFOR loop can not run due to the way variable "M" is used.
Collapse M(i,1) = data1(f1(i),1); M(i,2) = data1(f1(i),2); M(i,3) = Alt(i); M(i,4) = datenum(f1(i)); to M(i,:) = [data1(f1...

3 years 前 | 0

| 已接受

已回答
Parallel CPU computing for recurrent Neural Networks (LSTMs)
I'm assuming you're only running this on your local machine (with 23 cores)? And I'm assuming you don't have a GPU? If so, set...

3 years 前 | 1

已回答
terminating a parfor loop early
The issue you'll have with parfor is that it can't terminate early. I believe what you're suggesting is to do checkpointing -- ...

3 years 前 | 0

| 已接受

已回答
optimize cluster configuration for virtual machine
When you run the code serially, do you see high core activity? If not, you might not see any appreciable difference increasing ...

3 years 前 | 0

已回答
using Parfeval and BackgroundPool
You appear to be running R2021a. backgroundPool was introduced in R2021b.

3 years 前 | 0

| 已接受

已回答
What does it mean: fileStream::DetectCharset():frea ?
Here's a trivial example. Look at the documentation for more information. function zw d = parallel.pool.DataQueue; d.after...

3 years 前 | 0

| 已接受

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

3 years 前 | 0

| 已接受

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

3 years 前 | 0

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

3 years 前 | 0

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

3 years 前 | 1

| 已接受

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

3 years 前 | 0

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

3 years 前 | 0

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

3 years 前 | 0

| 已接受

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

3 years 前 | 0

| 已接受

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

3 years 前 | 0

| 已接受

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

3 years 前 | 0

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

3 years 前 | 0

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

3 years 前 | 0

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

3 years 前 | 0

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

3 years 前 | 0

| 已接受

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

3 years 前 | 0

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

3 years 前 | 0

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

3 years 前 | 0

加载更多