source: trunk/MESOSCALE/LMDZ.MARS.new/in_lmdz_mars_newphys/compile @ 679

Last change on this file since 679 was 523, checked in by aslmd, 13 years ago

LMDZ.MARS and MESOSCALE: various minor improvements of workflow. no particularly interesting stuff. the only thing to note is that makegcm is renamed makegcm_pgf to be clearer.

  • Property svn:executable set to *
File size: 1.5 KB
Line 
1#! /bin/bash
2
3## changer eventuellement le callphys.def egalement
4
5##################
6tracers=2
7nx=64
8ny=48
9nz=32
10##################
11tracers=1
12nx=64
13ny=48
14nz=25
15##################
16tracers=1
17nx=64
18ny=48
19nz=18
20##################
21#tracers=1
22#nx=64
23#ny=48
24#nz=32
25##################
26tracers=5
27nx=64
28ny=48
29nz=25
30##################
31tracers=2
32nx=64
33ny=48
34nz=25
35scatterers=1
36##################
37tracers=5
38nx=64
39ny=48
40nz=25
41scatterers=2
42##################
43tracers=7
44nx=64
45ny=48
46nz=25
47scatterers=2
48##################
49
50
51# GCM environment variables
52#--------------------------
53export LMDGCM=$PWD
54export LIBOGCM=$PWD/libo
55
56echo $LMDGCM
57echo $LIBOGCM
58echo $NCDFLIB
59echo $NCDFINC
60
61#rm -rf libo
62mkdir libo
63touch libo/log_compile_newstart
64touch libo/log_compile_gcm
65
66echo bricolo
67\rm libf/grid/dimensions.h 2> /dev/null
68
69echo compile start2archive
70echo check in $PWD/libo/log_compile_start2archive
71makegcm -t ${tracers} -p mars -d ${nx}x${ny}x${nz} -s ${scatterers} start2archive | tee libo/log_compile_start2archive | grep 'warnings' >> libo/log_compile_start2archive
72
73echo compile newstart
74echo check in $PWD/libo/log_compile_newstart
75makegcm -O "-DMESOINI" -t ${tracers} -p mars -d ${nx}x${ny}x${nz} -s ${scatterers} newstart | tee libo/log_compile_newstart | grep 'warnings' >> libo/log_compile_newstart
76
77echo compile gcm
78echo check in $PWD/libo/log_compile_gcm
79makegcm -O "-DMESOINI" -t ${tracers} -p mars -d ${nx}x${ny}x${nz} -s ${scatterers} gcm | tee libo/log_compile_gcm | grep 'warnings' >> libo/log_compile_gcm
80
81echo well, OK.
82
83
Note: See TracBrowser for help on using the repository browser.