14 lines
277 B
Bash
Executable file
14 lines
277 B
Bash
Executable file
#!/bin/bash
|
|
set -e -u
|
|
|
|
. ../preCICE_tools/log.sh
|
|
exec > >(tee --append "$LOGFILE") 2>&1
|
|
|
|
solver=./ownSolver
|
|
if [ -f "${solver}" ]; then
|
|
${solver}
|
|
else
|
|
echo "Unable to locate the executable ${solver}. Have a look at the README for building instructions."
|
|
fi
|
|
|
|
close_log
|