Changes between Initial Version and Version 1 of Software/GMP


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Software/GMP

    v1 v1  
     1{{{ #!sh
     2#!/bin/sh
     3
     4module --force purge
     5module load intel-ics
     6module load intel-impi
     7
     8BASE=$(pwd)
     9
     10GMP_PACKAGE=gmp-6.1.2.tar.bz2
     11[ -f ${GMP_PACKAGE} ] && echo "package found" || wget http://ftp.gnu.org/gnu/gmp/${GMP_PACKAGE}
     12tar -xjf ${GMP_PACKAGE}
     13mv gmp-6.1.2 gmp-6.1.2_knl
     14
     15mkdir ${BASE}/install
     16cd gmp-6.1.2_knl
     17./configure CC=icc CXX=icpc \
     18       CFLAGS="-fPIC -fp-model precise -O3 -xMIC-AVX512" \
     19     CXXFLAGS="-fPIC -fp-model precise -O3 -xMIC-AVX512" \
     20     --host=x86_64-k1om-linux \
     21     --enable-cxx \
     22     --prefix=${BASE}/install/knl
     23make
     24make check
     25make install
     26}}}