OMP: Warning #181: OMP_STACKSIZE: ignored because KMP_STACKSIZE has been defined

32 visualizzazioni (ultimi 30 giorni)
I'm using Matlab R2018b and just got an additional dos window with this sentence.
"OMP: Warning #181: OMP_STACKSIZE: ignored because KMP_STACKSIZE has been defined"
Matlab is working finely so far although it has this warning window. How can I remove this warning and close annoying window?

Risposta accettata

Pruthvi Muppavarapu
Pruthvi Muppavarapu il 13 Mar 2019
Try launching MATLAB from the default directory (for example, on Windows being C:\Program Files\MATLAB\R2015b\bin\matlab.exe).
If the error still occurs when launching MATLAB from this location, check for an environment variable named "KMP_STACKSIZE=xxx". If it exists (note its value in case you must replace it) and then remove this variable. You can check environment variables by performing the following steps:
1. In the Start Menu search area, type in "Environment" and hit enter. This will open the System Properties dialog under the "Advanced" tab.
2. Click on the "Environment Variables..." button, this will open the Environment Variables dialog. You can now edit both "System variables" as well as "User variables."
3. If the "KMP_STACKSIZE=xxx" variable exists, please remove it and attempt to start MATLAB.
Hope this resolves the issue.
NOTE: If the issue still persists, contact Mathworks Technical Support team:
  3 Commenti
Peter Vella
Peter Vella il 11 Giu 2020
Worked for me as well. I removed the system variable OMP_STACKSIZE = 1G;
Thanks

Accedi per commentare.

Più risposte (1)

KAN ZHENG
KAN ZHENG il 7 Mar 2019
Hello, I have a trouble the same with you? I am using Matlab 2015b.
Do you have already get the method to solve this peoblem?
This peoblem can break down the whole matlab processing, and things go too bad !

Categorie

Scopri di più su Function Creation in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by