Changeset 1959


Ignore:
Timestamp:
Jul 3, 2018, 2:43:42 PM (6 years ago)
Author:
emillour
Message:

Common (parallel) dynamics:
Add some initializations of global arrays. This is not a bug fix, strictly
speaking, as results are unchanged. But in some cases computations extend
into halos and these cases are identified as errors with recent versions
of ifort (2018) with the -init=arrays,snan debugging option.
EM

Location:
trunk/LMDZ.COMMON/libf/dyn3dpar
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/dyn3dpar/advtrac_p.F90

    r1441 r1959  
    4747  !-------------------------------------------------------------
    4848
    49   REAL pbaruc(ip1jmp1,llm),pbarvc(ip1jm,llm)
    50   REAL massem(ip1jmp1,llm),zdp(ip1jmp1)
     49  REAL,SAVE :: pbaruc(ip1jmp1,llm)=0
     50  REAL,SAVE :: pbarvc(ip1jm,llm)=0
     51  REAL,SAVE :: massem(ip1jmp1,llm)
     52  REAL zdp(ip1jmp1)
    5153  REAL,SAVE::pbarug(ip1jmp1,llm),pbarvg(ip1jm,llm),wg(ip1jmp1,llm)
    5254  REAL (kind=kind(1.d0)) :: t_initial, t_final, tps_cpu
    53   INTEGER iadvtr
    5455  INTEGER ij,l,iq,iiq
    5556  REAL zdpmin, zdpmax
    56   SAVE iadvtr, massem, pbaruc, pbarvc
    57   DATA iadvtr/0/
     57  INTEGER,SAVE :: iadvtr=0
    5858  !$OMP THREADPRIVATE(iadvtr)
    5959  !----------------------------------------------------------
  • trunk/LMDZ.COMMON/libf/dyn3dpar/integrd_p.F

    r1510 r1959  
    7676      EXTERNAL SSUM
    7777      INTEGER ijb,ije,jjb,jje
    78       REAL,SAVE :: ps(ip1jmp1)
     78      REAL,SAVE :: ps(ip1jmp1)=0
    7979      LOGICAL :: checksum
    8080      INTEGER :: stop_it
  • trunk/LMDZ.COMMON/libf/dyn3dpar/leapfrog_p.F

    r1824 r1959  
    292292        dpfi(:)     =0.
    293293        dq(:,:,:)   =0.
     294        dp(:)=0
     295        pbaru(:,:)=0
     296        pbarv(:,:)=0
    294297
    295298      CALL pression ( ip1jmp1, ap, bp, ps, p       )
Note: See TracChangeset for help on using the changeset viewer.