回答済み
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...

5年以上 前 | 0

回答済み
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...

5年以上 前 | 0

| 採用済み

回答済み
My Home Licence on AWS Workspace with Parallel Computing only allows max of 2 Workers
Hi Sione, I'm going to check that the Home Edition doesn't impose any restrictions. With that said, could you clarify a few po...

5年以上 前 | 0

回答済み
Any toolbox to use to increase the performance of the simulations using GPU?
Hi, To make use of your NVIDIA GPU, you'll need to install the Parallel Computing Toolbox. Please see the following for MATLAB...

5年以上 前 | 0

回答済み
While executing Deep learning code , I am getting an error regarding GPU
Hi Krishna, It would apprear as though you don't have a supported GPU. What do you get when you run gpuDeviceCount gpuDevice...

5年以上 前 | 0

回答済み
Installing MatLab 2018b software on LInux: install_unix not found
Hi Mikael, Probably best to reach out to Technical Support (support@mathworks.com). Raymond

5年以上 前 | 0

回答済み
use parfor if larger than certian size
Hi Shane, There might be several options here, in no particular order 1. For starters, you might consider starting the...

5年以上 前 | 0

| 採用済み

回答済み
Adding gnu parallel to Matlab search path
Hi Nicole, I would suggest contacting Technical Support (support@mathworks.com). They would be able to figure out if GNU paral...

5年以上 前 | 0

回答済み
How can I get mpiprofile information from a parfor script?
Hi John, Prior to R2020a, you need to call mpiprofile within pmode or a parallel job, as shown in this example: https://w...

5年以上 前 | 2

回答済み
Parallel.Job error message when 'PathDependencies' are set
Hi Kat, Try set(j, 'AdditionalPaths', PathsToAdd) Also, when using tab completion (as you type "set(j, ") you should see Addi...

5年以上 前 | 1

回答済み
To perform cloud/ edge computing using matlab, got to know that I have to use parallel server toolbox. As, I'm a research student. Can I buy "student suite" licence matlab, without any additional charges for using AWS cloud.
Hi Divyashree, MathWorks has several Cloud solutions www.mathworks.com/cloud It's possible that your university already ...

5年以上 前 | 1

回答済み
Can I simulate this example (diffraction pattern) on my CPU not my GPU?
Hi Muhamed, In the best situation, by simply casting your data to a GPU, the code following the data creation will run, so long...

5年以上 前 | 1

| 採用済み

回答済み
Conversion to double from gpuArray is not possible.
Raza, My guess is that forwardLoss takes one or more input arguments, one of which is being passed a gpuArray instead of a doub...

5年以上 前 | 1

回答済み
Matlab 2020a-AWS cluster
Hi Kevin, Start a parallel pool and then run your GPU code from within a parallel construct. For example: % Time x = A\b on C...

5年以上 前 | 0

回答済み
Is it possible to run more than one external command using MATLAB simultaneously?
Hi Akhila, The system doc describes one option of putting the command in the background To execute the operating system comman...

5年以上 前 | 0

回答済み
How to use parfor function to update a 2d array
Hi Ammar, As you've written, yes, this will work fine. Reference this doc for any troubleshooting. https://www.mathworks.com/...

5年以上 前 | 0

| 採用済み

回答済み
Error in Parallel for Loops in MATLAB R2020a
Hi Yacoub, Here's what's happening (has nothing to do with missing toolboxes, etc.). You've started with something similar to ...

5年以上 前 | 0

回答済み
Why parfor loop memory keep increasing?
Hi Luqman, Two suggestions: Look at ticBytes/tocBytes to see how much data is being passed through to parfor If you're able t...

5年以上 前 | 1

| 採用済み

回答済み
How do MATLAB workers/PC cores divide the work in a parallelized optimization inside a parfor loop?
Hi Taro, Do you want to run gamultiobj 20 (in this example) times? If so, then parfor will run quicker than for. However, the...

5年以上 前 | 1

| 採用済み

回答済み
Did parfor actually run on the cluster
Hi Mao, If a parpool is not already running, when MATLAB executes a parallel construct (e.g. parfor), then it will start one, u...

5年以上 前 | 0

回答済み
deep network quantizer does not work
Hi Kaijiun, Looks like you have the right ComputeCapability (6.1). Just a quick check: in addition to the Deep Learning Toolbo...

5年以上 前 | 0

| 採用済み

回答済み
Avoid repetition in job diary when running code in parallel
Hi Linnéa, The batch command with a Pool argument is a wrapper to createCommunicatingJob of type Pool (not SPMD). That simply ...

5年以上 前 | 1

回答済み
Avoid repetition in job diary when running code in parallel
Hi Linnéa, It would help to see more of an example of your code. A parfor loop runs on a pool of workers that all think they a...

5年以上 前 | 0

回答済み
Does the following .sh script qualify to be processed parallely?
Hi, Correct, an executable generated by MATLAB Compiler or MATLAB Coder will not require a license at runtime. You can simplif...

5年以上 前 | 0

回答済み
Benchmark my code on 32- or 64-core workstation
Hi Edward, Although it's true that multi-tenancy may draw away from benchmarking, I suspect that if you're looking for a crude ...

5年以上 前 | 0

回答済み
Parallel Pool; variable does not exist after running
Hi Parsa, A for loop runs in a serial fashion, one iteration after the other, with the same reproducable results each time (mor...

5年以上 前 | 2

回答済み
parpool fails to start with modified userpath and startup.m script [9.7.0.1261785 (R2019b) Update 3]
Hi Patrick, My suggestion is From within MATLAB, call startup. Any issues? Then, Start up MATLAB with this startup.m. Any ...

5年以上 前 | 0

回答済み
I need help with parpool and optimizing recources for image reconstruction, running matlab with batch script
Hi, I haven't taken the time to see if parfor will work in your case, but have some general comments/thoughts. parfor is a MAT...

5年以上 前 | 0

回答済み
Cannot give the value to part of the matrix in parallel computing
Hi Archer, The problem is that MATLAB doesn't know how to properly index into C. I would suggest a slight rewrite, using parfe...

5年以上 前 | 1

| 採用済み

回答済み
Error using parpool with threads in 2020a
Hi Francesc. Support for threaded pools in deployed applications is a future enhancement. In the meantime, consider the follow...

5年以上 前 | 0

| 採用済み

さらに読み込む