source: LMDZ.3.3/trunk/script/lancer_sim02 @ 57

Last change on this file since 57 was 2, checked in by lmdz, 25 years ago

Initial revision

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1#QSUB -r lmdz32_sim02 -eo -o /workdir/rech/ces/rces111/out.lmdz32_sim02
2#QSUB -lM 290Mb -ls 8Mb -lP 0 -lT 09:00:00 -lt 03:00:00
3exp=sim02
4
5set -xv
6
7cd $TMPDIR
8date
9
10cp $HOME/lmdz32/run.def run.def
11
12mkdir saves
13maiaget lmdz32/${exp}/gcm.e saves/gcm.e; chmod u+x saves/gcm.e
14maiaget lmdz32/divers/limit.dat saves/limit.dat
15maiaget lmdz32/divers/limit.dic saves/limit.dic
16mv run.def saves/run.def
17maiaget lmdz32/divers/start.dat saves/start.dat
18maiaget lmdz32/divers/start.dic saves/start.dic
19maiaget lmdz32/divers/startphy.dat saves/startphy.dat
20maiaget lmdz32/divers/startphy.dic saves/startphy.dic
21
22for m in 1 2 3
23do
24cp saves/gcm.e gcm.e
25cp saves/limit.dat limit7995.dat
26cp saves/limit.dic limit7995.dic
27cp saves/run.def run.def
28mv saves/start.dat .
29mv saves/start.dic .
30mv saves/startphy.dat .
31mv saves/startphy.dic .
32mp1=`expr $m + 1`
33gcm.e || exit 1
34maiaput histphy.dat lmdz32/${exp}/histphy.dat.$m
35maiaput histphy.dic lmdz32/${exp}/histphy.dic.$m
36maiaput relief.gdat lmdz32/${exp}/relief.gdat
37maiaput relief.ctl lmdz32/${exp}/relief.ctl
38maiaput restartphy.dat lmdz32/${exp}/startphy.dat.${mp1}
39maiaput restartphy.dic lmdz32/${exp}/startphy.dic.${mp1}
40maiaput restart.dat lmdz32/${exp}/start.dat.${mp1}
41maiaput restart.dic lmdz32/${exp}/start.dic.${mp1}
42mv restartphy.dat saves/startphy.dat
43mv restartphy.dic saves/startphy.dic
44mv restart.dat saves/start.dat
45mv restart.dic saves/start.dic
46ls -lt
47/bin/rm *
48done
49
Note: See TracBrowser for help on using the repository browser.