HPMC User Guide v 1.00
© 2026 Bassem W. Jamaleddine


1-1

   HPMC Calculator


In this book, we will be configuring and programming an HPMC, High Performance Manycore Computer, that includes the following:
  • Xeon Phi Co-Processor called a MIC coprocessor. MIC stands for Many Integrated Cores.
  • GPU that is configured for CUDA programming. The GPU selected is an Nvidia GTX TITAN X.
  • A Host Channel Adapater (HCA) for InfiniBand fabric connectivity to a switch, for RDMA programming. RDMA stands for Remote Direct Memory Access.


  • Figure 1.1.1 shows the HPMC-KLIB that includes all the three devices mentioned above. It is one of the smallest most powerful desktop x86 computer running Linux Centos; its dimensions 14 x 14 x 8 inches. The label KLIB stands for Knights Landing with Infiniband. This HPMC has a mainboard SuperMicro K1SPE with liquid cooling for the CPU, GPU, and high static pressure fan for the Xeon Phi MIC, and the Infiniband interface card. The K1SPE can be configured with a max memory of 192GB, in six slots each taking a Samsung PC-17000 2133Mhz 32GB Registered ECC Rank 2.
    full view

    Image File

     Fig. 1.1.1   [HPMC-KLIB the smallest desktop most powerful High Performace Manycore Computer]
    HPMC 2026 by Bassem Jamaleddine
    The HPMC-KLIB uses the HYDRA case shown in Figure 1.1.2. It uses the board K1SPE and the Xeon Phi Knights Landing 7250 processor shown in Figure 1.1.3.
    full view

    Image File

     Fig. 1.1.2   [HYDRA Case with inside layout to accomodate water cooling]
    HPMC 2026 by Bassem Jamaleddine
    full view

    Image File

     Fig. 1.1.3   [K1SP Board and Xeon Phi Knights Landing Processor]
    HPMC 2026 by Bassem Jamaleddine
    Since the Knights Landing 7250 has 68 cores, 272 threads, running at 1.4 GHz, with a TDP 215W, we will be cooling it with CoolIt liquid cooler as shown in Figure 1.1.4. In this book the HPMC host named hpmc7 is such a computer.
    full view

    Image File

     Fig. 1.1.4   [Xeon Phi 7250 on the Main Board]
    HPMC 2026 by Bassem Jamaleddine






    Since booting the HPMC takes few minutes, and building its kernel OS requires multiple passes and reboots, it is more reasonable to build the Linux Centos OS on a smaller HPMC (that is faster to boot). Figure 1.1.5 shows a HPMC with the board ASUS ROG MAXIMUS VIII GENE that takes less than a minute to boot. This HPMC has a hot swappable SATA drive bay. This makes it easy to build the kernel incrementally: after major changes in the kernel configuration, remove the drive from the bay, clone it and put the clone on the side. This allows you to revert quickly to the previous build when a configuration change is deemed unacceptable to boot the HPMC.
    full view

    Image File

     Fig. 1.1.5   [HPMC with simple board MAXIMUS VIII GENE]
    HPMC 2026 by Bassem Jamaleddine




    Once the OS image is built on the hard drive, we clone it and move it to a more capable HPMC. Often you do not need to recompile the OS when moving the hard drive to a new board, yet recompiling the drivers must be done on the board serving the devices, since these are compiled as loadable modules, and can be selected in the config file prior to calling the make file.

    In general, an incremental build of the kernel follows this cycle:
  • configure the kernel
  • make the kernel
  • reboot and test
  • if test passes, then clone the drive, repeat this cycle if more configuration is needed.
  • if test fails, then image the drive from the last clone and repeat this cycle.


  • Do not use virtual machines to build the kernel. Do not use copy-on-write (CoW) clone strategy to avoid cloning the physical drive. A classical build of the kernel is required for the HPMC, in particular when it comes to compiling the InfiniBand modules and their verb bindings. In addition, some of the MPSS stack needs to be recompiled. Figure 1.1.6 shows the stack of the SATA drives resulting from compiling the kernel for the final HPMC used in this book.
    full view

    Image File

     Fig. 1.1.6   [Stack of hard drives building the OS kernel incrementally]
    HPMC 2026 by Bassem Jamaleddine




    Not any board with PCIe can be used for the MIC. For the MIC to be bootable on your mainboard, the least requirement is to have a mainbaord where the BIOS allows you to protect the memory mapped MMIO above 4GB. When selecting a board for your HPMC, make sure that the BIOS has an entry to reserve the memory mapped MMIO above 4GB. The least capable board that fall in this category is the ASUS ROG MAXIMUS VIII GENE shown in Figure 1.1.5. This compact board is capable to house an Intel MIC and an Nvidia GPU.



    Other boards can be used for your HPMC, for example Figure 1.1.7 shows the board ASRock X299M EXTREME 4, with max 18 cores using Intel Core i9-7980XE, that can be used for your HPMC. This board can fit in the CUBE chassis. Figure 1.1.7 shows three stacked HPMC Cubes.
    full view

    Image File

     Fig. 1.1.7   [HPMC Cubes using board ASRock X299M EXTREME 4]
    HPMC 2026 by Bassem Jamaleddine


    If the frequency of the cores matter, then you can use the Intel Xeon Platinum 8176 processor. This processor has 28 cores, 56 threads, can hit a turbo frequency 3.80GHz with an L3 38.5 MB and TDP power 165W. Figure 1.1.8 shows a Xeon Platinum 8176 processor.
    full view

    Image File

     Fig. 1.1.8   [Xeon Phi Platinum 8176 28 Cores 56 Threads]
    HPMC 2026 by Bassem Jamaleddine
    The board SUPERMICRO X11SPH-NCTF Socket P LGA-3647 can be used for the Xeon Platinum 8176 processor. The HYDRA case can accomodate this board along the air cooler Noctua NH-D9 DX-3647 4U. Such an HPMC is shown in Figure 1.1.9.

    full view

    Image File

     Fig. 1.1.9   [HPMC Hydra with X11SPH-NCTF]
    HPMC 2026 by Bassem Jamaleddine




    The board SUPERMICRO MBD-X11DPH-T-O X11 C624 DP LGA3647 XEON has dual sockets for two Xeon Platinum 8176 processors, for a total of 56 cores, and 112 threads. However, you need a tower to fit this larger board. Figure 1.1.10 shows such HPMC. This large board requires several minutes to boot. In this book, we will run InfiniBand commands and MPI programs on the host name hpmc9 that uses the aforementioned board.
    full view

    Image File

     Fig. 1.1.10   [HPMC Tower Dual LGA3647 SUPERMICRO MBD-X11DPH-T-O]
    HPMC 2026 by Bassem Jamaleddine

    ■ The MIC


    The MIC, shown in Figure 1.1.11, has 61 cores (244 threads) running at a frequency 1.1GHz requires adequate cooling. You can use high static pressure fan 40mm to push through the MIC dense tight heatsink. Figure 1.1.12 shows the MIC cooled with a 40mmx40mm fan. You can use a heavy duty heat resistant double sided tape to attach the fan to the MIC.
    full view

    Image File

     Fig. 1.1.11   [Intel Xeon Phi Coprocessors]
    HPMC 2026 by Bassem Jamaleddine
    Blower fan mounts perpendicular to the card's rear inlet, compressing the air and forcing it down the MIC heatsink. A standard shroud acts as a duct, preventing air from leaking out the sides and forcing 100% of the fan's output directly through the internal heatsink fins.
    full view

    Image File

     Fig. 1.1.12   [Compressed Air Cooling for the Xeon Phi Coprocessors]
    HPMC 2026 by Bassem Jamaleddine
    If the sound of the fan is annoying, then you can use liquid cooling for your MIC. However, this requires moving the MIC internal board to the Alpha cooling chassis. Figure 1.1.13 shows the Alpha Cool for the Xeon Phi
    full view

    Image File

     Fig. 1.1.13   [Liquid Cooling for the Xeon Phi Coprocessors]
    HPMC 2026 by Bassem Jamaleddine

     

    ■ Cooling the GPU


    The HPMC has a GTX TITAN X with 12GB that is liquid cooled as shown in Figure 1.1.14.
    full view

    Image File

     Fig. 1.1.14   [HPMC-KLIB Max's Inside View]
    HPMC 2026 by Max Jamaleddine


     

    ■ The SWITCH


    The HPMC is equipped with a Host Channel Adapter (HCA) so that it can be connected to the switch. By connecting HPMC calculators to the switch, you can have them participate in running programs over RDMA (Remote Direct Memory Architecture) using MPI (Message Passing Interface). Figure 1.1.16 shows the HCA. Figure 1.1.17 shows the swicth. Figure 1.1.18 shows connecting the HPMC to the switch.
    full view

    Image File

     Fig. 1.1.15   [HCA]
    HPMC 2026 by Bassem Jamaleddine
    full view

    Image File

     Fig. 1.1.16   [Swicth]
    HPMC 2026 by Bassem Jamaleddine
    full view

    Image File

     Fig. 1.1.17   [Connecting the HPMC to the switch]
    HPMC 2026 by Bassem Jamaleddine
    Fiber connectors connecting hpmc9 to the switch are shown in Figure 1.1.18. Notice that we have dual connectors for high availability. Having two connectors will not increase the performance.
    HPMC with PCIe x8 slot can use the HCA QLE7140 to connect to the switch using a copper cable QSFP to CX4. The cable has an attenuation that vary with the length, the shoter the better. With thin 30 AWG copper for 1 meter, 28 AWG for 3 meters, and thick 26 AWG for 6 meters. Figure 1.1.19 shows the HCA and its copper cable.
    full view

    Image File

     Fig. 1.1.18   [Fiber Connectors in Switch]
    HPMC 2026 by Bassem Jamaleddine
    full view

    Image File

     Fig. 1.1.19   [QLOGIC QLE7140 Infiniband and Copper Cable QSFP to CX4]
    HPMC 2026 by Bassem Jamaleddine




    When selecting a board, make sure that there is enough room between the PCIe's. The MIC and the GPU are wide cards and each occupies the space of two slots on the board. Figure 1.1.20 shows the adequate space between the PCIe slots.
    full view

    Image File

     Fig. 1.1.20   [Space between the PCIe's]
    HPMC 2026 by Bassem Jamaleddine


    To cool the HCA, you can use static air, pushing the air from the inside to the outside as shown in the following figure. Figure 1.1.21 shows two HCAs adapters and the static air cooling inside the hpmc9.
    full view

    Image File

     Fig. 1.1.21   [Cooling the HCA adapters]
    HPMC 2026 by Bassem Jamaleddine