Click here to Skip to main content
15,889,034 members
Articles / Programming Languages / Python
Article

Installing Intel® Performance Libraries and Intel® Distribution for Python Using YUM Repository

12 Sep 2018CPOL 4.3K   1  
This page provides general installation and support notes about the Community forum supported Intel® Performance Libraries and Intel® Distribution for Python as they are distributed via the YUM repositories described below.

This article is in the Product Showcase section for our sponsors at CodeProject. These articles are intended to provide you with information on products and services that we consider useful and of value to developers.

These software development tools are also available as part of the Intel® Parallel Studio XE and Intel® System Studio products. These products include enterprise-level Intel® Online Service Center support.

Setting up the Repository

Here is how to install the Intel YUM Repository. [Note: You must be logged in as root to set up and install the repository]

  1. Add the repositories in two ways:
    • Add all Intel® Performance Libraries and Intel® Distribution for Python* repositories at once:
      sudo yum-config-manager --add-repo https://yum.repos.intel.com/setup/intelproducts.repo
      You can enable or disable repositories in the intelproducts.repo file by setting the value of the enabled directive to 1 or 0 as required.
    • Add an individual product:
      • Intel® Math Kernel Library (Intel® MKL):
        sudo yum-config-manager --add-repo https://yum.repos.intel.com/mkl/setup/intel-mkl.repo
      • Intel® Integrated Performance Primitives (Intel® IPP):
        sudo yum-config-manager --add-repo https://yum.repos.intel.com/ipp/setup/intel-ipp.repo
      • Intel® Threading Building Blocks (Intel® TBB):
        sudo yum-config-manager --add-repo https://yum.repos.intel.com/tbb/setup/intel-tbb.repo
      • Intel® Data Analytics Acceleration Library (Intel® DAAL):
        sudo yum-config-manager --add-repo https://yum.repos.intel.com/daal/setup/intel-daal.repo
      • Intel® MPI Library:
        sudo yum-config-manager --add-repo https://yum.repos.intel.com/mpi/setup/intel-mpi.repo
      • Intel® Distribution for Python*:
        sudo yum-config-manager --add-repo https://yum.repos.intel.com/intelpython/setup/intelpython.repo
  2. Import the gpg public key for the repository
    sudo rpm --import https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB

Intel® Performance Libraries and Intel® Distribution for Python* versions available in the repository

<COMPONENT>

<VERSION>

<UPDATE>

<BUILD_NUM>

Intel® MKL

2017
2017
2017
2018
2018
2018
​2018

2
3
4
0
​1
2
​3

050
056
061
033
038
046
​051

Intel® IPP

2017
2017
2018
2018
2018
​2018

2
3
0
1
2
3

050
056
033
038
046
051

Intel® TBB

2017
2017
2018
2018
2018

6
8
0
2
​4

056
061
033
046
051

Intel® DAAL

2017
2017
2018
2018
2018
2018

3
4
0
1
2
3

056
061
033
038
046
​051

Intel® MPI Library

2018
​2018

2
3

046
051

Intel® Distribution for Python*

2017
2017

2018
2018
2018
2018

2
3

0
1
2
3

045
053 (python2)
052 (python3)
018
023
037
​039

By downloading Intel® Performance Libraries and Intel® Distribution for Python* you agree to the terms and conditions stated in the End-User License Agreement (EULA).

Installing the library and Python packages using the YUM Package Manager

The following variables are used in the installation commands:
<PYTHON_VERSION>: 2, 3
<VERSION>: 2017, ...
<UPDATE>: 0, 1, 2, ...
<BUILD_NUMBER>: build number, check the list in previous section
<COMPONENT>: a component name from the list of available components below

Component

<COMPONENT>

Intel® Math Kernel Library

intel-mkl
intel-mkl-32bit
intel-mkl-64bit

Intel® Integrated Performance Primitives

intel-ipp
intel-ipp-32bit
intel-ipp-64bit

Intel® Threading Building Blocks

intel-tbb

Intel® Data Analytics Acceleration Library

intel-daal
intel-daal-32bit
intel-daal-64bit

Intel® MPI Library

intel-mpi

Intel® Distribution for Python*

intelpython2
intelpython3

How do I install a particular version?

  1. To install a particular version of one of the Intel® Performance Libraries:
    yum install <COMPONENT>-<VERSION>.<UPDATE>-<BUILD_NUMBER>

    Example:

    yum install intel-mkl-2018.2-046
  2. To install a particular language version of the Intel® Distribution for Python*:
    yum install intelpython<PYTHON_VERSION>

    Example:

    yum install intelpython3
  3. To specify which version of the Intel® Distribution for Python* to install:
    yum install intelpython<PYTHON_VERSION>-<VERSION>.<UPDATE>-<BUILD_NUMBER>

    Example:

    yum install intelpython3-2018.2-037

By downloading Intel® Performance Libraries and Intel® Distribution for Python* you agree to the terms and conditions stated in the End-User License Agreement (EULA).

How do I uninstall a particular version?

  1. To uninstall one of the Intel® Performance Libraries:
    yum autoremove <COMPONENT>-<VERSION>.<UPDATE>-<BUILD_NUMBER>

    Example:

    yum autoremove intel-mkl-2018.2-046
  2. To uninstall the Intel® Distribution for Python*:
    yum remove intelpython<PYTHON_VERSION>

    Example:

    yum remove intelpython3

Troubleshooting

In certain cases, an update through the Intel YUM repositories may fail due to a caching issue. Please follow these steps in order to disable caching in YUM and clean up your local repo prior to update.

  1. Disable caching in YUM config file '/etc/yum.conf':
    http_caching=none
  2. Delete any temporary YUM files:
    rm -r /var/tmp/yum*
  3. Cleanup your local YUM repository:
    yum clean metadata
    yum clean all
  4. Reboot your machine
  5. Now re-attempt the YUM update:
    yum update

Have Questions?

Check out the FAQ
See our Get Help page for your support options.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
You may know us for our processors. But we do so much more. Intel invents at the boundaries of technology to make amazing experiences possible for business and society, and for every person on Earth.

Harnessing the capability of the cloud, the ubiquity of the Internet of Things, the latest advances in memory and programmable solutions, and the promise of always-on 5G connectivity, Intel is disrupting industries and solving global challenges. Leading on policy, diversity, inclusion, education and sustainability, we create value for our stockholders, customers and society.
This is a Organisation

42 members

Comments and Discussions

 
-- There are no messages in this forum --