Filter löschen
Filter löschen

how to disable matlabpool/parpool

20 Ansichten (letzte 30 Tage)
kkyaj
kkyaj am 18 Okt. 2018
Kommentiert: Walter Roberson am 19 Okt. 2018
i recently upgraded to matlab2018 from an older version. previously, parfor ran in serial unless a worker pool was opened explicitly. now in the newer version, the pool seems to open when parfor is detected.
how can i disable this behavior? -- i want to call 'parfor' but have it run in serial unless i explicitly open the pool.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 18 Okt. 2018
Bearbeitet: Walter Roberson am 18 Okt. 2018
  4 Kommentare
kkyaj
kkyaj am 18 Okt. 2018
Bearbeitet: kkyaj am 19 Okt. 2018
i dislike it, but i'll accept your (Friedrich's) solution for the sake of moving on. the solution was a work-around from 2014. i am somewhat surprised that no local per-instance behaviour setting can be supplied after almost 5years.
my sysadmin will need to make changes on some systems that use system-wide prefs.
Walter Roberson
Walter Roberson am 19 Okt. 2018
I do not know if anyone ever put in an enhancement request for this. I know that I did not put in a request for it, as it is a not a bug, and I did not have a use for it myself, and I have seen very few requests for it.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Parallel for-Loops (parfor) finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by