HPX - High Performance ParalleX

PrevUpHomeNext

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_CXX_COMPILER=icpc \
    -DCMAKE_C_COMPILER=icc    \
    -DHPX_NATIVE_MIC=On       \
    -DBOOST_ROOT=$BOOST_ROOT  \
    -DHWLOC_ROOT=$HWLOC_ROOT  \
    /path/to/hpx

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.


PrevUpHomeNext