Commit 1c8e9565 authored by Ron Rahaman's avatar Ron Rahaman

Merge branch 'develop' into 'develop'

Added run script for MOON problems



See merge request !9
parents 1a3f6583 6e082d87
#!/usr/bin/env bash
# Runs MOON driver for this example directory. Requires the -i <input.i> flag
# for the MOOSE config file
INPUT_FILE=""
while getopts "i:" opt; do
case $opt in
i ) INPUT_FILE=$OPTARG ;;
esac
done
if [ -z "$INPUT_FILE" ]; then
echo "Error: Must provide -i <input_file.i> option"
exit 1;
fi
rm -f *.sch
CMD="./$(basename $(pwd))-opt -i $INPUT_FILE"
echo "Running \"$CMD\"..."
eval "$CMD"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment