Intel Xeon Phi (KNC) MPSS modules for CentOS 7.5, 7.6, 7.7, 7.8 and 7.9

The latest version (as of October 4th 2019) of the MPSS software stack for the first generation Intel Xeon Phi (aka KNC) is 3.8.6. Unfortunately, this version of the mpss stack does not support the newer RHEL/CentOS 7 kernels 3.10.0-862 (7.5), 3.10.0-957 (7.6), 3.10.0-1062 (7.7), 3.10.0-1127 (7.8) and 3.10.0-1160 (7.9).

Therefore, I've grabbed the mpss-modules source tarball and patched it, so that it can be compiled for a 3.10.0-862, 3.10.0-957, 3.10.0-1062, 3.10.0-1127 or 3.10.0-1160 kernel. The resulting RPM and Source RPM (SRPM) can be download here, both for MPSS 3.8.6 and the previous 3.8.5 release. The same patch is used for the 3.10.0-862 and 3.10.0-957 kernels, but for the 3.10.0-1062 patch, the file micscif/micscif_select.c needed a small patch. For the 3.10.0-1127+ patch, the file host/vmcore.c was patched to work around an overlapping function name.

MPSS 3.8.6 on CentOS 7.9

Note that this RPM is much small than its predecessors due to the addition of a line
  strip --strip-unneeded mic.ko
to the mpps-modules-3.8.6-centos79.spec file.

MPSS 3.8.6 on CentOS 7.8

MPSS 3.8.6 on CentOS 7.7

MPSS 3.8.5 on CentOS 7.7

MPSS 3.8.5 on CentOS 7.6

MPSS 3.8.4 on CentOS 7.6

MPSS 3.8.4 on CentOS 7.5

Installation

You can install or upgrade the mpss-modules file using
  rpm -ivh https://github.com/jjkeijser/mpss/releases/download/RHEL7.9/mpss-modules-3.10.0-1160.el7.x86_64-3.8.6-4.x86_64.rpm
Note
Normally, a weak-updates link is created when a module is installed, e.g.
  $ ls -al /lib/modules/3.10.0-862.6.3.el7.x86_64/weak-updates/
  total 4
  drwxr-xr-x 2 root root   20 Jul  5 16:58 .
  drwxr-xr-x 7 root root 4096 Jul  5 16:58 ..
  lrwxrwxrwx 1 root root   47 Jul  5 16:58 mic.ko -> /lib/modules/3.10.0-862.el7.x86_64/extra/mic.ko
This link is needed for the existing kernel to find the mic.ko file. If the module cannot be found after installing the mpss-modules RPM then you can simply create it yourself, or re-install the kernel RPM.
MPSS Main | MPSS CentOS 7 | MPSS CentOS 8 | MPSS Ubuntu