Newer
Older
#!/bin/bash
if [ -z "$1" ]
then
echo "Please provide the targeted machine from:"
ls machines/
echo ""
echo "Example: ./compile.sh occigen-bdw"
exit 1
fi
env_file="machines/$1/env_bench"
if [ ! -f $env_file ]
then
echo "ERROR: $env_file not found!"
exit 1
else
source $env_file
fi
#cp machines/$1/arch-XIOS.fcm xios-2.5/arch/arch-$1.fcm
#cd xios-2.5
#./make_xios --arch $1 -j 8
#cd -
#create a configuration file for the targeted machine ( i.e. irene) arch-irene.fcm