Changeset 3169 for trunk/LMDZ.MARS/libf
- Timestamp:
- Jan 3, 2024, 12:41:29 PM (12 months ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.