Changeset 6677
- Timestamp:
- 2016-06-09T12:55:55+02:00 (8 years ago)
- Location:
- branches/2016/dev_r6522_SIMPLIF_4/NEMOGCM
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2016/dev_r6522_SIMPLIF_4/NEMOGCM/NEMO/LIM_SRC_2/limdyn_2.F90
r5123 r6677 87 87 ! --------------------------------------------------- 88 88 89 IF( lk_mpp .OR. lk_mpp_rep) THEN ! mpp: compute over the whole domain89 IF( lk_mpp ) THEN ! mpp: compute over the whole domain 90 90 i_j1 = 1 91 91 i_jpj = jpj -
branches/2016/dev_r6522_SIMPLIF_4/NEMOGCM/NEMO/LIM_SRC_3/limdyn.F90
r5836 r6677 94 94 ! --------------------------------------------------- 95 95 96 IF( lk_mpp .OR. lk_mpp_rep) THEN ! mpp: compute over the whole domain96 IF( lk_mpp ) THEN ! mpp: compute over the whole domain 97 97 i_j1 = 1 98 98 i_jpj = jpj -
branches/2016/dev_r6522_SIMPLIF_4/NEMOGCM/NEMO/OPA_SRC/DIA/diahsb.F90
r6140 r6677 372 372 373 373 IF( .NOT. ln_diahsb ) RETURN 374 ! IF( .NOT. lk_mpp_rep ) &375 ! CALL ctl_stop (' Your global mpp_sum if performed in single precision - 64 bits -', &376 ! & ' whereas the global sum to be precise must be done in double precision ',&377 ! & ' please add key_mpp_rep')378 374 379 375 ! ------------------- ! -
branches/2016/dev_r6522_SIMPLIF_4/NEMOGCM/NEMO/OPA_SRC/DOM/closea.F90
r5836 r6677 220 220 ! 221 221 ! ! surface of closed seas 222 IF( lk_mpp_rep ) THEN ! MPP reproductible calculation 223 DO jc = 1, jpncs 224 ctmp = CMPLX( 0.e0, 0.e0, wp ) 225 DO jj = ncsj1(jc), ncsj2(jc) 226 DO ji = ncsi1(jc), ncsi2(jc) 227 ztmp = e1e2t(ji,jj) * tmask_i(ji,jj) 228 CALL DDPDD( CMPLX( ztmp, 0.e0, wp ), ctmp ) 229 END DO 230 END DO 231 IF( lk_mpp ) CALL mpp_sum( ctmp ) 232 surf(jc) = REAL(ctmp,wp) 233 END DO 234 ELSE ! Standard calculation 235 DO jc = 1, jpncs 236 DO jj = ncsj1(jc), ncsj2(jc) 237 DO ji = ncsi1(jc), ncsi2(jc) 238 surf(jc) = surf(jc) + e1e2t(ji,jj) * tmask_i(ji,jj) ! surface of closed seas 239 END DO 222 DO jc = 1, jpncs 223 ctmp = CMPLX( 0.e0, 0.e0, wp ) 224 DO jj = ncsj1(jc), ncsj2(jc) 225 DO ji = ncsi1(jc), ncsi2(jc) 226 ztmp = e1e2t(ji,jj) * tmask_i(ji,jj) 227 CALL DDPDD( CMPLX( ztmp, 0.e0, wp ), ctmp ) 240 228 END DO 241 229 END DO 242 IF( lk_mpp ) CALL mpp_sum ( surf, jpncs ) ! mpp: sum over all the global domain 243 ENDIF 230 IF( lk_mpp ) CALL mpp_sum( ctmp ) 231 surf(jc) = REAL(ctmp,wp) 232 END DO 244 233 245 234 IF(lwp) WRITE(numout,*)' Closed sea surfaces' … … 257 246 ! ! update emp ! 258 247 zfwf = 0.e0_wp !--------------------! 259 IF( lk_mpp_rep ) THEN ! MPP reproductible calculation 260 DO jc = 1, jpncs 261 ctmp = CMPLX( 0.e0, 0.e0, wp ) 262 DO jj = ncsj1(jc), ncsj2(jc) 263 DO ji = ncsi1(jc), ncsi2(jc) 264 ztmp = e1e2t(ji,jj) * ( emp(ji,jj)-rnf(ji,jj) ) * tmask_i(ji,jj) 265 CALL DDPDD( CMPLX( ztmp, 0.e0, wp ), ctmp ) 266 END DO 267 END DO 268 IF( lk_mpp ) CALL mpp_sum( ctmp ) 269 zfwf(jc) = REAL(ctmp,wp) 270 END DO 271 ELSE ! Standard calculation 272 DO jc = 1, jpncs 273 DO jj = ncsj1(jc), ncsj2(jc) 274 DO ji = ncsi1(jc), ncsi2(jc) 275 zfwf(jc) = zfwf(jc) + e1e2t(ji,jj) * ( emp(ji,jj)-rnf(ji,jj) ) * tmask_i(ji,jj) 276 END DO 277 END DO 278 END DO 279 IF( lk_mpp ) CALL mpp_sum ( zfwf(:) , jpncs ) ! mpp: sum over all the global domain 280 ENDIF 248 DO jc = 1, jpncs 249 ctmp = CMPLX( 0.e0, 0.e0, wp ) 250 DO jj = ncsj1(jc), ncsj2(jc) 251 DO ji = ncsi1(jc), ncsi2(jc) 252 ztmp = e1e2t(ji,jj) * ( emp(ji,jj)-rnf(ji,jj) ) * tmask_i(ji,jj) 253 CALL DDPDD( CMPLX( ztmp, 0.e0, wp ), ctmp ) 254 END DO 255 END DO 256 IF( lk_mpp ) CALL mpp_sum( ctmp ) 257 zfwf(jc) = REAL(ctmp,wp) 258 END DO 281 259 282 260 IF( cp_cfg == "orca" .AND. jp_cfg == 2 ) THEN ! Black Sea case for ORCA_R2 configuration -
branches/2016/dev_r6522_SIMPLIF_4/NEMOGCM/NEMO/OPA_SRC/DOM/dom_oce.F90
r6140 r6677 270 270 271 271 !!---------------------------------------------------------------------- 272 !! mpp reproducibility273 !!----------------------------------------------------------------------274 #if defined key_mpp_rep275 LOGICAL, PUBLIC, PARAMETER :: lk_mpp_rep = .TRUE. !: agrif flag276 #else277 LOGICAL, PUBLIC, PARAMETER :: lk_mpp_rep = .FALSE. !: agrif flag278 #endif279 280 !!----------------------------------------------------------------------281 272 !! agrif domain 282 273 !!---------------------------------------------------------------------- -
branches/2016/dev_r6522_SIMPLIF_4/NEMOGCM/SETTE/README
r3635 r6677 21 21 -n : config name (in examples config_name_nproci_nprocj), see ./makenemo -n help 22 22 -r : reference configuration (if you don't give it you have to choise directories to install) 23 add_key : to add list of keys (for example to test reproductibility: add_key mpp_rep)23 add_key : to add list of keys 24 24 del_key : to del list of keys 25 25 and for more details and options of makenemo see ./makenemo -h -
branches/2016/dev_r6522_SIMPLIF_4/NEMOGCM/SETTE/sette.sh
r6460 r6677 222 222 export TEST_NAME="REPRO_1_4" 223 223 cd ${CONFIG_DIR} 224 . ./makenemo -m ${CMP_NAM} -n GYRE_4 -r GYRE -j 8 add_key "key_mpp_rep"del_key ${DEL_KEYS}224 . ./makenemo -m ${CMP_NAM} -n GYRE_4 -r GYRE -j 8 del_key ${DEL_KEYS} 225 225 cd ${SETTE_DIR} 226 226 . ./param.cfg … … 381 381 export TEST_NAME="REPRO_4_4" 382 382 cd ${CONFIG_DIR} 383 . ./makenemo -m ${CMP_NAM} -n ORCA2LIMPIS_16 -r ORCA2_LIM_PISCES -j 8 add_key "key_mpp_rep"del_key ${DEL_KEYS}383 . ./makenemo -m ${CMP_NAM} -n ORCA2LIMPIS_16 -r ORCA2_LIM_PISCES -j 8 del_key ${DEL_KEYS} 384 384 cd ${SETTE_DIR} 385 385 . ./param.cfg … … 468 468 export TEST_NAME="LONG" 469 469 cd ${CONFIG_DIR} 470 . ./makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_LONG -r ORCA2_OFF_PISCES -j 8 add_key "key_mpp_rep"del_key ${DEL_KEYS}470 . ./makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_LONG -r ORCA2_OFF_PISCES -j 8 del_key ${DEL_KEYS} 471 471 cd ${SETTE_DIR} 472 472 . ./param.cfg … … 555 555 export TEST_NAME="REPRO_4_4" 556 556 cd ${CONFIG_DIR} 557 . ./makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_16 -r ORCA2_OFF_PISCES -j 8 add_key "key_mpp_rep"del_key ${DEL_KEYS}557 . ./makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_16 -r ORCA2_OFF_PISCES -j 8 del_key ${DEL_KEYS} 558 558 cd ${SETTE_DIR} 559 559 . ./param.cfg … … 706 706 export TEST_NAME="REPRO_4_4" 707 707 cd ${CONFIG_DIR} 708 . ./makenemo -m ${CMP_NAM} -n ORCA2LIM3_16 -r ORCA2_LIM3 -j 8 add_key "key_mpp_rep"del_key ${DEL_KEYS}708 . ./makenemo -m ${CMP_NAM} -n ORCA2LIM3_16 -r ORCA2_LIM3 -j 8 del_key ${DEL_KEYS} 709 709 cd ${SETTE_DIR} 710 710 . ./param.cfg … … 829 829 export TEST_NAME="REPRO_8_4" 830 830 cd ${CONFIG_DIR} 831 . ./makenemo -m ${CMP_NAM} -n AMM12_32 -r AMM12 -j 8 add_key "key_ mpp_rep key_tide" del_key ${DEL_KEYS}831 . ./makenemo -m ${CMP_NAM} -n AMM12_32 -r AMM12 -j 8 add_key "key_tide" del_key ${DEL_KEYS} 832 832 cd ${SETTE_DIR} 833 833 . ./param.cfg … … 887 887 export TEST_NAME="LONG" 888 888 cd ${CONFIG_DIR} 889 . ./makenemo -m ${CMP_NAM} -n SAS_LONG -r ORCA2_SAS_LIM -j 8 add_key "key_mpp_rep"del_key ${DEL_KEYS}889 . ./makenemo -m ${CMP_NAM} -n SAS_LONG -r ORCA2_SAS_LIM -j 8 del_key ${DEL_KEYS} 890 890 cd ${SETTE_DIR} 891 891 . ./param.cfg … … 949 949 export TEST_NAME="REPRO_8_4" 950 950 cd ${CONFIG_DIR} 951 . ./makenemo -m ${CMP_NAM} -n SAS_32 -r ORCA2_SAS_LIM -j 8 add_key "key_mpp_rep"del_key ${DEL_KEYS}951 . ./makenemo -m ${CMP_NAM} -n SAS_32 -r ORCA2_SAS_LIM -j 8 add_key del_key ${DEL_KEYS} 952 952 cd ${SETTE_DIR} 953 953 . ./param.cfg … … 1072 1072 export TEST_NAME="REPRO_1_4" 1073 1073 cd ${CONFIG_DIR} 1074 . ./makenemo -m ${CMP_NAM} -n ISOMIP_4 -u ISOMIP -j 8 add_key "key_mpp_rep"del_key ${DEL_KEYS}1074 . ./makenemo -m ${CMP_NAM} -n ISOMIP_4 -u ISOMIP -j 8 del_key ${DEL_KEYS} 1075 1075 cd ${SETTE_DIR} 1076 1076 . ./param.cfg … … 1137 1137 export TEST_NAME="REPRO_4_4" 1138 1138 cd ${CONFIG_DIR} 1139 . ./makenemo -m ${CMP_NAM} -n ORCA2_LIM_OBS -r ORCA2_LIM -j 8 add_key "key_ mpp_rep key_asminc" del_key ${DEL_KEYS}1139 . ./makenemo -m ${CMP_NAM} -n ORCA2_LIM_OBS -r ORCA2_LIM -j 8 add_key "key_asminc" del_key ${DEL_KEYS} 1140 1140 cd ${SETTE_DIR} 1141 1141 . ./param.cfg … … 1218 1218 export TEST_NAME="SHORT" 1219 1219 cd ${CONFIG_DIR} 1220 . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_1_2 -r ORCA2_LIM -j 8 add_key "key_ mpp_rep key_agrif" del_key "key_zdftmx" del_key ${DEL_KEYS}1220 . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_1_2 -r ORCA2_LIM -j 8 add_key "key_agrif" del_key "key_zdftmx" del_key ${DEL_KEYS} 1221 1221 cd ${SETTE_DIR} 1222 1222 . ./param.cfg … … 1258 1258 export TEST_NAME="SHORT_NOZOOM" 1259 1259 cd ${CONFIG_DIR} 1260 . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_2_2 -r ORCA2_LIM -j 8 add_key "key_ mpp_rep key_agrif" del_key "key_zdftmx" del_key ${DEL_KEYS}1260 . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_2_2 -r ORCA2_LIM -j 8 add_key "key_agrif" del_key "key_zdftmx" del_key ${DEL_KEYS} 1261 1261 cd ${SETTE_DIR} 1262 1262 . ./param.cfg … … 1291 1291 export TEST_NAME="SHORT_NOAGRIF" 1292 1292 cd ${CONFIG_DIR} 1293 . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_2_2_NAG -r ORCA2_LIM -j 8 add_key "key_mpp_rep"del_key "key_zdftmx" del_key ${DEL_KEYS}1293 . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_2_2_NAG -r ORCA2_LIM -j 8 del_key "key_zdftmx" del_key ${DEL_KEYS} 1294 1294 cd ${SETTE_DIR} 1295 1295 . ./param.cfg … … 1325 1325 export TEST_NAME="LONG" 1326 1326 cd ${CONFIG_DIR} 1327 . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_LONG -r ORCA2_LIM -j 8 add_key "key_ mpp_rep key_agrif" del_key "key_zdftmx" del_key ${DEL_KEYS}1327 . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_LONG -r ORCA2_LIM -j 8 add_key "key_agrif" del_key "key_zdftmx" del_key ${DEL_KEYS} 1328 1328 cd ${SETTE_DIR} 1329 1329 . ./param.cfg … … 1411 1411 export TEST_NAME="REPRO_4_4" 1412 1412 cd ${CONFIG_DIR} 1413 . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_16 -r ORCA2_LIM -j 8 add_key "key_ mpp_rep key_agrif" del_key "key_zdftmx" del_key ${DEL_KEYS}1413 . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_16 -r ORCA2_LIM -j 8 add_key "key_agrif" del_key "key_zdftmx" del_key ${DEL_KEYS} 1414 1414 cd ${SETTE_DIR} 1415 1415 . ./param.cfg
Note: See TracChangeset
for help on using the changeset viewer.