OMP: Warning #181: OMP_STACKSIZE: ignored because KMP_STACKSIZE has been defined
32 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
采纳的回答
Pruthvi Muppavarapu
2019-3-13
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 个评论
Peter Vella
2020-6-11
Worked for me as well. I removed the system variable OMP_STACKSIZE = 1G;
Thanks
更多回答(1 个)
KAN ZHENG
2019-3-7
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 !
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Function Creation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!