How do I execute parallel computing in Matlab without altering my script?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Farhanah Mohammed
am 18 Jun. 2019
Beantwortet: Edric Ellis
am 19 Jun. 2019
I have tried entering "parpool" in the command line before running the script but it is still running on only one CPU. The pool becomes active with my 12 processors running however it seems like my code cannot access the pool. It prompts me that the paralle pool is idle and will shut down soon.
I think the problem is in the execution of parpool. Any help will be appreciated. Thanks.
0 Kommentare
Akzeptierte Antwort
Edric Ellis
am 19 Jun. 2019
It's not quite clear what you're trying to achieve here. You should launch parpool only if your script uses parallel language features like parfor, parfeval, or spmd. If you simply want to run your script in the background, you can use batch.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Parallel Computing Fundamentals finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!