| 19 | == Running DYNAMICO with Saturn (LMDZ-GENERIC) physics == |
| 20 | This is for those playing with the SATURN_DYNAMICO branch. |
| 21 | A quick tutorial on setting up the Saturn test case on Ada: |
| 22 | * Download the SATURN_DYNAMICO branch: |
| 23 | {{{ |
| 24 | svn co svn+ssh://yourlogin@forge.ipsl.jussieu.fr/ipsl/forge/projets/dynamico/svn/codes/icosagcm/branches/SATURN_DYNAMICO |
| 25 | }}} |
| 26 | * compile XIOS using script in directory XIOS: |
| 27 | {{{ |
| 28 | ./compile_ada |
| 29 | }}} |
| 30 | * Compile the model using script (current settings are for MPI compilation) in directory ICOSAGCM: |
| 31 | {{{ |
| 32 | ./compile_dynlmdz_ada |
| 33 | }}} |
| 34 | * Set up the test case in some directory: |
| 35 | 1. Copy over icosa_gcm.exe from ICOSAGCM/bin |
| 36 | 2. Copy over apbp.txt (vertical coordinates specifications) and temp_profile.txt (input initial temperature profile) from TEST directory |
| 37 | 3. Copy over all the *.def files from TEST directory |
| 38 | 4. Copy over all the *.xml files from TEST directory (these control the XIOS ouputs) |
| 39 | 5. Modify the path "datadir" in callphys.def: |
| 40 | {{{ |
| 41 | datadir = /ccc/scratch/cont003/dsm/p86yann/SATURNE_128x96x64/DATAGENERIC/ |
| 42 | }}} |
| 43 | to point to the TEST/DATAGENERIC directory |
| 44 | 6. Set run parameters in run_icosa.def (e.g. nqtot=0 since there are no tracers, run_length=..., etc.) |
| 45 | 7. Run the model using a job (see sample script launch.ada in TEST |
| 46 | 8. With XIOS outputs, the output file xios_diagfi.nc is on native icosahedral grid, so it is usually better to reinterpolate onto a lon-lat grid, e.g.: |
| 47 | {{{ |
| 48 | % cat mygrid |
| 49 | gridtype = lonlat |
| 50 | xsize = 90 |
| 51 | ysize = 45 |
| 52 | xfirst = -180 |
| 53 | xinc = 4 |
| 54 | yfirst = -90 |
| 55 | yinc = 4 |
| 56 | % cdo remapdis,mygrid xios_diagfi.nc xios_latlon.nc |
| 57 | }}} |
| 58 | |