Installing the Intel® Distribution for Python* on IBM Cloud Pak for Data* using Kubernetes*

By Nathan G Greeneltch,

Published:07/02/2019   Last Updated:07/02/2019

The Intel® Distribution for Python* is now available on the IBM Cloud Pak for Data*. This article includes instructions to install the package as an add-on service for your IBM Cloud Pak for Data cluster using Kubernetes*.

Hardware Requirements

A system based on 64-bit architecture that supports Intel® Streaming SIMD Extensions 4.2 (Intel® SSE 4.2) instructions (or compatible non-Intel® processor). 2 GB of free disk space for all product features and all architectures.

Software Requirements

Kubectl 1.12, Cloudctl 3.12, Docker 18.06.1m Helm N/A

Kubernetes Setup

A Kubernetes environment should be pre-loaded with your IBM Cloud Pak for Data session. This environment should already meet the minimum software and hardware requirements.  

Launch with Kubectl

You can use kubectl to run commands against your Kubernetes cluster. Refer to the kubectl overview for details on syntax and operations. Once you have a working cluster on Kubernetes, use the following YAML script to start a pod with a simple shell script, and keep the pod open.

1. Copy this example.yaml script to your system:

apiVersion: v1
kind: Pod
  name: example-pod
    app: ex-pod
  - name: ex-pod-container
    image: intelpython/intelpython3_full:latest
    command: ['/bin/bash', '-c', '--']
    args: [ "while true; do sleep 30; done" ]

2. Execute the script with kubectl:

kubectl apply -f <path-to-yaml-file>/example.yaml

This script opens a single pod. More robust solutions would create a deployment or inject a python script or larger shell script into the container.

You can check on the status of your pod launch with this command:

kubectl get pods

Once your pod is launched successfully, you can access the shell of the example-pod with this command: 

kubectl exec -it example-pod -- /bin/bash

At this point you have working with a conda environment which includes all of the contents of Intel's Distribution for Python. "conda list" will return a list of the included packages. 

conda list

Delete Kubectl Pod

kubectl delete pod example-pod


Product and Performance Information


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