'''!!! WORK IN PROGRESS !!!''' == Build GMP === for Xeon Phi {{{ #!sh #!/bin/sh module --force purge module load intel-ics module load intel-impi BASE=$(pwd) BOOST_PACKAGE=boost_1_61_0.tar.gz [ -f ${BOOST_PACKAGE} ] && echo "package found" || wget http://downloads.sourceforge.net/project/boost/boost/1.61.0/${BOOST_PACKAGE} rm -rf boost_1_61_0_knl tar -xzf ${BOOST_PACKAGE} mv boost_1_61_0 boost_1_61_0_knl mkdir ${BASE}/install cd boost_1_61_0_knl CC=icc CXX=icpc CFLAGS="-xMIC-AVX512" CXXFLAGS="-xMIC-AVX512" LDFLAGS="-xMIC-AVX512" ./bootstrap.sh --with-toolset=intel-linux --prefix=${BASE}/install/knl ./bjam toolset=intel --disable-icu cflags="$CFLAGS" cxxflags="$CXXFLAGS" linkflags="$LDFLAGS" --without-iostreams --without-python ##./b2 toolset=intel-linux ./b2 install --prefix=${BASE}/install/knl }}}