Changeset 10982
- Timestamp:
- 2019-05-15T14:37:26+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OCE/LBC/lib_mpp.F90
r10817 r10982 1480 1480 LOGICAL , OPTIONAL, INTENT(in ) :: ld_lbc, ld_glb, ld_dlg 1481 1481 !! 1482 CHARACTER(len=128) :: ccountname ! name of a subroutine to count communications 1482 1483 LOGICAL :: ll_lbc, ll_glb, ll_dlg 1483 INTEGER :: ji, jj, jk, jh, jf ! dummy loop indices1484 INTEGER :: ji, jj, jk, jh, jf, jcount ! dummy loop indices 1484 1485 !!---------------------------------------------------------------------- 1485 1486 ! … … 1538 1539 WRITE(numcom,*) ' ' 1539 1540 WRITE(numcom,*) ' lbc_lnk called' 1540 jj = 1 1541 DO ji = 2, n_sequence_lbc 1542 IF( crname_lbc(ji-1) /= crname_lbc(ji) ) THEN 1543 WRITE(numcom,'(A, I4, A, A)') ' - ', jj,' times by subroutine ', TRIM(crname_lbc(ji-1)) 1544 jj = 0 1541 DO ji = 1, n_sequence_lbc - 1 1542 IF ( crname_lbc(ji) /= 'already counted' ) THEN 1543 ccountname = crname_lbc(ji) 1544 crname_lbc(ji) = 'already counted' 1545 jcount = 1 1546 DO jj = ji + 1, n_sequence_lbc 1547 IF ( ccountname == crname_lbc(jj) ) THEN 1548 jcount = jcount + 1 1549 crname_lbc(jj) = 'already counted' 1550 END IF 1551 END DO 1552 WRITE(numcom,'(A, I4, A, A)') ' - ', jcount,' times by subroutine ', TRIM(ccountname) 1545 1553 END IF 1546 jj = jj + 11547 1554 END DO 1548 WRITE(numcom,'(A, I4, A, A)') ' - ', jj,' times by subroutine ', TRIM(crname_lbc(n_sequence_lbc)) 1555 IF ( crname_lbc(n_sequence_lbc) /= 'already counted' ) THEN 1556 WRITE(numcom,'(A, I4, A, A)') ' - ', 1,' times by subroutine ', TRIM(crname_lbc(ncom_rec_max)) 1557 END IF 1549 1558 WRITE(numcom,*) ' ' 1550 1559 IF ( n_sequence_glb > 0 ) THEN
Note: See TracChangeset
for help on using the changeset viewer.