Changeset 1107


Ignore:
Timestamp:
2008-06-12T09:27:49+02:00 (12 years ago)
Author:
ctlod
Message:

trunk: change name of TOP namelists, see ticket: #196

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VALID/2INSTALL/JOBS/job_GYRE_LOBSTER.ksh

    r1054 r1107  
    8282 
    8383# Biogeochemistry namelists 
    84 cp ${MAINDIR}/modipsl/config/${CONF}/EXP00/namelist.passivetrc namelist.passivetrc_f90 
    85 cp ${MAINDIR}/modipsl/config/${CONF}/EXP00/namelist.sms.lobster namelist.sms.lobster 
     84cp ${MAINDIR}/modipsl/config/${CONF}/EXP00/namelist_top namelist_top_f90 
     85cp ${MAINDIR}/modipsl/config/${CONF}/EXP00/namelist_lobster namelist_lobster 
    8686 
    8787# namelist modifications 
    88 PAT_TRC=$( grep 'nwritetrc   =' namelist.passivetrc_f90 ) 
    89 PAT_TRD=$( grep 'nwritetrd  =' namelist.passivetrc_f90 ) 
    90 PAT_ADD=$( grep 'nwritedia   =' namelist.passivetrc_f90 ) 
     88PAT_TRC=$( grep 'nwritetrc   =' namelist_top_f90 ) 
     89PAT_TRD=$( grep 'nwritetrd  ='  namelist_top_f90 ) 
     90PAT_ADD=$( grep 'nwritedia   =' namelist_top_f90 ) 
    9191 
    9292sed    -e "s/$PAT_TRC/   nwritetrc   = ${ITERATIONS},/" \ 
    9393-e "s/$PAT_TRD/   nwritetrd  = ${ITERATIONS},/" \ 
    9494-e "s/$PAT_ADD/   nwritedia   = ${ITERATIONS},/" \ 
    95 namelist.passivetrc_f90 > nam.tmp 
    96  
    97 mv nam.tmp namelist.passivetrc 
     95namelist_top_f90 > nam.tmp 
     96 
     97mv nam.tmp namelist_top 
    9898 
    9999 
     
    139139 
    140140    # Biogeochemistry namelist modifications 
    141     PAT_RESTAR=$( grep '   lrsttr      = ' namelist.passivetrc ) 
    142      
    143     sed    -e "s/$PAT_RESTAR/   lrsttr      = .true.,/" namelist.passivetrc > nam.tmp 
    144      
    145     mv nam.tmp namelist.passivetrc 
     141    PAT_RESTAR=$( grep '   lrsttr      = ' namelist_top ) 
     142     
     143    sed    -e "s/$PAT_RESTAR/   lrsttr      = .true.,/" namelist_top > nam.tmp 
     144     
     145    mv nam.tmp namelist_top 
    146146 
    147147fi 
Note: See TracChangeset for help on using the changeset viewer.