HPMC User Guide v 1.00
© 2026 Bassem W. Jamaleddine
The HPMC is equipped with a Xeon Phi MIC coprocessor or many-core integrated architecture coprocessor, that is slotted in its PCIe bus. This coprocessor is a memory mapped device, and the motherboard hosting it must be capable to reserve the memory above 4GB for it own use.
Unlike legacy math coprocessor, the MIC is a device that runs its own Linux operating system (micro OS) and can be viewed as an embedded system that is plugged on the bus of the HPMC computer.
To bootstrap and system manage the MIC, we need to install on the host the "manycore processor software stack", which is the following package that contains the required modules:
mpss-modules-3.10.0-693.17.1.el7.x86_64-3.8.4-1.x86_64. This package includes the following:
/etc/modprobe.d/mic.conf /etc/sysconfig/modules/mic.modules /etc/udev/rules.d/50-udev-mic.rules /lib/modules/3.10.0-693.17.1.el7.x86_64/extra/mic.ko /etc/modprobe.d/mic.conf /etc/sysconfig/modules/mic.modules /etc/udev/rules.d/50-udev-mic.rules /lib/modules/3.10.0-693.17.1.el7.x86_64/extra/mic.ko
Since the MIC card is a coprocessor that is made available on a host computer as an embedded Linux system, it needs to be booted as a computer. For this to happen:
To find information about your HPMC computer motherboard:
# dmidecode -t 2
# dmidecode -t memory
Let's have a little exercise with some commands to surface information about the MIC slotted in our HPMC.
14:23 root@HPMC7: ~ # lspci | grep -i Phi
14:23 root@HPMC7: ~ # lspci | grep Phi 03:00.0 Co-processor: Intel Corporation Xeon Phi coprocessor SE10/7120 series (rev 20)
14:25 root@HPMC7: ~ # cat /proc/iomem | grep 'PCI Bus'
14:25 root@HPMC7: ~ # cat /proc/iomem | grep 'PCI Bus' 000a0000-000bffff : PCI Bus 0000:00 000c4000-000cbfff : PCI Bus 0000:00 d0000000-fbffbfff : PCI Bus 0000:00 fa000000-fb0fffff : PCI Bus 0000:02 fb400000-fb8fffff : PCI Bus 0000:01 fb900000-fb9fffff : PCI Bus 0000:05 fba00000-fbafffff : PCI Bus 0000:03 200000000000-3fffffffffff : PCI Bus 0000:00 200000000000-2000000fffff : PCI Bus 0000:05 3ff800000000-3ffbffffffff : PCI Bus 0000:03 3ffc00000000-3ffc11ffffff : PCI Bus 0000:02
Here we got many PCI bus numbers, and we still need to know which one is used for the MIC. Let's look into /proc/iomem for the MIC, the address reported should be the same as the one shown above. This way we know the PCI slot.
14:26 root@HPMC7: ~ # cat /proc/iomem | grep mic
14:26 root@HPMC7: ~ # cat /proc/iomem | grep mic
fba00000-fba1ffff : mic
3ff800000000-3ffbffffffff : mic
■ Adding the MIC to the Host Network Services
Configure your system network layers so that the Xeon Phi MIC devices can be daisy chained together and be part of your system. The MIC card is a high performance computer by itself that can be booted, configured, and made available for offloading math intensive computations. To have the MIC configured on your system, create a bridge to combine the multiple network adapters: your MIC cards and the different adapters can then talk to each others as if directly connected to a normal network switch.
In the directory /etc/sysconfig/network-scripts, create a bridge by editing the file ifcfg-br0
not to poll and interfere with the configuration.
Each MIC has a configuration file, it is located in the /etc/mpss directory. The HPMC will be the host of at least one MIC, which is named mic0, and whose configuration is in /etc/mpss/mic0.cfg.
■ Configuring the MIC for Bootstrapping
To boot the MIC named mic0, the configuration file /etc/mpss/mic0.conf must be edited to define the location of its init boot image.
# vi /etc/mpss/mic0.conf
■ Configuring the MIC KnightsCorner for Bootstrapping
If your HPMC has the MIC KnightsCorner then the following mic0.conf is used.
# vi /etc/mpss/mic0.conf
# MIC OS image OSimage /usr/share/mpss/boot/bzImage-knightscorner /usr/share/mpss/boot/System.map-knightscorner
■ Assigning an IP Address to the MIC
To expose the MIC on HPMC7, the MIC's /etc/mpss/mic0.conf must have the following definition:
01:54 root@HPMC7: /etc/mpss # cat /etc/mpss/mic0.conf | grep StaticBridge
Network class=StaticBridge bridge=br0 micip=192.168.0.37 modhost=yes modcard=yes
The bridge br0 is already defined as we have already seen previously (in the network-scripts). The micip is not sufficient to define the IP interface of the MIC as this is a weak definition, and it will be overridden by the MIC interfaces file defined in /var/mpss/mic0/etc/network/interfaces. The host computer where the MIC is slotted, the directory /var/mpss/mic0/ reflect the root directory of mic0.
23:39 root@HPMC7: ~ # cat /var/mpss/mic0/etc/network/interfaces
The MIC IP address is not shown when you issue ifconfig on the HPMC host, however the bridge br0 is being shown.
■ Booting the MIC
If your HPMC computer has a Xeon Phi CPU 7250 processor then there is no need for MPSS as the cores are available like native CPU cores.
If your HPMC computer has a MIC processor Xeon Phi coprocessor 71xx then MPSS is required and a network drivers must be started from the kernel during kernel startup.
If your HPMC computer has a MIC processor Xeon Phi coprocessor 72xx then MPSS is required and the network card is started as a service after kernel startup.
■ Adding a Swap Space to the MIC
On the HPMC
# mkdir /ramfs
# mount -t ramfs ramfs /ramfs/
# ls /ramfs
# dd bs=512M if=/dev/zero of=/ramfs/ram1 count=48
# ls -l /sys/class/mic/mic0/virtblk_file
# cat /sys/class/mic/mic0/virtblk_file
# echo /ramfs/ram1 > /sys/class/mic/mic0/virtblk_file
# cat /sys/class/mic/mic0/virtblk_file
# df -a | grep ramfs
To add the swap to the MIC configuration, edit the default.conf within the MIC and add the following two lines:
# vim /etc/mpss/default.conf
ExtraCommandLine "vfs_read_optimization=on" ExtraCommandLine "vfs_write_optimization=on"
# service mpss stop
# micctrl --resetconfig
# service mpss start
ssh to the MIC
# ssh mic0
# /sbin/modprobe mic_virtblk
# /sbin/modprobe -l | grep virt
# /sbin/mkswap /dev/vda
# /sbin/swapon /dev/vda
# cat /proc/swaps
# free -m
because cannot hold loop mounts and ramfs has no bmap call
■ Adding Users to the MIC
Each HPMC computer has its own MIC with mic0 as a hostname. When you login to your HPMC, you can ssh to the mic0
# ssh mic0.
mic0 is only accessible as a Linux system from the board itself, this means you need to set up ssh-keygen, then you need to bring the mic0 interface up.
■ MIC hostname
Each HPMC computer has its own MIC with mic0 as a hostname. When you login to your HPMC, you can ssh to the mic0: ssh mic0.
# ssh mic0
# ssh hpmc7mic0
Before you ssh to a MIC you need to make sure the mpss is up on the hostname where the MIC card is inserted.
# systemctl status mpss
make sure mpss service is started
■ Mount NFS to the MIC
For example, the host mm03 is an HPMC computer that has a MIC. The following procedure shows how to mount the directory /mm03fs over NFS to the MIC.
On host mm03 have NFS started at boot:
# systemctl start nfs-server
# systemctl enable nfs-server
(enable to start after each reboot)
■ Enable the MIC mpss Service at Boot
MPSS must be installed on the host computer. The host computer is the system where the MIC card has been installed. Make sure MPSS is installed on the HPMC. On the HPMC the following directories and configuration files are evidence that the MPSS has been installed on the HPMC:
/opt/mpss /etc/mpss/mic0.conf /var/mpss/mic0
To enable MPSS service so that the MPSS is up after each reboot. Assuming you won't make changes to the MIC kernel image:
# systemctl enable mpss