Changeset 1682 for trunk/LMDZ.VENUS
- Timestamp:
- Mar 31, 2017, 11:31:38 AM (8 years ago)
- Location:
- trunk/LMDZ.VENUS/libf/phyvenus
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.VENUS/libf/phyvenus/conf_phys.F90
r1661 r1682 8 8 & if_ebil) 9 9 10 use init_print_control_mod, only: init_print_control 11 use print_control_mod, only: lunout 10 12 use IOIPSL 11 13 implicit none … … 25 27 26 28 ! Local 27 integer :: numout = 6 29 ! integer :: numout = 6 30 31 32 ! Initialize flags lunout, prt_level, debug (in print_control_mod) 33 CALL init_print_control 28 34 29 35 ! … … 472 478 ! 473 479 474 write( numout,*)' ##############################################'475 write( numout,*)' Configuration des parametres de la physique: '476 write( numout,*)' cycle_diurne = ', cycle_diurne477 write( numout,*)' soil_model = ', soil_model478 write( numout,*)' ok_orodr = ', ok_orodr479 write( numout,*)' ok_orolf = ', ok_orolf480 write( numout,*)' ok_gw_nonoro = ', ok_gw_nonoro481 write( numout,*)' nbapp_rad = ', nbapp_rad482 write( numout,*)' nbapp_chim = ', nbapp_chim483 write( numout,*)' iflag_con = ', iflag_con484 write( numout,*)' Sortie journaliere = ', ok_journe485 write( numout,*)' Sortie mensuelle = ', ok_mensuel486 write( numout,*)' Sortie instantanee = ', ok_instan487 write( numout,*)' frequence sorties = ', ecriphy488 write( numout,*)' Sortie bilan d''energie, if_ebil =', if_ebil489 write( numout,*)' Excentricite = ',R_ecc490 write( numout,*)' Equinoxe = ',R_peri491 write( numout,*)' Inclinaison =',R_incl492 write( numout,*)' tr_scheme = ', tr_scheme493 write( numout,*)' iflag_pbl = ', iflag_pbl494 write( numout,*)' z0 = ',z0495 write( numout,*)' lmixmin = ',lmixmin496 write( numout,*)' ksta = ',ksta497 write( numout,*)' ok_kzmin = ',ok_kzmin498 write( numout,*)' inertie = ', inertie499 write( numout,*)' iflag_ajs = ', iflag_ajs500 write( numout,*)' lev_histins = ',lev_histins501 write( numout,*)' lev_histday = ',lev_histday502 write( numout,*)' lev_histmth = ',lev_histmth503 write( numout,*)' reinit_trac = ',reinit_trac504 write( numout,*)' ok_cloud = ',ok_cloud505 write( numout,*)' ok_chem = ',ok_chem506 write( numout,*)' ok_sedim = ',ok_sedim507 write( numout,*)' nb_mode = ',nb_mode508 write( numout,*)' callnlte = ',callnlte509 write( numout,*)' nltemodel = ',nltemodel510 write( numout,*)' callnirco2 = ',callnirco2511 write( numout,*)' nircorr = ',nircorr512 write( numout,*)' callthermos = ',callthermos513 write( numout,*)' solvarmod = ',solvarmod514 write( numout,*)' solarcondate = ',solarcondate515 write( numout,*)' euveff = ',euveff480 write(lunout,*)' ##############################################' 481 write(lunout,*)' Configuration des parametres de la physique: ' 482 write(lunout,*)' cycle_diurne = ', cycle_diurne 483 write(lunout,*)' soil_model = ', soil_model 484 write(lunout,*)' ok_orodr = ', ok_orodr 485 write(lunout,*)' ok_orolf = ', ok_orolf 486 write(lunout,*)' ok_gw_nonoro = ', ok_gw_nonoro 487 write(lunout,*)' nbapp_rad = ', nbapp_rad 488 write(lunout,*)' nbapp_chim = ', nbapp_chim 489 write(lunout,*)' iflag_con = ', iflag_con 490 write(lunout,*)' Sortie journaliere = ', ok_journe 491 write(lunout,*)' Sortie mensuelle = ', ok_mensuel 492 write(lunout,*)' Sortie instantanee = ', ok_instan 493 write(lunout,*)' frequence sorties = ', ecriphy 494 write(lunout,*)' Sortie bilan d''energie, if_ebil =', if_ebil 495 write(lunout,*)' Excentricite = ',R_ecc 496 write(lunout,*)' Equinoxe = ',R_peri 497 write(lunout,*)' Inclinaison =',R_incl 498 write(lunout,*)' tr_scheme = ', tr_scheme 499 write(lunout,*)' iflag_pbl = ', iflag_pbl 500 write(lunout,*)' z0 = ',z0 501 write(lunout,*)' lmixmin = ',lmixmin 502 write(lunout,*)' ksta = ',ksta 503 write(lunout,*)' ok_kzmin = ',ok_kzmin 504 write(lunout,*)' inertie = ', inertie 505 write(lunout,*)' iflag_ajs = ', iflag_ajs 506 write(lunout,*)' lev_histins = ',lev_histins 507 write(lunout,*)' lev_histday = ',lev_histday 508 write(lunout,*)' lev_histmth = ',lev_histmth 509 write(lunout,*)' reinit_trac = ',reinit_trac 510 write(lunout,*)' ok_cloud = ',ok_cloud 511 write(lunout,*)' ok_chem = ',ok_chem 512 write(lunout,*)' ok_sedim = ',ok_sedim 513 write(lunout,*)' nb_mode = ',nb_mode 514 write(lunout,*)' callnlte = ',callnlte 515 write(lunout,*)' nltemodel = ',nltemodel 516 write(lunout,*)' callnirco2 = ',callnirco2 517 write(lunout,*)' nircorr = ',nircorr 518 write(lunout,*)' callthermos = ',callthermos 519 write(lunout,*)' solvarmod = ',solvarmod 520 write(lunout,*)' solarcondate = ',solarcondate 521 write(lunout,*)' euveff = ',euveff 516 522 517 523 return -
trunk/LMDZ.VENUS/libf/phyvenus/physiq_mod.F
r1665 r1682 80 80 use infotrac_phy, only: iflag_trac, tname, ttext 81 81 use vertical_layers_mod, only: pseudoalt 82 use mod_phys_lmdz_omp_data, ONLY: is_omp_master 82 83 #ifdef CPP_XIOS 83 84 use xios_output_mod, only: initialize_xios_output, 84 85 & update_xios_timestep, 85 86 & send_xios_field 87 use wxios, only: wxios_context_init, xios_context_finalize 86 88 #endif 87 89 IMPLICIT none … … 429 431 allocate(source(klon,nqmax)) 430 432 433 #ifdef CPP_XIOS 434 ! Initialize XIOS context 435 write(*,*) "physiq: call wxios_context_init" 436 CALL wxios_context_init 437 #endif 438 431 439 CALL suphec ! initialiser constantes et parametres phys. 432 440 … … 1874 1882 CALL send_xios_field("d_qmoldifN2",d_q_moldif(:,:,i_n2)) 1875 1883 ENDIF 1876 1884 1885 if (lafin.and.is_omp_master) then 1886 write(*,*) "physiq: call xios_context_finalize" 1887 call xios_context_finalize 1888 endif 1889 1877 1890 #endif 1878 1891 -
trunk/LMDZ.VENUS/libf/phyvenus/xios_output_mod.F90
r1642 r1682 26 26 mpi_size, mpi_rank, klon_mpi, & 27 27 is_sequential, is_south_pole_dyn 28 USE mod_grid_phy_lmdz, ONLY: nbp_lon, nbp_lat, klon_glo 28 USE mod_grid_phy_lmdz, ONLY: nbp_lon, nbp_lat, klon_glo, grid_type, unstructured 29 29 USE print_control_mod, ONLY: lunout, prt_level 30 30 USE mod_grid_phy_lmdz, ONLY: nbp_lon, nbp_lat 31 31 USE regular_lonlat_mod, ONLY: lon_reg, lat_reg 32 32 USE nrtype, ONLY: pi 33 USE wxios 33 #ifdef CPP_XIOS 34 USE xios 35 #endif 36 USE wxios, ONLY: wxios_domain_param, wxios_domain_param_unstructured, wxios_closedef 34 37 IMPLICIT NONE 35 38 … … 60 63 ! 2. Declare horizontal domain 61 64 ! Set values for the mask: 62 IF (mpi_rank == 0) THEN 63 data_ibegin = 0 64 ELSE 65 data_ibegin = ii_begin - 1 66 END IF 67 68 IF (mpi_rank == mpi_size-1) THEN 69 data_iend = nbp_lon 70 ELSE 71 data_iend = ii_end + 1 72 END IF 73 74 if (prt_level>=10) then 75 write(lunout,*) "initialize_xios_output: mpirank=",mpi_rank," iibegin=",ii_begin , " ii_end=",ii_end," jjbegin=",jj_begin," jj_nb=",jj_nb," jj_end=",jj_end 76 write(lunout,*) "initialize_xios_output: mpirank=",mpi_rank," nbp_lon=",nbp_lon," nbp_lat=",nbp_lat 77 write(lunout,*) "initialize_xios_output: mpirank=",mpi_rank," data_ibegin=",data_ibegin," data_iend=",data_iend 78 write(lunout,*) "initialize_xios_output: mpirank=",mpi_rank," data_ibegin=",data_ibegin," data_iend=",data_iend 79 write(lunout,*) "initialize_xios_output: mpirank=",mpi_rank," is_south_pole=",is_south_pole_dyn 80 endif 81 65 ! IF (mpi_rank == 0) THEN 66 ! data_ibegin = 0 67 ! ELSE 68 ! data_ibegin = ii_begin - 1 69 ! END IF 70 71 ! IF (mpi_rank == mpi_size-1) THEN 72 ! data_iend = nbp_lon 73 ! ELSE 74 ! data_iend = ii_end + 1 75 ! END IF 76 77 ! if (prt_level>=10) then 78 ! write(lunout,*) "initialize_xios_output: mpirank=",mpi_rank," iibegin=",ii_begin , " ii_end=",ii_end," jjbegin=",jj_begin," jj_nb=",jj_nb," jj_end=",jj_end 79 ! write(lunout,*) "initialize_xios_output: mpirank=",mpi_rank," nbp_lon=",nbp_lon," nbp_lat=",nbp_lat 80 ! write(lunout,*) "initialize_xios_output: mpirank=",mpi_rank," data_ibegin=",data_ibegin," data_iend=",data_iend 81 ! write(lunout,*) "initialize_xios_output: mpirank=",mpi_rank," data_ibegin=",data_ibegin," data_iend=",data_iend 82 ! write(lunout,*) "initialize_xios_output: mpirank=",mpi_rank," is_south_pole=",is_south_pole_dyn 83 ! endif 84 85 !$OMP END MASTER 86 !$OMP BARRIER 82 87 ! Initialize the XIOS domain corresponding to this process: 83 88 if (prt_level>=10) write(lunout,*) "initialize_xios_output: call wxios_domain_param" 84 CALL wxios_domain_param("dom_glo", is_sequential, nbp_lon, jj_nb, nbp_lon, nbp_lat, &85 1, nbp_lon, ii_begin, ii_end, jj_begin, jj_end, &86 klon_mpi+2*(nbp_lon-1), data_ibegin, data_iend, &89 ! CALL wxios_domain_param("dom_glo", is_sequential, nbp_lon, jj_nb, nbp_lon, nbp_lat, & 90 ! 1, nbp_lon, ii_begin, ii_end, jj_begin, jj_end, & 91 ! klon_mpi+2*(nbp_lon-1), data_ibegin, data_iend, & 87 92 ! VENUS IS SEEN UPSIDE DOWN, SO CENTRAL SYMMETRY TO PUT NORTH UP AGAIN 88 -1.*lat_reg*(180./pi), -1.*lon_reg*(180./pi), & 89 is_south_pole_dyn,mpi_rank) 90 93 ! -1.*lat_reg*(180./pi), -1.*lon_reg*(180./pi), & 94 ! is_south_pole_dyn,mpi_rank) 95 96 IF (grid_type==unstructured) THEN 97 CALL wxios_domain_param_unstructured("dom_glo",.true.) 98 ELSE 99 CALL wxios_domain_param("dom_glo",.true.) 100 ENDIF 101 102 !$OMP MASTER 91 103 ! 3. Declare calendar and time step 92 104 if (prt_level>=10) write(lunout,*) "initialize_xios_output: build calendar"
Note: See TracChangeset
for help on using the changeset viewer.