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/output/restart.f90

    r893 r899  
    6060    
    6161  TYPE(t_domain),POINTER :: d 
    62   TYPE(t_field),POINTER :: field_glo(:) 
    6362  TYPE(t_field),POINTER :: field(:) 
    6463   
     
    421420  INTEGER             :: fieldId(20) 
    422421    
    423   TYPE(t_domain),POINTER :: d 
    424   TYPE(t_field),POINTER :: field_glo(:) 
    425422  TYPE(t_field),POINTER :: field(:) 
    426423   
    427424  CHARACTER(LEN=255) :: start_file_name 
    428425  INTEGER,PARAMETER  :: nvert=6 
    429   INTEGER    ::  ncid, cellId, levId, edgeId,  vertid, lonId, latId, bounds_lonId, bounds_latId 
    430   INTEGER    :: ind,ind_glo,i,j,k,nf 
     426  INTEGER    ::  ncid 
     427  INTEGER    :: nf 
    431428  INTEGER    :: status 
    432   REAL(rstd),ALLOCATABLE :: lon(:),lat(:),bounds_lon(:,:),bounds_lat(:,:) 
    433429  REAL(rstd) :: it_real 
    434430   
     
    464460!      CALL xios_recv_field("it_start",it_real) 
    465461      CALL xios_read_var("it_start",it_real) 
    466       it=it_real 
     462      it=INT(it_real) 
    467463    ELSE 
    468464 
Note: See TracChangeset for help on using the changeset viewer.