HPX - High Performance ParalleX


How to Install HPX on the Xeon Phi

Installation of the Boost Libraries
Installation of the hwloc Library
Building HPX

After all the prerequistes have been succesfully installed, we can now start building and installing HPX. The build procedure is almost the same as for How to Install HPX on Unix Variants with the sole difference that you have to enable the Xeon Phi in the CMake Build system. This is achieved by invoking CMake in the following way:

cmake                         \
    -DCMAKE_C_COMPILER=icc    \
    -DHPX_NATIVE_MIC=On       \

For more detailed information about using CMake please refer its documentation and to the section Building HPX with CMake. Please pay special attention to the section about HPX_MALLOC as this is crucial for getting decent performance on the Xeon Phi.