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

Last change on this file since 386 was 386, checked in by aslmd, 14 years ago

MESOSCALE: minor changes on script.

  • Property svn:executable set to *
File size: 1.4 KB
RevLine 
[31]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##################
[54]26tracers=5
27nx=64
28ny=48
29nz=25
30##################
[226]31tracers=2
32nx=64
33ny=48
34nz=25
[255]35scatterers=1
[117]36##################
[255]37tracers=5
38nx=64
39ny=48
40nz=25
[234]41scatterers=2
[255]42##################
[31]43
44
45# GCM environment variables
46#--------------------------
47export LMDGCM=$PWD
48export LIBOGCM=$PWD/libo
49
50echo $LMDGCM
51echo $LIBOGCM
52echo $NCDFLIB
53echo $NCDFINC
54
55#rm -rf libo
56mkdir libo
57touch libo/log_compile_newstart
58touch libo/log_compile_gcm
59
60echo bricolo
61\rm libf/grid/dimensions.h 2> /dev/null
62
[386]63echo compile start2archive
64echo check in $PWD/libo/log_compile_start2archive
65makegcm -t ${tracers} -p mars -d ${nx}x${ny}x${nz} -s ${scatterers} start2archive | tee libo/log_compile_start2archive | grep 'warnings' >> libo/log_compile_start2archive
66
[31]67echo compile newstart
68echo check in $PWD/libo/log_compile_newstart
[298]69makegcm -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
[31]70
71echo compile gcm
72echo check in $PWD/libo/log_compile_gcm
[298]73makegcm -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
[31]74
75echo well, OK.
76
77
Note: See TracBrowser for help on using the repository browser.