Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Matlab parallel bug in win 11?

1 vue (au cours des 30 derniers jours)
Felix
Felix le 16 Fév 2023
Clôturé : Edric Ellis le 17 Fév 2023
Matlab behavies differently when running identical code on win10 and win 11, using asyncio ect.. i.e., Matlab throws error ' xxx not compatible with a thread-based environment' when runing on win11, when using function 'parfeval',but runs fine in win10.
Are there any workarounds other than going back to win10? The new laptops these day does not support win10 anymore.
Maybe it has something to do with the intel 12-th gen e-core, p-core? It seems the task schedular of win10 and win11 behaves differently.
Best regards,
--------------------------------
Edit.
The problem is in fact matlab r2022a. When using r2022b the code runs fine in either win10 or win11.
Many thanks for everyone`s help!
  3 commentaires
Raymond Norris
Raymond Norris le 16 Fév 2023
W10 and W11 are both running R2022a?
Felix
Felix le 17 Fév 2023
Ok the problem is actually R2022a. When using R2022b the code runs fine in either win10 or win11.
Thank you very much.

Réponses (0)

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by