Last change
on this file since 881 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
|
Rev | Line | |
---|
[31] | 1 | #! /bin/bash |
---|
| 2 | |
---|
| 3 | ## changer eventuellement le callphys.def egalement |
---|
| 4 | |
---|
| 5 | ################## |
---|
| 6 | tracers=2 |
---|
| 7 | nx=64 |
---|
| 8 | ny=48 |
---|
| 9 | nz=32 |
---|
| 10 | ################## |
---|
| 11 | tracers=1 |
---|
| 12 | nx=64 |
---|
| 13 | ny=48 |
---|
| 14 | nz=25 |
---|
| 15 | ################## |
---|
| 16 | tracers=1 |
---|
| 17 | nx=64 |
---|
| 18 | ny=48 |
---|
| 19 | nz=18 |
---|
| 20 | ################## |
---|
| 21 | #tracers=1 |
---|
| 22 | #nx=64 |
---|
| 23 | #ny=48 |
---|
| 24 | #nz=32 |
---|
| 25 | ################## |
---|
[54] | 26 | tracers=5 |
---|
| 27 | nx=64 |
---|
| 28 | ny=48 |
---|
| 29 | nz=25 |
---|
| 30 | ################## |
---|
[226] | 31 | tracers=2 |
---|
| 32 | nx=64 |
---|
| 33 | ny=48 |
---|
| 34 | nz=25 |
---|
[255] | 35 | scatterers=1 |
---|
[117] | 36 | ################## |
---|
[255] | 37 | tracers=5 |
---|
| 38 | nx=64 |
---|
| 39 | ny=48 |
---|
| 40 | nz=25 |
---|
[234] | 41 | scatterers=2 |
---|
[255] | 42 | ################## |
---|
[523] | 43 | tracers=7 |
---|
| 44 | nx=64 |
---|
| 45 | ny=48 |
---|
| 46 | nz=25 |
---|
| 47 | scatterers=2 |
---|
| 48 | ################## |
---|
[31] | 49 | |
---|
| 50 | |
---|
| 51 | # GCM environment variables |
---|
| 52 | #-------------------------- |
---|
| 53 | export LMDGCM=$PWD |
---|
| 54 | export LIBOGCM=$PWD/libo |
---|
| 55 | |
---|
| 56 | echo $LMDGCM |
---|
| 57 | echo $LIBOGCM |
---|
| 58 | echo $NCDFLIB |
---|
| 59 | echo $NCDFINC |
---|
| 60 | |
---|
| 61 | #rm -rf libo |
---|
| 62 | mkdir libo |
---|
| 63 | touch libo/log_compile_newstart |
---|
| 64 | touch libo/log_compile_gcm |
---|
| 65 | |
---|
| 66 | echo bricolo |
---|
| 67 | \rm libf/grid/dimensions.h 2> /dev/null |
---|
| 68 | |
---|
[386] | 69 | echo compile start2archive |
---|
| 70 | echo check in $PWD/libo/log_compile_start2archive |
---|
| 71 | makegcm -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 | |
---|
[31] | 73 | echo compile newstart |
---|
| 74 | echo check in $PWD/libo/log_compile_newstart |
---|
[298] | 75 | makegcm -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] | 76 | |
---|
| 77 | echo compile gcm |
---|
| 78 | echo check in $PWD/libo/log_compile_gcm |
---|
[298] | 79 | makegcm -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] | 80 | |
---|
| 81 | echo well, OK. |
---|
| 82 | |
---|
| 83 | |
---|
Note: See
TracBrowser
for help on using the repository browser.