Changeset 2267
- Timestamp:
- 07/01/14 17:40:21 (10 years ago)
- Location:
- CONFIG/UNIFORM/v6/IPSLCM6
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/IPSLCM6/EXPERIMENTS/IPSLCM/piControl/COMP/oasis.card
r2192 r2267 4 4 [UserChoices] 5 5 OutputMode=y 6 FreqCoupling=86400 6 7 7 8 [InitialStateFiles] … … 30 31 31 32 [OutputText] 32 List= (namcouple )33 List= (namcouple, lucia, oasis_balance.eps) 33 34 34 35 [OutputFiles] -
CONFIG/UNIFORM/v6/IPSLCM6/EXPERIMENTS/IPSLCM/piControl/COMP/opa9.card
r2245 r2267 3 3 4 4 [UserChoices] 5 OPA_NPDT_JOURS=15 6 ORCA_version=ORCA2.3 5 ORCA_version=ORCA1.0 7 6 io_xml=y 8 7 mesh_mask=n … … 18 17 List= () 19 18 ListNonDel= (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/ahmcoef, .), \ 20 (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/bathy_level.nc, .), \21 19 (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/bathy_meter.nc, .), \ 22 20 (${R_BC}/OCE/${config_UserChoices_TagName}/${opa9_UserChoices_ORCA_version}/coordinates.nc, .), \ … … 46 44 47 45 [OutputText] 48 List= (ocean.output, solver.stat, namelist, iodef.xml, field_def.xml, domain_def.xml, xmlio_server.def )46 List= (ocean.output, solver.stat, namelist, iodef.xml, field_def.xml, domain_def.xml, xmlio_server.def, out_opa.xx.out, out_opa.xx.err) 49 47 #List= (ocean.output, oceanx.prt, solver.stat) 50 48 -
CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/oasis.driver
r2206 r2267 61 61 (( LagAtm = 86400 / day_step * iphysiq / nsplit_phys )) 62 62 63 (( LagOce = 86400 / opa9_UserChoices_OPA_NPDT_JOURS))63 (( LagOce = 86400 / ORCA_NPDT_JOUR )) 64 64 65 65 ############ Update Parameter Files ############## … … 93 93 fi 94 94 95 /ccc/scratch/cont003/dsm/p86caub/LUCIA/lucia 96 95 97 echo FINALIZE CPL !!! 96 98 -
CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/opa9.driver
r2245 r2267 28 28 echo "LIM_VERSION : ${LIM_VERSION}" 29 29 echo "RESOL_OCE : ${RESOL_OCE}" 30 31 ORCA_NPDT_JOUR=${opa9_UserChoices_OPA_NPDT_JOURS:=15}32 30 33 31 # Local function to find namelists parameters … … 55 53 56 54 NAMELIST_OPA_CFG=${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE}_cfg 55 NAMELIST_OPA_REF=${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE}_ref 56 echo "namelist_ref : ${NAMELIST_OPA_REF}" 57 if [ ! -r ${NAMELIST_OPA_REF} ] ; then 58 echo "${NAMELIST_OPA_REF} non trouve" 59 fi 57 60 echo "namelist_cfg : ${NAMELIST_OPA_CFG}" 58 61 if [ ! -r ${NAMELIST_OPA_CFG} ] ; then … … 74 77 PAT_ICE_EMBD=$( supergrep nn_ice_embd ${NAMELIST_OPA_CFG} ) 75 78 PAT_ICEFLX=$( supergrep cn_iceflx ${NAMELIST_OPA_CFG} ) 76 77 ORCA_RDT=$( supergrep rn_rdt ${NAMELIST_OPA_CFG} | sed 's/ *rn_rdt *=//' | sed 's/\. *//' ) 79 PAT_JPNI=$( supergrep jpni ${NAMELIST_OPA_CFG} ) 80 PAT_JPNJ=$( supergrep jpnj ${NAMELIST_OPA_CFG} ) 81 PAT_JPNIJ=$( supergrep jpnij ${NAMELIST_OPA_CFG} ) 82 PAT_NN_FSBC=$( supergrep nn_fsbc ${NAMELIST_OPA_CFG} ) 83 84 ORCA_RDT=$( supergrep rn_rdt ${NAMELIST_OPA_CFG} | sed 's/ *rn_rdt *=//' | sed 's/\. *//' ) 85 ORCA_NN_FSBC=$( supergrep nn_fsbc ${NAMELIST_OPA_CFG} | sed 's/ *nn_fsbc *=//' | sed 's/\. *//' ) 86 (( ORCA_NPDT_JOUR = 86400 / ORCA_RDT )) 87 (( ORCA_NPDT_SBC = ORCA_NPDT_JOUR / ORCA_NN_FSBC )) 88 78 89 79 90 # Period Length In Days between DateBegin and first day of calendar 0001 01 01 … … 95 106 echo "PAT_ICE_EMBD $PAT_ICE_EMBD" 96 107 echo "PAT_ICEFLX $PAT_ICEFLX" 108 echo "PAT_JPNI $PAT_JPNI" 109 echo "PAT_JPNJ $PAT_JPNJ" 110 echo "PAT_JPNIJ $PAT_JPNIJ" 111 echo "PAT_NN_FSBC $PAT_NN_FSBC" 112 echo " " 97 113 echo "ORCA_RDT $ORCA_RDT" 98 114 echo "DaysSinceJC $DaysSinceJC" 99 115 100 116 IGCM_debug_PopStack "OCE_Initialize" 101 117 … … 108 124 IGCM_debug_PushStack "OCE_Update" 109 125 126 ## Check that nn_fsbc is correct compare to coupling frequency 127 128 FreqCoupling=${oasis_UserChoices_FreqCoupling:-86400} 129 if [[ ${FreqCoupling} -gt 0 ]] ; then 130 (( ORCA_NPDT_COUP = 86400 / FreqCoupling )) 131 else 132 ORCA_NPDT_COUP=${ORCA_NPDT_SBC} 133 fi 134 135 if [[ ${ORCA_NN_FSBC} -lt ${ORCA_NPDT_COUP} ]] ; then 136 (( ORCA_NN_FSBC = ORCA_NPDT_JOUR / ORCA_NPDT_COUP )) 137 fi 138 110 139 ## This informations are used for diaptr, trends and diagap files 111 140 ## only the first frequency is used for this files 141 142 143 echo "FreqCoupling $FreqCoupling" 144 echo "ORCA_NN_FSBC $ORCA_NN_FSBC" 145 echo "ORCA_NPDT_JOUR $ORCA_NPDT_JOUR" 146 echo "ORCA_NPDT_COUP $ORCA_NPDT_COUP" 147 echo "ORCA_NPDT_SBC $ORCA_NPDT_SBC" 112 148 113 149 ##--Write Frequency Purpose .... … … 171 207 ORCA_NSTOCK="${ORCA_NITEND}" 172 208 173 ##-- Let verify the number of time steps per day174 (( NB_SEC_JOUR_MODEL = ORCA_NPDT_JOUR * ORCA_RDT ))175 (( NB_SEC_JOUR = 60 * 60 * 24 ))176 177 if [ ${NB_SEC_JOUR_MODEL} -ne ${NB_SEC_JOUR} ] ; then178 echo " VERIFY ORCA_NPDT_JOUR in opa9.card "179 exit180 fi181 182 209 ##-- Restart configuration 183 210 if ( [ "${CumulPeriod}" -eq 1 ] && [ "${config_OCE_Restart}" = "n" ] ) ; then … … 234 261 esac 235 262 263 echo "NUM_PROC_OCE : " ${NUM_PROC_OCE} 264 236 265 sed -e "s/${PAT_CEXPER}/ cn_exp=\"${config_UserChoices_JobName}\"/" \ 237 266 -e "s/${PAT_NIT000}/ nn_it000=${ORCA_NIT000}/" \ … … 246 275 -e "s/${PAT_NN_WRITE}/ nn_prg=${ORCA_NWRITE}/" \ 247 276 -e "s/${PAT_NN_FWRI}/ nn_fwri=${ORCA_NWRITE}/" \ 277 -e "s/${PAT_NN_FSBC}/ nn_fsbc=${ORCA_NN_FSBC}/" \ 248 278 -e "s/${PAT_ICE_EMBD}/ nn_ice_embd=${NN_ICE_EMBD}/" \ 249 279 -e "s/${PAT_ICEFLX}/ cn_iceflx=\'${ICEFLX}'/" \ 280 -e "s/${PAT_JPNI}/ jpni=1/" \ 281 -e "s/${PAT_JPNJ}/ jpnj=${NUM_PROC_OCE}/" \ 282 -e "s/${PAT_JPNIJ}/ jpnij=${NUM_PROC_OCE}/" \ 250 283 namelist_cfg > namelist_cfg.tmp 251 284
Note: See TracChangeset
for help on using the changeset viewer.