- Timestamp:
- Jul 18, 2023, 10:05:35 AM (17 months ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/changelog.txt
r2992 r2997 4097 4097 Update reference field_def_physics_mars.xml to take into account recently 4098 4098 added outputs in improvedclouds. 4099 4100 == 18/07/2023 == EM 4101 Some adaptations to enable running the 1D model with XIOS. 4102 Note that this requires compiling with "-io xios -parallel mpi" 4103 but the model should then be run using a single core, i.e. without mpirun 4104 -
trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F
r2991 r2997 42 42 use iostart, only: open_startphy,get_var, close_startphy 43 43 use write_output_mod, only: write_output 44 #ifdef CPP_XIOS 45 use mod_const_mpi, only: init_const_mpi 46 use parallel_lmdz, only: init_parallel 47 #endif 44 48 IMPLICIT NONE 45 49 … … 169 173 c INITIALISATION 170 174 c======================================================================= 175 #ifdef CPP_XIOS 176 CALL init_const_mpi 177 CALL init_parallel 178 #endif 179 171 180 ! initialize "serial/parallel" related stuff 172 181 ! CALL init_phys_lmdz(iim,jjp1,llm,1,(/(jjm-1)*iim+2/)) -
trunk/LMDZ.MARS/libf/phymars/wstats_mod.F90
r2616 r2997 174 174 if (is_mpi_root) then 175 175 call Grid1Dto2D_glo(px3_glop,px3_glo) 176 if (klon_glo>1) then ! general case (unless in 1D) 176 177 ! copy dx3_glo() to dx3(:) and add redundant longitude 177 178 dx3(1:nbp_lon,:,:)=px3_glo(1:nbp_lon,:,:) 178 179 dx3(nbp_lon+1,:,:)=dx3(1,:,:) 180 endif 179 181 endif 180 182 !$OMP END MASTER … … 185 187 call Gather(px2,px2_glop) 186 188 !$OMP MASTER 187 if (is_mpi_root) then 188 call Grid1Dto2D_glo(px2_glop,px2_glo) 189 ! copy px2_glo() to dx2(:) and add redundant longitude 190 dx2(1:nbp_lon,:)=px2_glo(1:nbp_lon,:) 191 dx2(nbp_lon+1,:)=dx2(1,:) 192 endif 189 if (is_mpi_root) then 190 call Grid1Dto2D_glo(px2_glop,px2_glo) 191 if (klon_glo>1) then ! general case (unless in 1D) 192 ! copy px2_glo() to dx2(:) and add redundant longitude 193 dx2(1:nbp_lon,:)=px2_glo(1:nbp_lon,:) 194 dx2(nbp_lon+1,:)=dx2(1,:) 195 endif 196 endif 193 197 !$OMP END MASTER 194 198 !$OMP BARRIER
Note: See TracChangeset
for help on using the changeset viewer.