Answered
How to find function and variable value at each iteration for genetic algorithm with Parallel Computing ?
This doesn't address your issue, but you can't have a nested parfor loop/spmd block, which is in essense, what you're suggesting...

5 meses ago | 0

| accepted

Answered
How I resume my Matlab job from previous saved data in NCI(Australian supercomputer facilities)?
My understanding is that NCI will allow for longer running jobs than 48 hours. Email help.nci.org.au for an exception on queue ...

5 meses ago | 1

| accepted

Answered
Multi-level parallelization
MATLAB does not support multiple parallel pools in the same session. With that said, as you've pointed out, batch will do what ...

5 meses ago | 0

| accepted

Answered
Error running MATLAB Parallel Server toolbox "Admincenter"
I would suggest contacting Technical Support (support@mathworkscom). They ought to be able to help with this and with your othe...

5 meses ago | 0

Answered
How can I open a matlabpool in matlab2020?? Also, I have the parallel computing toolbox (PCT).
Not sure how far back ago, but we've deprecated the matlabpool command. Use the parpool command instead.

5 meses ago | 0

Answered
Advice on cluster creation
Hi Mazen, I'm sorry to hear you're having issues installing and configuring MATLAB Parallel Server. I have two suggestions for...

6 meses ago | 0

Answered
Unable to start parallel pool for more than 12 cores
I'm a bit confused how setting the default size of a parallel pool would throw "failed to start parallel pool", since setting th...

6 meses ago | 0

Answered
Is it possible to set a remote folder on HPC as a current folder?
Can you provide a bit more info on how you'd like this to work. Given that you're using parcluster, batch, etc., I suspect you'...

6 meses ago | 1

Answered
Recommendations for hardware acceleration for AI work
Your university has some documentation about running MATLAB & MATLAB Parallel Server at your site. Get in touch with me if you ...

6 meses ago | 0

Answered
Does the batch job run on a single worker if the code batched doesn't contain any parallel for loop?
Your local machine is making use of maxNumCompThreads, which is set to the number of physical cores on your machine. The 'paral...

6 meses ago | 0

| accepted

Answered
Using Parfor in Ga
Nested parfor loops will be treated as a parfor calling a for-loop. For example: parfor idx = 1:N myfcn(idx) end func...

6 meses ago | 0

| accepted

Answered
An license error occured when submitting a sbatch routine in slurm
A few comments MATLAB and Parallel Computing Toolbox only span across a single node. Calling parpool (or parfor, which will st...

6 meses ago | 0

| accepted

Answered
matlab install and launch problem
The system requirements for R2020b can be found here https://www.mathworks.com/support/requirements/matlab-system-requirem...

6 meses ago | 2

Answered
Matlab Parallel Server worker to worker communication port
A few questions Which version of MATLAB are you running? Is MATLAB running on your local machine and MATLAB Parallel Server on...

7 meses ago | 0

Answered
how to ask for a pool size when using parpool with threads
There isn't from within parpool. When you create a Threads pool, the size of the pool is identical to maxNumCompThreads, which ...

7 meses ago | 0

| accepted

Answered
Trouble in rewriting the for loop as a parfor loop
This might work, but two clarifying points These aren't the same for jj = col % 1:C_numhalf In your examp...

7 meses ago | 1

| accepted

Answered
special case of using parallel computing toolbox in order to solve decomposed problems
Hi Bill, There might be a couple of options parfeval* createJob/createTask parfor won't do the trick because it doesn't allo...

8 meses ago | 0

Answered
how can I use the parallel computing for lsquarefit function.
Hi Sasidharan, Could you provide a bit more context, at a high level, how you're running your code. That is on your machine o...

8 meses ago | 0

| accepted

Answered
Solving a large (263169x263169) linear system in cluster using 'directed' function
Hi Yaswanth, Take a look at codistributed arrays https://www.mathworks.com/help/parallel-computing/working-with-codistrib...

8 meses ago | 0

| accepted

Answered
For loop and computational time
Hi Muhammad, I would suggest provide a bit more information when it comes to performance questions Which version of MATLAB? H...

8 meses ago | 1

Answered
why the command coder.checkGpuInstall(envCfg) failed in a CPU worker
Hi Mikaƫl, MATLAB Coder and GPU Coder can be used by workers in interactive sessions (i.e. parpool). See more about what other...

8 meses ago | 0

Answered
Using symbolic subs call inside parfor loop
Hi Antonio, You're just not giving each of the workers enough work to do. Maybe you only need to run nT=5, but see what happen...

8 meses ago | 0

Answered
How to use parpool for different expressions ?
Hi Ole, The parpool command will start a pool of workers (in this case most likely on your 4-core machine). Conceptually, thin...

8 meses ago | 0

Answered
Cannot access the function predict() in R2020b with statistics toolbox
Hi Pistachio, predict ships in the System Identification Toolbox. Thanks, Raymond

8 meses ago | 0

Answered
Invalid path error during making Simulink target with GPU acceleration
Hi Filip, I would suggest contacting Technical Support (support@mathworks.com). Raymond

9 meses ago | 0

Answered
using parallel computing outside a loop
Hi Aref, You don't explain how you're already using parfor -- that could negate what else you can do. Here's a crude example, ...

9 meses ago | 1

| accepted

Answered
HPC MATLAB parpool and speed
Hi Ruan, There are two ways to speed up your code, implicitly and explicitly. You don't have much control over implicitly. MA...

9 meses ago | 0

| accepted

Answered
read tiff image in parfor
Hi Wenjie, The file descriptor in the process of your MATLAB client (outside of the parfor) does not transfer to the processes ...

9 meses ago | 0

Answered
Change folder that Matlab saves session information
If you run local parallel pools, the metadata is also stored in ~/.matlab (by default for Linux). You might consider deleting i...

9 meses ago | 0

Answered
Why parfor cannot handle this
Hi Hussein, All MATLAB tokens must either be functions or variables. Keep in mind, regardless of whether or not code will be e...

9 meses ago | 0

| accepted

Load more