This article describes how to set up the Intel® Distribution for Python* development environment. Two typical development environments are described. The first is a Jupyter* notebook, and the second is Pycharm*. This article contains details on setting up Intel® Distribution for Python* in both development environments.
1. What is Intel Distribution for Python?
Intel Distribution for Python gives you ready access to tools and techniques for high performance to supercharge all your Python applications on modern Intel platforms. Yet Python is known for simplicity and speed of development. The Intel Distribution for Python addresses this fundamental performance challenge using the techniques (Intel® MKL, Intel® Threading Building Blocks, Intel® Data Analytics Acceleration Library)
More details are in :
2. Install Intel® Distribution for Python* (IDP)
(1) Install Anaconda
(2) Run command prompt as admin in Windows and enter the following commands in the window to download / install Intel Python via Anaconda.
conda update conda conda config --add channels intel conda create -n idp3 intelpython3_full python=3 conda create -n idp2 intelpython2_full python=2
(3) To run Jupyter notebook for IDP2 or IDP3, enter the following commands in the window.
activate idp2 jupyter notebook activate idp3 jupyter notebook
(4) Jupyter notebook is opened in browser and go to NEW > Python2 or Python3
(5) Enter Python commands for checking the Python version. (SHIFT+ENTER Key at end of input.)
import sys sys.version
You can see the Intel® Distribution for Python* version.
3. Setting Intel® Distribution for Python* for Pycharm IDE
(1) Install Pycharm IDE (https://www.jetbrains.com/pycharm/download)
(2) New project > Add Local
(2) Enter the path of Intel Distribution for Python
Nomally, it is C:\ProgramData\Anaconda2\envs\idp2\python.exe
(3) Enter Python commands for checking the Python version and run. And you can check the right Intel Distribution for Python version has set.
Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.
Notice revision #20110804