Changeset 4146
- Timestamp:
- May 10, 2022, 6:50:43 PM (3 years ago)
- Location:
- LMDZ6/trunk
- Files:
-
- 8 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3d_common/control_mod.F90
r2083 r4146 38 38 LOGICAL,SAVE :: ok_dyn_ave ! output averaged values of fields in the dynamics 39 39 ! in NetCDF files dyn_hist*ave.nc 40 LOGICAL,SAVE :: ok_dyn_xios ! xios outputs in dynamics 40 41 LOGICAL,SAVE :: resetvarc ! allows to reset the variables in sortvarc 41 42 -
LMDZ6/trunk/libf/dyn3dmem/conf_gcm.F90
r4100 r4146 678 678 ok_dyn_ave = .FALSE. 679 679 CALL getin('ok_dyn_ave',ok_dyn_ave) 680 681 !Config Key = ok_dyn_xios 682 !Config Desc = sorties moyennes dans la dynamique 683 !Config Def = n 684 !Config Help = 685 !Config 686 ok_dyn_xios = .FALSE. 687 CALL getin('ok_dyn_xios',ok_dyn_xios) 680 688 681 689 write(lunout,*)' #########################################' … … 721 729 write(lunout,*)' ok_dyn_ins = ', ok_dyn_ins 722 730 write(lunout,*)' ok_dyn_ave = ', ok_dyn_ave 731 write(lunout,*)' ok_dyn_xios = ', ok_dyn_xios 723 732 else 724 733 !Config Key = clon … … 880 889 ok_dyn_ave = .FALSE. 881 890 CALL getin('ok_dyn_ave',ok_dyn_ave) 891 892 !Config Key = ok_dyn_xios 893 !Config Desc = sorties moyennes dans la dynamique 894 !Config Def = n 895 !Config Help = 896 !Config 897 ok_dyn_xios = .FALSE. 898 CALL getin('ok_dyn_xios',ok_dyn_xios) 882 899 883 900 !Config Key = use_filtre_fft … … 993 1010 write(lunout,*)' ok_dyn_ins = ', ok_dyn_ins 994 1011 write(lunout,*)' ok_dyn_ave = ', ok_dyn_ave 1012 write(lunout,*)' ok_dyn_xios = ', ok_dyn_xios 995 1013 write(lunout,*)' use_filtre_fft = ', use_filtre_fft 996 1014 write(lunout,*)' use_mpi_alloc = ', use_mpi_alloc -
LMDZ6/trunk/libf/dyn3dmem/gcm.F90
-
Property
svn:keywords
set to
Id
r4139 r4146 1 ! $Id: $ 1 ! 2 ! $Id$ 3 ! 2 4 3 5 PROGRAM gcm … … 26 28 itau_dyn,itau_phy,day_ini,jD_ref,jH_ref,day_end, & 27 29 dt,hour_ini,itaufin 30 #ifdef CPP_XIOS 31 USE mod_xios_dyn3dmem, ONLY: xios_dyn3dmem_init 32 #endif 28 33 29 34 IMPLICIT NONE … … 109 114 INTEGER :: an, mois, jour 110 115 REAL :: heure 116 ! needed for xios interface 117 character (len=10) :: xios_cal_type 118 INTEGER :: anref, moisref, jourref 119 REAL :: heureref 120 111 121 112 122 … … 174 184 call ioconf_calendar('360d') 175 185 write(lunout,*)'CALENDRIER CHOISI: Terrestre a 360 jours/an' 186 xios_cal_type='d360' 176 187 else if (calend == 'earth_365d') then 177 188 call ioconf_calendar('noleap') 178 189 write(lunout,*)'CALENDRIER CHOISI: Terrestre a 365 jours/an' 190 xios_cal_type='noleap' 179 191 else if (calend == 'gregorian') then 180 192 call ioconf_calendar('gregorian') 181 193 write(lunout,*)'CALENDRIER CHOISI: Terrestre bissextile' 194 xios_cal_type='gregorian' 182 195 else 183 196 abort_message = 'Mauvais choix de calendrier' … … 331 344 write(lunout,*)'annee_ref, mois, day_ref, heure, jD_ref' 332 345 write(lunout,*)annee_ref, mois, day_ref, heure, jD_ref 333 call ju2ymds(jD_ref+jH_ref,an , mois, jour, heure)346 call ju2ymds(jD_ref+jH_ref,anref, moisref, jourref, heureref) 334 347 write(lunout,*)'jD_ref+jH_ref,an, mois, jour, heure' 335 write(lunout,*)jD_ref+jH_ref,an , mois, jour, heure348 write(lunout,*)jD_ref+jH_ref,anref, moisref, jourref, heureref 336 349 #else 337 350 ! Ehouarn: we still need to define JD_ref and JH_ref … … 421 434 ecripar = .TRUE. 422 435 436 #define CPP_IOIPSL 423 437 #ifdef CPP_IOIPSL 424 438 time_step = zdtvr … … 440 454 dtav = iperiod*dtvr/daysec 441 455 #endif 456 #undef CPP_IOIPSL 457 458 ! setting up DYN3D/XIOS inerface 459 #ifdef CPP_XIOS 460 if (ok_dyn_xios) then 461 CALL xios_dyn3dmem_init(xios_cal_type, anref, moisref, jourref,heureref, an, & 462 mois, jour, heure, zdtvr) 463 endif 464 #endif 465 442 466 ! #endif of #ifdef CPP_IOIPSL 443 467 ! -
Property
svn:keywords
set to
-
LMDZ6/trunk/libf/dyn3dmem/leapfrog_loc.F
-
Property
svn:keywords
set to
Id
r4143 r4146 42 42 USE temps_mod, ONLY: itaufin,jD_ref,jH_ref,day_ini, 43 43 & day_ref,start_time,dt 44 USE xios, ONLY: xios_update_calendar 44 45 45 46 IMPLICIT NONE … … 1618 1619 ENDIF 1619 1620 #endif 1621 1622 1620 1623 ENDIF 1621 1624 … … 1642 1645 endif 1643 1646 #endif 1644 endif ! of if (leapf.or.(.not.leapf.and.(.not.forward))) 1647 1648 #ifdef CPP_XIOS 1649 IF (ok_dyn_xios) THEN 1650 c$OMP MASTER 1651 CALL xios_update_calendar(itau) 1652 c$OMP END MASTER 1653 c$OMP BARRIER 1654 CALL writedyn_xios(vcov, 1655 & ucov,teta,pk,phi,q,masse,ps,phis) 1656 ENDIF 1657 #endif 1658 1659 endif ! of if (leapf.or.(.not.leapf.and.(.not.forward))) 1660 1661 1645 1662 ENDIF ! of IF(MOD(itau,iecri).EQ.0) 1646 1663 … … 1773 1790 ENDIF 1774 1791 #endif 1792 1793 1775 1794 ENDIF ! of IF(MOD(itau,iperiod).EQ.0 .OR. itau.EQ.itaufin) 1776 1795 … … 1791 1810 endif ! of if (ok_dyn_ins) 1792 1811 #endif 1793 ENDIF ! of IF(MOD(itau,iecri).EQ.0) 1812 1813 #ifdef CPP_XIOS 1814 IF (ok_dyn_xios) THEN 1815 c$OMP MASTER 1816 CALL xios_update_calendar(itau) 1817 c$OMP END MASTER 1818 c$OMP BARRIER 1819 CALL writedyn_xios(vcov, 1820 & ucov,teta,pk,phi,q,masse,ps,phis) 1821 ENDIF 1822 #endif 1823 1824 ENDIF ! of IF(MOD(itau,iecri).EQ.0) 1794 1825 1795 1826 -
Property
svn:keywords
set to
-
LMDZ6/trunk/libf/dyn3dmem/mod_const_mpi.F90
r2055 r4146 88 88 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 89 89 #ifdef CPP_XIOS 90 WRITE(*,*)'IN Init_mpi call wxios_init' 90 91 CALL wxios_init("LMDZ", outcom=COMM_LMDZ) 91 92 #endif -
LMDZ6/trunk/libf/dynphy_lonlat/phylmd/callphysiq_mod.F90
r2604 r4146 20 20 21 21 USE mod_grid_phy_lmdz, ONLY: nbp_lon, nbp_lat 22 USE control_mod, ONLY: planet_type 22 USE control_mod, ONLY: planet_type, ok_dyn_xios 23 23 USE physiq_mod, ONLY: physiq 24 #ifdef CPP_XIOS 25 USE mod_xios_dyn3dmem, ONLY : dyn3d_ctx_handle 26 USE xios, ONLY : xios_set_current_context 27 #endif 24 28 IMPLICIT NONE 25 29 … … 90 94 zdpsrf_omp) 91 95 96 ! switching back to LMDZDYN context 97 #ifdef CPP_XIOS 98 !$OMP MASTER 99 if (ok_dyn_xios) then 100 CALL xios_set_current_context(dyn3d_ctx_handle) 101 endif 102 !$OMP END MASTER 103 #endif 104 92 105 93 106 END SUBROUTINE call_physiq -
LMDZ6/trunk/libf/misc/wxios.F90
r3465 r4146 140 140 ! CALL wxios_context_init() 141 141 ! ENDIF 142 WRITE(*,*)'END of WXIOS_INIT', g_comm , g_ctx_name 142 143 143 144 END SUBROUTINE wxios_init
Note: See TracChangeset
for help on using the changeset viewer.