- Timestamp:
- 2020-06-08T18:11:57+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r12558_HPC-08_epico_Extra_Halo/src/OCE/LBC/mppini.F90
r12993 r13065 163 163 & cn_ice, nn_ice_dta, & 164 164 & ln_vol, nn_volctl, nn_rimwidth 165 NAMELIST/nammpp/ jpni, jpnj, ln_nnogather, ln_listonly165 NAMELIST/nammpp/ jpni, jpnj, nn_hls, ln_nnogather, ln_listonly 166 166 !!---------------------------------------------------------------------- 167 167 ! … … 334 334 #if defined key_agrif 335 335 IF( .NOT. Agrif_Root() ) THEN ! AGRIF children: specific setting (cf. agrif_user.F90) 336 IF( jpiglo /= nbcellsx + 2 + 2*nbghostcells )&337 CALL ctl_stop( 'STOP', 'mpp_init: Agrif children requires jpiglo == nbcellsx + 2 + 2*nbghostcells' )338 IF( jpjglo /= nbcellsy + 2 + 2*nbghostcells )&339 CALL ctl_stop( 'STOP', 'mpp_init: Agrif children requires jpjglo == nbcellsy + 2 + 2*nbghostcells' )336 IF( jpiglo /= nbcellsx + 2 * ( nbghostcells + 1 + nn_hls ) ) & 337 CALL ctl_stop( 'STOP', 'mpp_init: Agrif children requires jpiglo == nbcellsx + 2*( nbghostcells + 1 + nn_hls )' ) 338 IF( jpjglo /= nbcellsy + 2 * ( nbghostcells + 1 + nn_hls ) ) & 339 CALL ctl_stop( 'STOP', 'mpp_init: Agrif children requires jpjglo == nbcellsy + 2*( nbghostcells + 1 + nn_hls )' ) 340 340 IF( ln_use_jattr ) CALL ctl_stop( 'STOP', 'mpp_init:Agrif children requires ln_use_jattr = .false. ' ) 341 341 ENDIF … … 1239 1239 !!---------------------------------------------------------------------- 1240 1240 INTEGER :: sxM, dxM, sxT, dxT, jn 1241 INTEGER :: njmppmax 1242 !!---------------------------------------------------------------------- 1243 ! 1244 njmppmax = MAXVAL( njmppt ) 1241 !!---------------------------------------------------------------------- 1245 1242 ! 1246 1243 !initializes the north-fold communication variables … … 1248 1245 nsndto = 0 1249 1246 ! 1250 IF ( njmpp == njmppmax) THEN ! if I am a process in the north1247 IF ( njmpp == MAXVAL( njmppt ) ) THEN ! if I am a process in the north 1251 1248 ! 1252 1249 !sxM is the first point (in the global domain) needed to compute the north-fold for the current process
Note: See TracChangeset
for help on using the changeset viewer.