#!/bin/bash # instructions to run the benchmark for Christopher Wolfe's implementation of # the single reduction cg2d #rootdir=/mlosch/head #optfile='-of ${roodir}/tools/build_options/darwin_ia32_gfortran' cd build ${rootdir}/tools/genmake2 -rootdir ${rootdir} ${optfile} -mods ../code make CLEAN make depend make cd ../run ln -s ../input/* . ../build/mitgcmuv > output.txt 2>&1 # or MPI command (mpirun/mpiexec $options ../build/mitgcmuv)