New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 11646 for NEMO/branches/UKMO/NEMO_4.0_mirror_SI3_decoupled/src/SAS/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2019-10-03T14:13:02+02:00 (5 years ago)
Author:
andmirek
Message:

Ticket #2314 changes for GO8 for tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0_mirror_SI3_decoupled/src/SAS/nemogcm.F90

    r10888 r11646  
    5252   CHARACTER(lc) ::   cform_aaa="( /, 'AAAAAAAA', / ) "     ! flag for output listing 
    5353 
     54#if defined key_mpp_mpi 
     55   INCLUDE 'mpif.h' 
     56#endif 
    5457   !!---------------------------------------------------------------------- 
    5558   !! NEMO/SAS 4.0 , NEMO Consortium (2018) 
     
    113116      ! 
    114117      DO WHILE( istp <= nitend .AND. nstop == 0 ) 
     118#if defined key_mpp_mpi 
     119            ncom_stp = istp 
     120            IF ( istp == ( nit000 + 1 ) ) elapsed_time = MPI_Wtime() 
     121            IF ( istp ==         nitend ) elapsed_time = MPI_Wtime() - elapsed_time 
     122#endif 
    115123         CALL stp 
    116124         istp = istp + 1 
     
    128136         ! 
    129137         DO WHILE( istp <= nitend .AND. nstop == 0 ) 
     138#if defined key_mpp_mpi 
     139            ncom_stp = istp 
     140            IF ( istp == ( nit000 + 1 ) ) elapsed_time = MPI_Wtime() 
     141            IF ( istp ==         nitend ) elapsed_time = MPI_Wtime() - elapsed_time 
     142#endif 
    130143            CALL stp        ( istp )  
    131144            istp = istp + 1 
Note: See TracChangeset for help on using the changeset viewer.