-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.sh
91 lines (79 loc) · 1.42 KB
/
test.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
\rm -rf program_name obj test
\rm -rf test*.txt select*.txt cluster*.txt
\rm -rf exec* *.bin *.png
#
# The following tests only cover some of the functionalities provided by FLIT.
#
# array
touch program_name
mod="array"
echo "program_name="$mod > program_name
make clean
make
./exec_$mod
# filter
touch program_name
mod="filter"
echo "program_name="$mod > program_name
make clean
make
mpirun -np 1 ./exec_$mod
mpirun -np 24 ./exec_$mod
# random
touch program_name
mod="random"
echo "program_name="$mod > program_name
make clean
make
./exec_$mod
# taper
touch program_name
mod="taper"
echo "program_name="$mod > program_name
make clean
make
./exec_$mod
# readpar
touch program_name
mod="readpar"
echo "program_name="$mod > program_name
make clean
make
./exec_$mod \
par1=0.12345 par2=0:0,10:2.0 par3=1.2,2.3,3.4 \
cpar1=0.12345+0.1i cpar2=0~3:0.0,10:2.0+3.0i cpar3=1.2,2.3+1.0i,3.4-4.0i
# transform
touch program_name
mod="transform"
echo "program_name="$mod > program_name
make clean
make
./exec_$mod
# interp
touch program_name
mod="interp"
echo "program_name="$mod > program_name
make clean
make
./exec_$mod
# filedir
touch program_name
mod="filedir"
echo "program_name="$mod > program_name
make clean
make
./exec_$mod
# sort
touch program_name
mod="sort"
echo "program_name="$mod > program_name
make clean
make
./exec_$mod
# geometry
touch program_name
mod="geometry"
echo "program_name="$mod > program_name
make clean
make
./exec_$mod