Ignore:
Timestamp:
Jul 18, 2013, 8:33:04 AM (11 years ago)
Author:
emillour
Message:

Mars GCM:

  • Bug fix: when running with photochemistry, ccns did not sediment! Fixed initracer.F. Also added that callsedim/newsedim use updated temperatures.
  • Converted run0 and run_mcd scripts to bash.

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/deftank/run_mcd

    r38 r1005  
    1 #!/bin/csh
     1#!/bin/bash
    22##############################################################################
    33# Script to run successive monthly (a month spans 30 deg. in Ls)
     
    2626
    2727# 12 martian months (=30°deg Ls) of unequal length (excentric orbit)
    28   sed s/9999/61/ run.def.ref >! run.def ; run0 >>& error     #1
    29   sed s/9999/66/ run.def.ref >! run.def ; run0 >>& error     #2
    30   sed s/9999/66/ run.def.ref >! run.def ; run0 >>& error     #3
    31   sed s/9999/65/ run.def.ref >! run.def ; run0 >>& error     #4
    32   sed s/9999/60/ run.def.ref >! run.def ; run0 >>& error     #5
    33   sed s/9999/54/ run.def.ref >! run.def ; run0 >>& error     #6
    34   sed s/9999/50/ run.def.ref >! run.def ; run0 >>& error     #7
    35   sed s/9999/46/ run.def.ref >! run.def ; run0 >>& error     #8
    36   sed s/9999/47/ run.def.ref >! run.def ; run0 >>& error     #9
    37   sed s/9999/47/ run.def.ref >! run.def ; run0 >>& error     #10
    38   sed s/9999/51/ run.def.ref >! run.def ; run0 >>& error     #11
    39   sed s/9999/56/ run.def.ref >! run.def ; run0 >>& error     #12
     28  sed s/9999/61/ run.def.ref > run.def ; run0 >> error     #1
     29  sed s/9999/66/ run.def.ref > run.def ; run0 >> error     #2
     30  sed s/9999/66/ run.def.ref > run.def ; run0 >> error     #3
     31  sed s/9999/65/ run.def.ref > run.def ; run0 >> error     #4
     32  sed s/9999/60/ run.def.ref > run.def ; run0 >> error     #5
     33  sed s/9999/54/ run.def.ref > run.def ; run0 >> error     #6
     34  sed s/9999/50/ run.def.ref > run.def ; run0 >> error     #7
     35  sed s/9999/46/ run.def.ref > run.def ; run0 >> error     #8
     36  sed s/9999/47/ run.def.ref > run.def ; run0 >> error     #9
     37  sed s/9999/47/ run.def.ref > run.def ; run0 >> error     #10
     38  sed s/9999/51/ run.def.ref > run.def ; run0 >> error     #11
     39  sed s/9999/56/ run.def.ref > run.def ; run0 >> error     #12
    4040#
    4141# 12 martian months (=30°deg Ls) of unequal length (excentric orbit)
    42 # sed s/9999/61/ run.def.ref >! run.def ; run0 >>& error     #13
    43 # sed s/9999/66/ run.def.ref >! run.def ; run0 >>& error     #14
    44 # sed s/9999/66/ run.def.ref >! run.def ; run0 >>& error     #15
    45 # sed s/9999/65/ run.def.ref >! run.def ; run0 >>& error     #16
    46 # sed s/9999/60/ run.def.ref >! run.def ; run0 >>& error     #17
    47 # sed s/9999/54/ run.def.ref >! run.def ; run0 >>& error     #18
    48 # sed s/9999/50/ run.def.ref >! run.def ; run0 >>& error     #19
    49 # sed s/9999/46/ run.def.ref >! run.def ; run0 >>& error     #20
    50 # sed s/9999/47/ run.def.ref >! run.def ; run0 >>& error     #21
    51 # sed s/9999/47/ run.def.ref >! run.def ; run0 >>& error     #22
    52 # sed s/9999/51/ run.def.ref >! run.def ; run0 >>& error     #23
    53 # sed s/9999/56/ run.def.ref >! run.def ; run0 >>& error     #24
     42# sed s/9999/61/ run.def.ref > run.def ; run0 >> error     #13
     43# sed s/9999/66/ run.def.ref > run.def ; run0 >> error     #14
     44# sed s/9999/66/ run.def.ref > run.def ; run0 >> error     #15
     45# sed s/9999/65/ run.def.ref > run.def ; run0 >> error     #16
     46# sed s/9999/60/ run.def.ref > run.def ; run0 >> error     #17
     47# sed s/9999/54/ run.def.ref > run.def ; run0 >> error     #18
     48# sed s/9999/50/ run.def.ref > run.def ; run0 >> error     #19
     49# sed s/9999/46/ run.def.ref > run.def ; run0 >> error     #20
     50# sed s/9999/47/ run.def.ref > run.def ; run0 >> error     #21
     51# sed s/9999/47/ run.def.ref > run.def ; run0 >> error     #22
     52# sed s/9999/51/ run.def.ref > run.def ; run0 >> error     #23
     53# sed s/9999/56/ run.def.ref > run.def ; run0 >> error     #24
    5454#
    5555# 12 martian months (=30°deg Ls) of unequal length (excentric orbit)
    56 # sed s/9999/61/ run.def.ref >! run.def ; run0 >>& error     #25
    57 # sed s/9999/66/ run.def.ref >! run.def ; run0 >>& error     #26
    58 # sed s/9999/66/ run.def.ref >! run.def ; run0 >>& error     #27
    59 # sed s/9999/65/ run.def.ref >! run.def ; run0 >>& error     #28
    60 # sed s/9999/60/ run.def.ref >! run.def ; run0 >>& error     #29
    61 # sed s/9999/54/ run.def.ref >! run.def ; run0 >>& error     #30
    62 # sed s/9999/50/ run.def.ref >! run.def ; run0 >>& error     #31
    63 # sed s/9999/46/ run.def.ref >! run.def ; run0 >>& error     #32
    64 # sed s/9999/47/ run.def.ref >! run.def ; run0 >>& error     #33
    65 # sed s/9999/47/ run.def.ref >! run.def ; run0 >>& error     #34
    66 # sed s/9999/51/ run.def.ref >! run.def ; run0 >>& error     #35
    67 # sed s/9999/56/ run.def.ref >! run.def ; run0 >>& error     #36
     56# sed s/9999/61/ run.def.ref > run.def ; run0 >> error     #25
     57# sed s/9999/66/ run.def.ref > run.def ; run0 >> error     #26
     58# sed s/9999/66/ run.def.ref > run.def ; run0 >> error     #27
     59# sed s/9999/65/ run.def.ref > run.def ; run0 >> error     #28
     60# sed s/9999/60/ run.def.ref > run.def ; run0 >> error     #29
     61# sed s/9999/54/ run.def.ref > run.def ; run0 >> error     #30
     62# sed s/9999/50/ run.def.ref > run.def ; run0 >> error     #31
     63# sed s/9999/46/ run.def.ref > run.def ; run0 >> error     #32
     64# sed s/9999/47/ run.def.ref > run.def ; run0 >> error     #33
     65# sed s/9999/47/ run.def.ref > run.def ; run0 >> error     #34
     66# sed s/9999/51/ run.def.ref > run.def ; run0 >> error     #35
     67# sed s/9999/56/ run.def.ref > run.def ; run0 >> error     #36
    6868
    6969# These last lines allow to reconstruct the last num_run after a model crash
    7070# (because after crash, num_run was set to 9999 so that no further simulation
    7171# Could be performed
    72    set number=`cat num_run`
    73    if ( $number == 99999) then
     72   number=`cat num_run`
     73   if (( $number == 99999)) ; then
    7474      set numold=`cat num_run.crash`
    75       echo '-----' >>& error
    76       echo 'Seasonal simulation aborted after starting from start'$numold >>& error
     75      echo '-----' >> error
     76      echo 'Seasonal simulation aborted after starting from start'$numold >> error
    7777      \mv -f num_run.crash num_run 
    78    endif
     78   fi
Note: See TracChangeset for help on using the changeset viewer.