From f1ac9459b544ddb810ddda39c3ae921f1c7d6f36 Mon Sep 17 00:00:00 2001
From: fwaters <fwaters@anaconda.com>
Date: Mon, 23 Sep 2019 18:33:10 +0000
Subject: [PATCH 3/3] intel_init_mkl

---
 numpy/_distributor_init.py | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/numpy/_distributor_init.py b/numpy/_distributor_init.py
index 25b0eed79..2dc0e9ce2 100644
--- a/numpy/_distributor_init.py
+++ b/numpy/_distributor_init.py
@@ -10,6 +10,13 @@
 """
 
 try:
-    from . import _distributor_init_local
+    import mkl
+    __mkl_version__ = "{MajorVersion}.{MinorVersion}.{UpdateVersion}".format(**mkl.get_version())
 except ImportError:
-    pass
+    import warnings
+    warnings.warn(
+        "mkl-service package failed to import, therefore Intel(R) MKL "
+        "initialization ensuring its correct out-of-the box operation under "
+        "condition when Gnu OpenMP had already been loaded by Python process "
+        "is not assured. Please install mkl-service package, see "
+        "http://github.com/IntelPython/mkl-service", stacklevel=2)
