diff --git a/hexrdgui/main.py b/hexrdgui/main.py index 4b078c6b0..f49d0ee3a 100644 --- a/hexrdgui/main.py +++ b/hexrdgui/main.py @@ -25,6 +25,9 @@ # rather than silently running with undefined behavior. # workqueue is not viable (crashes on concurrent thread access). os.environ.setdefault('NUMBA_THREADING_LAYER', 'omp') + # Suppress the "omp_set_nested routine deprecated" C-level warning + # from numba's omppool.cpp (https://github.com/numba/numba/issues/5275). + os.environ.setdefault('KMP_WARNINGS', 'false') from PySide6.QtCore import QCoreApplication, Qt from PySide6.QtGui import QIcon, QPixmap