Changeset 3169
- Timestamp:
- Jan 3, 2024, 12:41:29 PM (11 months ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/changelog.txt
r3166 r3169 4426 4426 == 30/12/2023 == EM 4427 4427 Fix typo in previous commit 4428 4429 == 03/01/2024 == EM 4430 Minor fix for XIOS output of a scalar in write_output_mod.F90. 4431 Also added more helpful error messages in xios_output_mod.F90. -
trunk/LMDZ.MARS/libf/phymars/write_output_mod.F90
r3161 r3169 38 38 #ifdef CPP_XIOS 39 39 ! only send the field to xios if the user asked for it 40 if (xios_is_active_field(field_name)) call send_xios_field(field_name, (/field/))40 if (xios_is_active_field(field_name)) call send_xios_field(field_name,field) 41 41 #endif 42 42 -
trunk/LMDZ.MARS/libf/phymars/xios_output_mod.F90
r3055 r3169 243 243 REAL,DIMENSION(klon_mpi) :: buffer_omp 244 244 REAL :: Field2d(nbp_lon,jj_nb) 245 246 CHARACTER(len=128) :: msg 245 247 246 248 IF (prt_level >= 10) WRITE(lunout,*)'Begin histrwrite2d_xios ',trim(field_name) 247 IF (SIZE(field)/=klon) CALL abort_physic('iophy::histwrite2d_xios','Field first DIMENSION not equal to klon',1) 248 249 IF (SIZE(field)/=klon) THEN 250 WRITE(msg,*) "Pb with field "//trim(field_name)//& 251 " : Field first DIMENSION not equal to klon" 252 CALL abort_physic('iophy::histwrite2d_xios',trim(msg),1) 253 ENDIF 249 254 CALL Gather_omp(field,buffer_omp) 250 255 !$OMP MASTER … … 276 281 INTEGER :: ip, n, nlev 277 282 283 CHARACTER(len=128) :: msg 284 278 285 IF (prt_level >= 10) write(lunout,*)'Begin histrwrite3d_xios ',trim(field_name) 279 286 280 !Et on.... écrit 281 IF (SIZE(field,1)/=klon) CALL abort_physic('iophy::histwrite3d','Field first DIMENSION not equal to klon',1) 287 !And we write... 288 IF (SIZE(field,1)/=klon) THEN 289 WRITE(msg,*) "Pb with field "//trim(field_name)//& 290 " : Field first DIMENSION not equal to klon" 291 CALL abort_physic('iophy::histwrite3d',trim(msg),1) 292 ENDIF 293 282 294 nlev=SIZE(field,2) 283 295
Note: See TracChangeset
for help on using the changeset viewer.