Last change
on this file since 316 was
274,
checked in by aslmd, 13 years ago
|
MESOSCALE: bug fixes in runmeso (thx AC). added bench info for LES on GNOME.
|
-
Property svn:executable set to
*
|
File size:
1.2 KB
|
Line | |
---|
1 | #! /bin/bash |
---|
2 | |
---|
3 | \rm simtime 2> /dev/null |
---|
4 | |
---|
5 | mkdir results |
---|
6 | |
---|
7 | if [[ -f rsl.error.0000 ]] |
---|
8 | then |
---|
9 | |
---|
10 | timesec=$(more rsl.error.0000 | grep elapsed | grep 'Timing for main' | awk '{s+=$9} END{print s}') |
---|
11 | touch simtime |
---|
12 | echo ${timesec} seconds |
---|
13 | echo ${timesec} seconds >> simtime |
---|
14 | |
---|
15 | head -10000 rsl.out.0000 > red_rsl.out.0000 |
---|
16 | head -4000 rsl.error.0000 > red_rsl.error.0000 |
---|
17 | cp met_em/rsl.out.0000 real_rsl.out.0000 |
---|
18 | mv red_rsl.* results/ |
---|
19 | mv real_rsl.out.0000 results/ |
---|
20 | mv simtime results/ |
---|
21 | |
---|
22 | else |
---|
23 | |
---|
24 | timesec=$(more log_wrf | grep elapsed | grep 'Timing for main' | awk '{s+=$9} END{print s}') |
---|
25 | touch simtime |
---|
26 | echo ${timesec} seconds |
---|
27 | echo ${timesec} seconds >> simtime |
---|
28 | |
---|
29 | head -10000 log_wrf > red_log_wrf |
---|
30 | mv red_log_wrf results/ |
---|
31 | mv simtime results/ |
---|
32 | mv met_em/log_real results/ |
---|
33 | |
---|
34 | fi |
---|
35 | |
---|
36 | tar czvf def.tar.gz namelist.input namelist.wps callphys*.def makemeso* launch* |
---|
37 | cp def.tar.gz results/ |
---|
38 | |
---|
39 | #mv *.def results/ |
---|
40 | #mv results/callphys*def ./ |
---|
41 | |
---|
42 | mv wrfout* results/ |
---|
43 | ls -lh results |
---|
44 | du -bh results |
---|
45 | echo '*****************************************************' |
---|
46 | echo '*** BEWARE ! *** output files were moved in the folder named results !!!' |
---|
47 | echo 'what you may keep: results folder and def.tar.gz file' |
---|
48 | echo '*****************************************************' |
---|
Note: See
TracBrowser
for help on using the repository browser.