Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleworkhorse/templates/build_and_run_driver.sh.j2
linenumberstrue
#!/bin/bash
set -eux
DPMDIR=/opt/MercuryDPM
SIMDIR=/mnt/s3gf/{{series}}/{{simulation}}
DRIVER_DIR=$DPMDIR/MercuryBuild/Drivers/{{driver_dir}}
DRIVER_PATH=$DRIVER_DIR/{{driver}}
SIMDIR={{storagedir}}/{{series}}/{{simulation}}

cd $DRIVER_DIR 
make {{driver}}

mkdir -p $SIMDIR
cd $SIMDIR
$DRIVER_PATH {{flags}}