Changeset 14848
- Timestamp:
- 2021-05-12T08:41:26+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OCE/LBC/mppini.F90
r14433 r14848 632 632 klci(1:iresti ,:) = kimax 633 633 klci(iresti+1:knbi ,:) = kimax-1 634 IF( MINVAL(klci) < 2*i2hls ) THEN635 WRITE(ctmp1,*) ' mpp_basesplit: minimum value of jpi must be >= ', 2*i2hls634 IF( MINVAL(klci) < 3*khls ) THEN 635 WRITE(ctmp1,*) ' mpp_basesplit: minimum value of jpi must be >= ', 3*khls 636 636 WRITE(ctmp2,*) ' We have ', MINVAL(klci) 637 CALL ctl_stop( 'STOP', ctmp1, ctmp2 )637 CALL ctl_stop( 'STOP', ctmp1, ctmp2 ) 638 638 ENDIF 639 639 IF( l_NFold ) THEN … … 650 650 ENDIF 651 651 klcj(:,1:irestj) = kjmax 652 IF( MINVAL(klcj) < 2*i2hls ) THEN653 WRITE(ctmp1,*) ' mpp_basesplit: minimum value of jpj must be >= ', 2*i2hls652 IF( MINVAL(klcj) < 3*khls ) THEN 653 WRITE(ctmp1,*) ' mpp_basesplit: minimum value of jpj must be >= ', 3*khls 654 654 WRITE(ctmp2,*) ' We have ', MINVAL(klcj) 655 655 CALL ctl_stop( 'STOP', ctmp1, ctmp2 ) … … 729 729 iszjref = jpiglo*jpjglo+1 730 730 ! 731 iszimin = 4*nn_hls ! minimum size of the MPI subdomain so halos are always adressing neighbor inner domain732 iszjmin = 4*nn_hls731 iszimin = 3*nn_hls ! minimum size of the MPI subdomain so halos are always adressing neighbor inner domain 732 iszjmin = 3*nn_hls 733 733 IF( c_NFtype == 'T' ) iszjmin = MAX(iszjmin, 2+3*nn_hls) ! V and F folding must be outside of southern halos 734 734 IF( c_NFtype == 'F' ) iszjmin = MAX(iszjmin, 1+3*nn_hls) ! V and F folding must be outside of southern halos … … 760 760 ENDIF 761 761 END DO 762 IF( inbimax == 0 ) THEN 763 WRITE(ctmp1,'(a,i2,a,i2)') ' mpp_ini bestpartition: Ni0glo (', Ni0glo, ') is too small to be used with nn_hls = ', nn_hls 764 CALL ctl_stop( 'STOP', ctmp1 ) 765 ENDIF 766 IF( inbjmax == 0 ) THEN 767 WRITE(ctmp1,'(a,i2,a,i2)') ' mpp_ini bestpartition: Nj0glo (', Nj0glo, ') is too small to be used with nn_hls = ', nn_hls 768 CALL ctl_stop( 'STOP', ctmp1 ) 769 ENDIF 762 770 763 771 ! combine these 2 lists to get all possible knbi*knbj < inbijmax
Note: See TracChangeset
for help on using the changeset viewer.