Commit 8677e9b1 authored by Dion Haefner's avatar Dion Haefner

add dune-python to build artifacts

parent 7626cd36
......@@ -17,6 +17,8 @@ build_job:
stage: build
artifacts:
untracked: true
paths:
- /opt/dune/dune-python/
test_job:
script:
......
......@@ -44,7 +44,7 @@ plot_vtk()
# CHECK IF DORIE WAS INSTALLED
if [[ ! -e $DORIE_EXECUTABLE ]]; then
echo -e "ERROR: DORiE executable not found at $DORIE_EXECUTABLE.\nMake sure you have built and installed DORiE."
echo -e "Error: DORiE executable not found at $DORIE_EXECUTABLE.\nMake sure you have built and installed DORiE."
exit
fi
......@@ -69,7 +69,7 @@ case $1 in
if [[ $# > 0 ]]; then
INIFILE=$1
else
echo "ERROR: No parameter file specified"
echo "Error: No parameter file specified"
exit
fi
shift
......@@ -81,7 +81,7 @@ case $1 in
if [[ $# > 0 ]]; then
PARALLEL=$1
else
echo "ERROR: Specify the number of threads when using --parallel"
echo "Error: Specify the number of threads when using --parallel"
exit
fi
;;
......@@ -91,7 +91,7 @@ case $1 in
;;
*)
echo "ERROR: Unrecognized option $1"
echo "Error: Unrecognized option $1"
exit
;;
......@@ -103,7 +103,7 @@ case $1 in
PLOT=1
shift
if [[ $# = 0 ]]; then
echo "ERROR: Specify a VTK file to plot"
echo "Error: Specify a VTK file to plot"
exit
fi
......@@ -111,7 +111,7 @@ case $1 in
if [[ -e $1 && -f $1 && -s $1 ]]; then
VTKFILE+="$1 "
else
echo "ERROR: Invalid VTK file $1"
echo "Error: Invalid VTK file $1"
exit
fi
shift
......@@ -134,19 +134,19 @@ case $1 in
help)
echo -e "Usage: dorie COMMAND [COMMAND-OPTIONS]\n"
echo -e "COMMANDS:"
echo -e "\t'run INIFILE [OPTIONS]'\tstarts DORiE with parameter file INIFILE"
echo -e "\tOPTIONS:"
echo -e "\t\t'--parallel NPROC'\tstarts DORiE in parallel with NPROC processes"
echo -e "\t\t'--sequential'\t\tstarts DORiE in sequential mode (default)"
echo -e "\t'create'\t\tcreates dummy parameter files in the current directory"
echo -e "\t'plot VTK [--var VAR]'\tplots the variables VAR (default: all variables) from the VTK file(s) VTK"
echo -e "\t'help'\t\t\tdisplays this message"
echo -e " 'run INIFILE [OPTIONS]' starts DORiE with parameter file INIFILE"
echo -e " OPTIONS:"
echo -e " '--parallel NPROC' starts DORiE in parallel with NPROC processes"
echo -e " '--sequential' starts DORiE in sequential mode (default)"
echo -e " 'create' creates dummy parameter files in the current directory"
echo -e " 'plot VTK [--var VAR]' plots the variables VAR (default: all variables) from the VTK file(s) VTK"
echo -e " 'help' displays this message"
exit
;;
*)
echo -e "ERROR: Command not recognized: $1. For more information run 'dorie help'"
echo -e "Error: Command not recognized: $1. For more information run 'dorie help'"
exit
;;
esac
......@@ -160,7 +160,7 @@ if [[ $RUN = 1 ]]; then
run_dorie_sequential $INIFILE
fi
else
echo "ERROR: Invalid parameter file $INIFILE"
echo "Error: Invalid parameter file $INIFILE"
fi
exit
fi
......
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