Beantwortet
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...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 5 Jahre vor | 0

Beantwortet
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...

mehr als 5 Jahre vor | 0

Beantwortet
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...

mehr als 5 Jahre vor | 0

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

mehr als 5 Jahre vor | 0

Beantwortet
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...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 5 Jahre vor | 0

Beantwortet
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...

mehr als 5 Jahre vor | 2

Beantwortet
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...

mehr als 5 Jahre vor | 1

Beantwortet
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 ...

mehr als 5 Jahre vor | 1

Beantwortet
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...

mehr als 5 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 5 Jahre vor | 1

Beantwortet
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...

mehr als 5 Jahre vor | 0

Beantwortet
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...

mehr als 5 Jahre vor | 0

Beantwortet
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/...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
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 ...

mehr als 5 Jahre vor | 0

Beantwortet
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...

mehr als 5 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 5 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 5 Jahre vor | 0

Beantwortet
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...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
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 ...

mehr als 5 Jahre vor | 1

Beantwortet
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...

mehr als 5 Jahre vor | 0

Beantwortet
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...

mehr als 5 Jahre vor | 0

Beantwortet
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 ...

mehr als 5 Jahre vor | 0

Beantwortet
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...

mehr als 5 Jahre vor | 2

Beantwortet
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 ...

mehr als 5 Jahre vor | 0

Beantwortet
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...

mehr als 5 Jahre vor | 0

Beantwortet
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...

mehr als 5 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 5 Jahre vor | 0

| akzeptiert

Beantwortet
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. ...

mehr als 5 Jahre vor | 0

Mehr laden