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

trunk : Fixed GCC warnings

Fixed iso c bindings
fixed warnings with -Wall -Wno-aliasing -Wno-unused -Wno-unused-dummy-argument -Wno-maybe-uninitialized -Wno-tabs warnings
Removed all unused variables (-Wunused-variable)
vector%dot_product is now dot_product_3d to avoid compilation warning "dot_product shadows intrinsic" with GCC

File:
1 edited

Legend:

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

    r895 r899  
    194194 
    195195    REAL(rstd) :: adv_over_out ! ratio itau_adv/itau_out 
    196     INTEGER :: ind, it,i,j,l,n,  stage 
     196    INTEGER :: ind, it,l 
    197197    LOGICAL :: fluxt_zero(ndomain) ! set to .TRUE. to start accumulating mass fluxes in time 
    198198    LOGICAL, PARAMETER :: check_rhodz=.FALSE. 
     
    401401       elapsed = (stop_clock-start_clock)*1./rate_clock 
    402402       per_step = elapsed/(it-itau0) 
    403        throughput = dt/per_step 
     403       throughput = INT(dt/per_step) 
    404404       total = per_step*itaumax 
    405405       WRITE(*,'(A,I5,A,F6.2,A,I6)') 'Time spent (s):',INT(elapsed), & 
Note: See TracChangeset for help on using the changeset viewer.