#!/bin/bash

INST=$HOME/ExM/inst
LB=$INST/lb
CUTILS=$INST/c-utils

mpicc -std=c99 -O2 -L $LB/lib -L $CUTILS/lib -I $LB/include -I $CUTILS/include -o embarrassing embarrassing.c -ladlb -lexmcutils -Wl,-rpath,$LB/lib,-rpath,$CUTILS/lib

#!/bin/bash

set -e

INST=$HOME/ExM/inst
TURBINE=$INST/turbine
LB=$INST/lb
CUTILS=$INST/c-utils

source $TURBINE/scripts/turbine-build-config.sh

CC=mpicc
CFLAGS="-std=c99 -O2 ${TURBINE_INCLUDES}"
LDFLAGS="${TURBINE_LIBS} ${TURBINE_RPATH}"

MKSTATIC=$TURBINE/scripts/mkstatic/mkstatic.tcl

${CC} ${CFLAGS} embarrassing.c  ${LDFLAGS} -o embarrassing 

${MKSTATIC} embarrassing_lognorm.manifest -c embarrassing_lognorm_tcl.c
${CC} ${CFLAGS} embarrassing_lognorm_tcl.c  ${LDFLAGS} -o embarrassing_lognorm_tcl

echo "OK."

Build script for embarrassing benchmark
Build script for embarrassing benchmark

git-svn-id: 0c5512015aa96f7d3f5c3ad598bd98edc52008b1@11944 dc4e9af1-7f46-4ead-bba6-71afc04862de
