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

32 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

Pruthvi Muppavarapu
Pruthvi Muppavarapu el 13 de Mzo. de 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 comentarios
Peter Vella
Peter Vella el 11 de Jun. de 2020
Worked for me as well. I removed the system variable OMP_STACKSIZE = 1G;
Thanks

Iniciar sesión para comentar.

Más respuestas (1)

KAN ZHENG
KAN ZHENG el 7 de Mzo. de 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 !

Categorías

Más información sobre Function Creation en Help Center y File Exchange.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by