@@ -268,7 +268,7 @@ program mksurfdata
268268
269269 ! Some checking
270270 if (root_task) then
271- write (ndiag,' (2(a,I ))' ) ' npes = ' , npes, ' grid size = ' , grid_size
271+ write (ndiag,' (2(a,I0 ))' ) ' npes = ' , npes, ' grid size = ' , grid_size
272272 flush(ndiag)
273273 end if
274274 if (petcount > grid_size ) then
@@ -292,7 +292,7 @@ program mksurfdata
292292 call shr_sys_abort(subname// " failed to open file pio_iotype.txt" )
293293 end if
294294 read (nfpio,* ) ! skip file header
295- read (nfpio, ' (i )' , iostat= ier) pio_iotype
295+ read (nfpio, ' (I6 )' , iostat= ier) pio_iotype
296296 if (ier /= 0 ) then
297297 call shr_sys_abort(subname// " failed to read file pio_iotype.txt" )
298298 end if
@@ -325,7 +325,7 @@ program mksurfdata
325325 node_count = total_nodes(1 )
326326 if (node_count /= grid_size) then
327327 if (root_task) then
328- write (ndiag,' (a, I , a, I )' ) ' node_count = ' , node_count, ' grid_size = ' , grid_size
328+ write (ndiag,' (a, I0 , a, I0 )' ) ' node_count = ' , node_count, ' grid_size = ' , grid_size
329329 flush(ndiag)
330330 end if
331331 call shr_sys_abort(' ERROR: size of input mesh file does not agree with expected size of nx*ny' )
0 commit comments