Opened 8 weeks ago

Closed 8 weeks ago

#2577 closed Defect (fixed)

timing in SAS

Reported by: clem Owned by: systeam
Priority: low Milestone:
Component: MULTIPLE Version: release-4.0
Severity: minor Keywords:
Cc: Branch review: failed
MP ready?: no Task progress: Unspecified

Description

The timing in SAS does not give the elapse time per time step. It only gives the end of run summary.

Fix:
add these lines to nemogcm.F90

      REAL(wp)::   zstptiming   ! elapsed time for 1 time step

            IF( ln_timing ) THEN
               zstptiming = MPI_Wtime()
               IF ( istp == ( nit000 + 1 ) ) elapsed_time = zstptiming
               IF ( istp ==         nitend ) elapsed_time = zstptiming - elapsed_time
            ENDIF

and

            IF( lwp .AND. ln_timing )   WRITE(numtime,*) 'timing step ', istp-1, ' : ', MPI_Wtime() - zstptiming

Commit History (1)

ChangesetAuthorTimeChangeLog
13849clem2020-11-23T11:21:34+01:00

4.0-HEAD: fix ticket #2577

Change History (3)

comment:1 Changed 8 weeks ago by smasson

  • Version changed from trunk to release-4.0

comment:2 Changed 8 weeks ago by clem

In 13849:

4.0-HEAD: fix ticket #2577

comment:3 Changed 8 weeks ago by clem

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.