Ignore:
Timestamp:
Apr 30, 2015, 3:22:39 PM (10 years ago)
Author:
millour
Message:

A couple of bug fixes.
Now the bench (in debug mode) yields identical results in seq/mpi/omp/mpi_omp, and also identical restart files to rev 5 (ie before any modifications to LMDZ5 source files).
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/inifis_mod.F90

    r3817 r3822  
    1212  INTEGER,SAVE :: anneeref ! reference year, ase deifined in run.def
    1313  INTEGER,SAVE :: nday ! number of days to run
    14 !$THREADPRIVATE(daysec,dtphys,day_step,iphysiq,dayref,anneeref,nday)
     14!$OMP THREADPRIVATE(daysec,dtphys,day_step,iphysiq,dayref,anneeref,nday)
    1515  INTEGER,SAVE :: annee_ref ! reference year as read from start file
    1616  INTEGER,SAVE :: day_ini
    1717  INTEGER,SAVE :: day_end
    18 !$THREADPRIVATE(annee_ref,day_ini,day_end)
     18!$OMP THREADPRIVATE(annee_ref,day_ini,day_end)
    1919  INTEGER,SAVE :: itau_phy
    2020  INTEGER,SAVE :: itaufin
     
    2222  INTEGER,SAVE :: day_ref
    2323  REAL,SAVE :: jD_ref
    24 !$THREADPRIVATE(itau_phy,itaufin,start_time,day_ref,JD_ref)
     24!$OMP THREADPRIVATE(itau_phy,itaufin,start_time,day_ref,JD_ref)
    2525  LOGICAL,SAVE :: offline
    2626  INTEGER,SAVE :: raz_date
     
    2929  INTEGER,SAVE :: prt_level ! Output level
    3030  LOGICAL,SAVE :: debug ! flag to specify if in "debug mode"
    31 !$THREADPRIVATE(offline,raz_date,config_inca,lunout,prt_level,debug)
     31!$OMP THREADPRIVATE(offline,raz_date,config_inca,lunout,prt_level,debug)
    3232
    3333CONTAINS
Note: See TracChangeset for help on using the changeset viewer.