#! /bin/bash

set -e
set -x

cd "$(mktemp -dt plumed.XXXXXX)"

wget http://arrayfire.s3.amazonaws.com/3.6.1/ArrayFire-v3.6.1_Linux_x86_64.sh
chmod +x ArrayFire-v3.6.1_Linux_x86_64.sh
./ArrayFire-v3.6.1_Linux_x86_64.sh --include-subdir --prefix=$HOME/opt
