forked from ufz/ogs5-benchmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FS.sh
62 lines (42 loc) · 956 Bytes
/
FS.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/sh
# --------------------------------------------------------------
# Benchmark script
# Based on Stand: 07.10.2005
# WW. 04.05.2009
# --------------------------------------------------------------
## Include common functions
. ./CommonFunctions.sh
echo "Preparing benchmark scripts...."
#shell_scripts=`find . -name \*.sh`
#for i in $shell_scripts; do
#dos2unix -q $i
#done
## If no benchmark selected, do all...
#if [ -z $1 ]; then
change_dir GROUNDWATER_FLOW
run_geosys uc_quad
run_geosys uc_pris
run_geosys uc_tri
run_geosys q_quad
run_geosys q_hex
run_geosys riv1_quad
run_geosys riv1_hex
run_geosys riv1_pris
run_geosys riv2_hex
change_dir CO2-FLOW
run_geosys CO2-FLOW
dir_up
dir_up
change_dir H
change_dir sat_1D
run_geosys H_sat_flow_1d
dir_up
change_dir sat_2D
run_geosys H_sat_flow_K_ortho
dir_up
dir_up
# Delete files
## WW
find . \( -name '*.bak' -or -name '*.sv1' -or -name '*.sv2' \) -exec rm {} \;
#else
#fi