Changes between Initial Version and Version 1 of Software/Boost


Ignore:
Timestamp:
02/16/17 10:41:29 (7 years ago)
Author:
Jens Henrik Goebbert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Software/Boost

    v1 v1  
     1{{{ #!sh
     2#!/bin/sh
     3
     4module --force purge
     5module load intel-ics
     6module load intel-impi
     7
     8BASE=$(pwd)
     9
     10BOOST_PACKAGE=boost_1_61_0.tar.gz
     11[ -f ${BOOST_PACKAGE} ] && echo "package found" || wget http://downloads.sourceforge.net/project/boost/boost/1.61.0/${BOOST_PACKAGE}
     12
     13rm -rf boost_1_61_0_knl
     14tar -xzf ${BOOST_PACKAGE}
     15mv boost_1_61_0 boost_1_61_0_knl
     16
     17mkdir ${BASE}/install
     18cd boost_1_61_0_knl
     19
     20CC=icc
     21CXX=icpc
     22CFLAGS="-xMIC-AVX512"
     23CXXFLAGS="-xMIC-AVX512"
     24LDFLAGS="-xMIC-AVX512"
     25
     26./bootstrap.sh --with-toolset=intel-linux --prefix=${BASE}/install/knl
     27./bjam toolset=intel --disable-icu cflags="$CFLAGS" cxxflags="$CXXFLAGS" linkflags="$LDFLAGS" --without-iostreams --without-python
     28##./b2 toolset=intel-linux
     29./b2 install --prefix=${BASE}/install/knl
     30}}}