wiki:Software/CGAL

!!! WORK IN PROGRESS !!'''

Build GMP

for Xeon Phi

#!/bin/sh

module --force purge
module load intel-ics
module load intel-impi
#module load boost/1.61.0
module load cmake

BASE=$(pwd)

CGAL_PACKAGE=CGAL-4.8.2.tar.gz
[ -f ${CGAL_PACKAGE} ] && echo "package found" || wget https://github.com/CGAL/cgal/archive/releases/${CGAL_PACKAGE}
tar -xzf ${CGAL_PACKAGE}

mkdir ${BASE}/install

rm -rf CGAL-4.8.2_knl
mkdir CGAL-4.8.2_knl
cd CGAL-4.8.2_knl

export CC=icc
export CXX=icpc
export   CFLAGS="-O3 -xMIC-AVX512 " 
export CXXFLAGS="-O3 -xMIC-AVX512 " 
cmake -DCMAKE_VERBOSE_MAKEFILE=ON \
      -DBOOST_ROOT=${BASE}/../Boost/install/knl \
      -DMPFR_INCLUDE_DIR=${BASE}/../MPFR/install/knl/include/ -DMPFR_LIBRARIES=${BASE}/../MPFR/install/knl/lib/ \
      -DGMP_INCLUDE_DIR=${BASE}/../GMP/install/knl/include/   -DGMP_LIBRARIES=${BASE}/../GMP/install/knl/lib/  \
      -DCMAKE_INSTALL_PREFIX=${BASE}/install/knl \
      ../cgal-releases-CGAL-4.8.2
make
make install
Last modified 7 years ago Last modified on 02/16/17 10:45:18
Note: See TracWiki for help on using the wiki.