|
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
|
| Line | |
|---|
| 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 | ################## |
|---|
| 26 | tracers=5 |
|---|
| 27 | nx=64 |
|---|
| 28 | ny=48 |
|---|
| 29 | nz=25 |
|---|
| 30 | ################## |
|---|
| 31 | tracers=2 |
|---|
| 32 | nx=64 |
|---|
| 33 | ny=48 |
|---|
| 34 | nz=25 |
|---|
| 35 | scatterers=1 |
|---|
| 36 | ################## |
|---|
| 37 | tracers=5 |
|---|
| 38 | nx=64 |
|---|
| 39 | ny=48 |
|---|
| 40 | nz=25 |
|---|
| 41 | scatterers=2 |
|---|
| 42 | ################## |
|---|
| 43 | |
|---|
| 44 | |
|---|
| 45 | # GCM environment variables |
|---|
| 46 | #-------------------------- |
|---|
| 47 | export LMDGCM=$PWD |
|---|
| 48 | export LIBOGCM=$PWD/libo |
|---|
| 49 | |
|---|
| 50 | echo $LMDGCM |
|---|
| 51 | echo $LIBOGCM |
|---|
| 52 | echo $NCDFLIB |
|---|
| 53 | echo $NCDFINC |
|---|
| 54 | |
|---|
| 55 | #rm -rf libo |
|---|
| 56 | mkdir libo |
|---|
| 57 | touch libo/log_compile_newstart |
|---|
| 58 | touch libo/log_compile_gcm |
|---|
| 59 | |
|---|
| 60 | echo bricolo |
|---|
| 61 | \rm libf/grid/dimensions.h 2> /dev/null |
|---|
| 62 | |
|---|
| 63 | echo compile start2archive |
|---|
| 64 | echo check in $PWD/libo/log_compile_start2archive |
|---|
| 65 | 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 |
|---|
| 66 | |
|---|
| 67 | echo compile newstart |
|---|
| 68 | echo check in $PWD/libo/log_compile_newstart |
|---|
| 69 | 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 |
|---|
| 70 | |
|---|
| 71 | echo compile gcm |
|---|
| 72 | echo check in $PWD/libo/log_compile_gcm |
|---|
| 73 | 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 |
|---|
| 74 | |
|---|
| 75 | echo well, OK. |
|---|
| 76 | |
|---|
| 77 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.