답변 있음
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

| 수락됨

답변 있음
What is the origin of this bus error?
Hi, When you submit your Slurm job, you can specify the flag --mem-per-cpu=<mem, usually in gb> look to increase that. ...

5년 초과 전 | 0

더 보기