Changeset 3835 for dynamico_lmdz/aquaplanet/LMDZ5/libf
- Timestamp:
- Jun 18, 2015, 1:53:21 PM (9 years ago)
- Location:
- dynamico_lmdz/aquaplanet/LMDZ5/libf
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
dynamico_lmdz/aquaplanet/LMDZ5/libf/dynlonlat_phylonlat/phylmd/iniphysiq.F90
r3831 r3835 89 89 REAL,ALLOCATABLE,SAVE :: boundslatfi(:,:) 90 90 !$OMP THREADPRIVATE (latfi,lonfi,cufi,cvfi,airefi,boundslonfi,boundslatfi) 91 INTEGER :: itaufin_phy92 91 93 92 … … 237 236 ! transfer some flags/infos from dynamics to physics 238 237 239 itaufin_phy=itaufin/iphysiq240 241 238 CALL inifis(punjours,prad,pg,pr,pcpp) 242 239 -
dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/inifis_mod.F90
r3831 r3835 1 2 ! $Id: $3 1 MODULE inifis_mod 4 2 5 IMPLICIT NONE 6 ! for now constants and flags transmitted from dyn to phys are stored here 7 ! REAL,SAVE :: daysec ! length of reference day (s) 8 ! REAL,SAVE :: dtphys ! physics time step (s) 9 ! INTEGER,SAVE :: day_step ! number of physical steps per day 10 ! INTEGER,SAVE :: nday ! number of days to run 11 !!$OMP THREADPRIVATE(daysec,dtphys,day_step,iphysiq,dayref,anneeref,nday) 12 ! INTEGER,SAVE :: annee_ref ! reference year as read from start file 13 ! INTEGER,SAVE :: day_ini 14 ! INTEGER,SAVE :: day_end 15 !!$OMP THREADPRIVATE(annee_ref,day_ini,day_end) 16 ! INTEGER,SAVE :: itau_phy ! number of physiq iteration from origin 17 ! INTEGER,SAVE :: itaufin ! final iteration 18 ! REAL,SAVE :: start_time 19 ! INTEGER,SAVE :: day_ref 20 ! REAL,SAVE :: jD_ref 21 !!$OMP THREADPRIVATE(itau_phy,itaufin,start_time,day_ref,JD_ref) 22 ! INTEGER,SAVE :: raz_date 23 ! INTEGER,SAVE :: lunout=6 ! default output file identifier (6==screen) 24 ! INTEGER,SAVE :: prt_level ! Output level 25 ! LOGICAL,SAVE :: debug ! flag to specify if in "debug mode" 26 !!$OMP THREADPRIVATE(lunout,prt_level,debug) 3 27 4 28 5 CONTAINS -
dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/phys_cal_mod.F90
r3831 r3835 3 3 ! This module contains information on the calendar at the actual time step 4 4 5 SAVE 6 7 INTEGER :: year_cur ! current year 8 INTEGER :: mth_cur ! current month 9 INTEGER :: day_cur ! current day 10 INTEGER :: days_elapsed ! number of whole days since start of the simulation 11 INTEGER :: mth_len ! number of days in the current month 12 INTEGER :: year_len ! number of days in the current year 13 REAL :: hour 14 REAL :: jD_1jan 15 REAL :: jH_1jan 16 REAL :: xjour 17 REAL :: jD_cur ! jour courant a l'appel de la physique (jour julien) 18 REAL :: jH_cur ! heure courante a l'appel de la physique (jour julien) 19 REAL :: jD_ref ! jour du demarage de la simulation (jour julien) 5 INTEGER,SAVE :: year_cur ! current year 6 !$OMP THREADPRIVATE(year_cur) 7 INTEGER,SAVE :: mth_cur ! current month 8 !$OMP THREADPRIVATE(mth_cur) 9 INTEGER,SAVE :: day_cur ! current day 10 !$OMP THREADPRIVATE(day_cur) 11 INTEGER,SAVE :: days_elapsed ! number of whole days since start of the simulation 12 !$OMP THREADPRIVATE(days_elapsed) 13 INTEGER,SAVE :: mth_len ! number of days in the current month 14 !$OMP THREADPRIVATE(mth_len) 15 INTEGER,SAVE :: year_len ! number of days in the current year 16 !$OMP THREADPRIVATE(year_len) 17 REAL,SAVE :: hour 18 !$OMP THREADPRIVATE(hour) 19 REAL,SAVE :: jD_1jan 20 !$OMP THREADPRIVATE(jD_1jan) 21 REAL,SAVE :: jH_1jan 22 !$OMP THREADPRIVATE(jH_1jan) 23 REAL,SAVE :: xjour 24 !$OMP THREADPRIVATE(xjour) 25 REAL,SAVE :: jD_cur ! jour courant a l'appel de la physique (jour julien) 26 !$OMP THREADPRIVATE(jD_cur) 27 REAL,SAVE :: jH_cur ! heure courante a l'appel de la physique (jour julien) 28 !$OMP THREADPRIVATE(jH_cur) 29 REAL,SAVE :: jD_ref ! jour du demarage de la simulation (jour julien) 30 !$OMP THREADPRIVATE(jD_ref) 20 31 21 32 -
dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/regular_lonlat_mod.f90
r3825 r3835 11 11 INTEGER, PARAMETER :: south=2 ! boundaries of regular lontlat 12 12 13 ! Global definition, shared by all threads 14 ! Do not set threadprivate directives 15 13 16 REAL,SAVE,ALLOCATABLE :: lon_reg(:) ! value of longitude cell (rad) 14 !$OMP THREADPRIVATE(lon_reg)15 17 16 18 REAL,SAVE,ALLOCATABLE :: lat_reg(:) ! value of longitude cell (rad) 17 !$OMP THREADPRIVATE(lat_reg)18 19 19 20 REAL,SAVE,ALLOCATABLE :: boundslon_reg(:,:) ! value of boundaries cell (1=>east, 2=>west)(rad) 20 !$OMP THREADPRIVATE(boundslon_reg)21 21 22 22 REAL,SAVE,ALLOCATABLE :: boundslat_reg(:,:) ! value of longitude cell (1=>north, 2=>south)(rad) 23 !$OMP THREADPRIVATE(boundslat_reg)24 23 25 24 -
dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/time_phylmdz_mod.f90
r3831 r3835 2 2 3 3 REAL,SAVE :: pdtphys ! physics time step (s) 4 !$OMP THREADPRIVATE(pdtphys) 4 5 INTEGER,SAVE :: day_step ! number of physical steps per day 6 !$OMP THREADPRIVATE(day_step) 5 7 INTEGER,SAVE :: ndays ! number of days to run 8 !$OMP THREADPRIVATE(ndays) 6 9 INTEGER,SAVE :: annee_ref ! reference year from the origin 10 !$OMP THREADPRIVATE(annee_ref) 7 11 INTEGER,SAVE :: day_ref ! reference year of the origin 12 !$OMP THREADPRIVATE(day_ref) 8 13 INTEGER,SAVE :: day_ini ! initial day of the run starting from 1st january of annee_ref 14 !$OMP THREADPRIVATE(day_ini) 9 15 INTEGER,SAVE :: day_end ! final day of the run starting from 1st january of annee_ref 16 !$OMP THREADPRIVATE(day_end) 10 17 REAL,SAVE :: start_time ! starting time from the begining of the initial day 18 !$OMP THREADPRIVATE(start_time) 11 19 INTEGER,SAVE :: raz_date 20 !$OMP THREADPRIVATE(raz_date) 12 21 13 22 INTEGER,SAVE :: itau_phy ! number of physiq iteration from origin 23 !$OMP THREADPRIVATE(itau_phy) 14 24 INTEGER,SAVE :: itaufin ! final iteration 25 !$OMP THREADPRIVATE(itaufin) 15 26 REAL,SAVE :: current_time ! current elapsed time (s) from the begining of the run 16 27 !$OMP THREADPRIVATE(current_time) 17 28 18 29 … … 22 33 USE ioipsl, ONLY : getin 23 34 USE phys_cal_mod, ONLY: phys_cal_init 35 USE mod_phys_lmdz_para 24 36 IMPLICIT NONE 25 37 INCLUDE 'YOMCST.h' … … 42 54 43 55 raz_date = 0 44 CALL getin('raz_date', raz_date) 56 IF (is_master) CALL getin('raz_date', raz_date) 57 CALL bcast(raz_date) 45 58 current_time=0 46 59
Note: See TracChangeset
for help on using the changeset viewer.