Changeset 1184
- Timestamp:
- 2008-09-11T19:17:27+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NVTK/INSTALL/JOBS/job_GYRE_LOBSTER.ksh
r1155 r1184 90 90 91 91 # namelist modifications 92 PAT_TRC=$( supergrep nwritetrc namelist_top_f90 ) 93 PAT_TRD=$( supergrep nwritetrd namelist_top_f90 ) 94 95 sed -e "s%$PAT_TRC% nwritetrc = ${ITERATIONS}%" \ 96 -e "s%$PAT_TRD% nwritetrd = ${ITERATIONS}%" namelist_top_f90 > nam.tmp 92 PAT_NWRITRC=$( supergrep nwritetrc namelist_top_f90 ) 93 PAT_NWRITRD=$( supergrep ntrd_trc namelist_top_f90 ) 94 PAT_RESTTRD=$( supergrep ln_trdmld_trc_restart namelist_top_f90 ) 95 96 sed -e "s%$PAT_NWRITRC% nwritetrc = ${ITERATIONS}%" \ 97 -e "s%$PAT_NWRITRD% ntrd_trc = ${ITERATIONS}%" \ 98 -e "s%$PAT_RESTTRD% ln_trdmld_trc_restart = .false.%" namelist_top_f90 > nam.tmp 97 99 98 100 mv nam.tmp namelist_top … … 108 110 then 109 111 if [ ${RUN} = 'mon' -o ${RUN} = 'omp' ] ; then 110 cp ${WORK}/NEMO_VALID/W${CONF}/${RUN}/1_SHORT/*_restart.nc restart.nc 111 cp ${WORK}/NEMO_VALID/W${CONF}/${RUN}/1_SHORT/*_restart_mld.nc restart_mld.nc 112 cp ${WORK}/NEMO_VALID/W${CONF}/${RUN}/1_SHORT/*_restart_trc.nc restart_trc.nc 112 cp ${WORK}/NEMO_VALID/W${CONF}/${RUN}/1_SHORT/*_restart.nc restart.nc 113 cp ${WORK}/NEMO_VALID/W${CONF}/${RUN}/1_SHORT/*_restart_mld.nc restart_mld.nc 114 cp ${WORK}/NEMO_VALID/W${CONF}/${RUN}/1_SHORT/*_restart_trc.nc restart_trc.nc 115 cp ${WORK}/NEMO_VALID/W${CONF}/${RUN}/1_SHORT/*_restart_mld_trc.nc restart_mld_trc.nc 113 116 fi 114 117 … … 117 120 while [ $i -lt $NB_PROCS ] 118 121 do 119 cp ${WORK}/NEMO_VALID/W${CONF}/${RUN}/1_SHORT/*_restart_${i}.nc restart_${i}.nc 120 cp ${WORK}/NEMO_VALID/W${CONF}/${RUN}/1_SHORT/*_restart_mld_${i}.nc restart_mld_${i}.nc 121 cp ${WORK}/NEMO_VALID/W${CONF}/${RUN}/1_SHORT/*_restart_trc_${i}.nc restart_trc_${i}.nc 122 cp ${WORK}/NEMO_VALID/W${CONF}/${RUN}/1_SHORT/*_restart_${i}.nc restart_${i}.nc 123 cp ${WORK}/NEMO_VALID/W${CONF}/${RUN}/1_SHORT/*_restart_mld_${i}.nc restart_mld_${i}.nc 124 cp ${WORK}/NEMO_VALID/W${CONF}/${RUN}/1_SHORT/*_restart_trc_${i}.nc restart_trc_${i}.nc 125 cp ${WORK}/NEMO_VALID/W${CONF}/${RUN}/1_SHORT/*_restart_mld_trc_${i}.nc restart_mld_trc_${i}.nc 122 126 let i=$i+1 123 127 done … … 142 146 143 147 # Biogeochemistry namelist modifications 144 PAT_RESTAR=$( supergrep lrsttr namelist_top ) 145 sed -e "s%$PAT_RESTAR% lrsttr = .true. %" namelist_top > nam.tmp 148 PAT_RESTAR=$( supergrep lrsttr namelist_top ) 149 PAT_RESTRD=$( supergrep ln_trdmld_trc_restart namelist_top ) 150 151 sed -e "s%$PAT_RESTAR% lrsttr = .true. %" \ 152 -e "s%$PAT_RESTRD% ln_trdmld_trc_restart = .true.%" namelist_top > nam.tmp 153 146 154 mv nam.tmp namelist_top 147 155
Note: See TracChangeset
for help on using the changeset viewer.