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.
#2577 (timing in SAS) – NEMO

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#2577 closed Defect (fixed)

timing in SAS

Reported by: clem Owned by: systeam
Priority: low Milestone:
Component: MULTIPLE Version: v4.0
Severity: minor Keywords: v4.0
Cc:

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 (4)

comment:1 Changed 4 years ago by smasson

  • Version changed from trunk to v4.0

comment:2 Changed 4 years ago by clem

In 13849:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found

comment:3 Changed 4 years ago by clem

  • Resolution set to fixed
  • Status changed from new to closed

comment:4 Changed 3 years ago by nemo

  • Keywords v4.0 added
Note: See TracTickets for help on using tickets.