Changeset 3000
- Timestamp:
- Jul 19, 2023, 11:55:56 AM (16 months ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/init_phys_1d_mod.F90
r2980 r3000 54 54 use physics_distribution_mod, only: init_physics_distribution 55 55 use iostart, only: open_startphy,get_var, close_startphy 56 56 #ifdef CPP_XIOS 57 use mod_const_mpi, only: COMM_LMDZ 58 #endif 57 59 include "dimensions.h" 58 60 integer, parameter :: ngrid = 1 !(2+(jjm-1)*iim - 1/jjm) … … 261 263 262 264 call init_physics_distribution(regular_lonlat,4,& 263 1,1,1,nlayer, 1)265 1,1,1,nlayer,COMM_LMDZ) 264 266 265 267 call open_startphy("startfi_evol.nc") -
trunk/LMDZ.MARS/changelog.txt
r2997 r3000 4103 4103 but the model should then be run using a single core, i.e. without mpirun 4104 4104 4105 == 19/07/2023 == JBC 4106 Some adaptations to make the 1D model run with XIOS and MPICH for use with 1D PEM. -
trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F
r2997 r3000 43 43 use write_output_mod, only: write_output 44 44 #ifdef CPP_XIOS 45 use mod_const_mpi, only: init_const_mpi 45 use mod_const_mpi, only: init_const_mpi, COMM_LMDZ 46 46 use parallel_lmdz, only: init_parallel 47 47 #endif … … 358 358 359 359 call init_physics_distribution(regular_lonlat,4, 360 & 1,1,1,nlayer, 1)360 & 1,1,1,nlayer,COMM_LMDZ) 361 361 362 362 if(.not. startfile_1D ) then … … 988 988 call getin("write_prof",write_prof) 989 989 IF (write_prof) then 990 DO iq = 1, 991 call writeprofile(nlayer,q(:,iq),noms(iq),iq,qsurf)990 DO iq = 1,nq 991 call writeprofile(nlayer,q(:,iq),noms(iq),qsurf) 992 992 ENDDO 993 993 ENDIF 994 995 994 996 995 c ======================================================== -
trunk/LMDZ.MARS/libf/phymars/dyn1d/write_profile.F90
r2981 r3000 1 SUBROUTINE writeprofile(nlev,data,name2, iq,qsurf)1 SUBROUTINE writeprofile(nlev,data,name2,qsurf) 2 2 3 3 … … 5 5 6 6 ! arguments: 7 INTEGER nlev ,iq7 INTEGER nlev 8 8 REAL data(nlev) 9 9 REAL qsurf … … 14 14 15 15 !write the data 16 OPEN( iq,file='profile_out_'//trim(name2),form='formatted')17 write( iq,*) qsurf16 OPEN(1,file='profile_out_'//trim(name2),form='formatted') 17 write(1,*) qsurf 18 18 DO il=1,nlev 19 write(iq,*) data(il)19 write(1,*) data(il) 20 20 ENDDO 21 CLOSE( iq)21 CLOSE(1) 22 22 RETURN 23 23 END -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r2999 r3000 3830 3830 call write_output('zdqcloud_vap','cloud vap', 3831 3831 & 'kg.m-2.s-1',zdqcloud(:,:,igcm_h2o_vap)) 3832 call write_output('zdqcloud','cloud ice',3832 call write_output('zdqcloud','cloud', 3833 3833 & 'kg.m-2.s-1',zdqcloud(:,:,igcm_h2o_ice) 3834 3834 & +zdqcloud(:,:,igcm_h2o_vap))
Note: See TracChangeset
for help on using the changeset viewer.