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 11381 for NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_DYN_optimization/src/OCE/timing.F90 – NEMO

Ignore:
Timestamp:
2019-07-31T16:44:56+02:00 (5 years ago)
Author:
girrmann
Message:

dev_r10984_HPC-13 : repair faulty commit [11380], see #2308

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_DYN_optimization/src/OCE/timing.F90

    r11380 r11381  
    657657         ! Compute cpu/elapsed ratio 
    658658         zall_ratio(:) = all_ctime(:) / all_etime(:) 
    659          ztot_ratio    = SUM(zall_ratio(:)) 
    660          zavg_ratio    = ztot_ratio/REAL(jpnij,wp) 
     659         ztot_ratio    = SUM(all_ctime(:))/SUM(all_etime(:)) 
     660         zavg_ratio    = SUM(zall_ratio(:))/REAL(jpnij,wp) 
    661661         zmax_ratio    = MAXVAL(zall_ratio(:)) 
    662662         zmin_ratio    = MINVAL(zall_ratio(:))    
     
    667667         cllignes(2)='1x,"--------------------",//,' 
    668668         cllignes(3)='1x,"Process Rank |"," Elapsed Time (s) |"," CPU Time (s) |"," Ratio CPU/Elapsed",/,' 
    669          cllignes(4)='    (1x,i4,9x,"|",f12.3,6x,"|",f12.3,2x,"|",4x,f7.3,/),' 
    670          WRITE(cllignes(4)(1:4),'(I4)') jpnij 
     669         cllignes(4)='      (4x,i6,4x,"|",f12.3,6x,"|",f12.3,2x,"|",4x,f7.3,/),' 
     670         WRITE(cllignes(4)(1:6),'(I6)') jpnij 
    671671         cllignes(5)='1x,"Total        |",f12.3,6x,"|",F12.3,2x,"|",4x,f7.3,/,' 
    672672         cllignes(6)='1x,"Minimum      |",f12.3,6x,"|",F12.3,2x,"|",4x,f7.3,/,' 
Note: See TracChangeset for help on using the changeset viewer.