Changeset 895


Ignore:
Timestamp:
06/13/19 16:45:40 (5 years ago)
Author:
adurocher
Message:

trunk : Fix inconsistent timer with PGI compiler.

Always use the 64-bit integer version of SYSTEM_CLOCK.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/trunk/src/time/timeloop_gcm.f90

    r871 r895  
    197197    LOGICAL :: fluxt_zero(ndomain) ! set to .TRUE. to start accumulating mass fluxes in time 
    198198    LOGICAL, PARAMETER :: check_rhodz=.FALSE. 
    199     INTEGER :: start_clock, stop_clock, rate_clock 
     199    INTEGER(kind=8) :: start_clock, stop_clock, rate_clock 
    200200    LOGICAL,SAVE :: first_physic=.TRUE. 
    201201    !$OMP THREADPRIVATE(first_physic)     
     
    393393 
    394394  SUBROUTINE print_iteration(it,itau0,itaumax,start_clock,rate_clock) 
    395     INTEGER :: it, itau0, itaumax, start_clock, stop_clock, rate_clock, throughput 
     395    INTEGER :: it, itau0, itaumax, throughput 
     396    INTEGER(kind=8) :: start_clock, stop_clock, rate_clock 
    396397    REAL :: per_step,total, elapsed 
    397398    WRITE(*,'(A,I7,A,F14.1)') "It No :",it,"   t :",dt*it 
Note: See TracChangeset for help on using the changeset viewer.