source: LMDZ.3.3/branches/LF/script/lancer_sim04 @ 3

Last change on this file since 3 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: 990 bytes
Line 
1#QSUB -r lmdz32_sim04 -eo -o /workdir/rech/ces/rces111/out.lmdz32_sim04
2#QSUB -lM 290Mb -ls 8Mb -lP 0 -lT 09:00:00 -lt 03:00:00
3exp=sim04
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.nc saves/limit.nc
15mv run.def saves/run.def
16maiaget lmdz32/divers/start.nc saves/start.nc
17maiaget lmdz32/divers/startphy.nc saves/startphy.nc
18
19for m in 1 2 3
20do
21cp saves/gcm.e gcm.e
22cp saves/limit.nc limit7995.nc
23cp saves/run.def run.def
24mv saves/start.nc .
25mv saves/startphy.nc .
26mp1=`expr $m + 1`
27gcm.e || exit 1
28maiaput histphy.nc lmdz32/${exp}/histphy.nc.$m
29maiaput histday.nc lmdz32/${exp}/histday.nc.$m
30maiaput relief.gdat lmdz32/${exp}/relief.gdat
31maiaput relief.ctl lmdz32/${exp}/relief.ctl
32maiaput restartphy.nc lmdz32/${exp}/startphy.nc.${mp1}
33maiaput restart.nc lmdz32/${exp}/start.nc.${mp1}
34mv restartphy.nc saves/startphy.nc
35mv restart.nc saves/start.nc
36ls -lt
37/bin/rm *
38done
39
Note: See TracBrowser for help on using the repository browser.