PGFIO-F-231/formatted read/internal file/error on data conversion

1,322 views
Skip to first unread message

leon

unread,
Apr 26, 2009, 3:18:30 AM4/26/09
to GETM-users
when I run the testcase ns_06mn without bio, I get such problem:

MPI is initialised - v2.0
Process 1 MPI is initialised - v2.0
Process 3 of 4 is alive on node48
of 4 is alive on node48
MPI is initialised - v2.0
Process 0 of 4 is alive on node48
MPI is initialised - v2.0
Process 2 of 4 is alive on node48
PGFIO-F-231/formatted read/internal file/error on data conversion.
In source file time.F90, at line number 439
PGFIO-F-231/formatted read/internal file/error on data conversion.
In source file time.F90, at line number 439
PGFIO-F-231/formatted read/internal file/error on data conversion.
In source file time.F90, at line number 439
PGFIO-F-231/formatted read/internal file/error on data conversion.
In source file time.F90, at line number 439
real 0.35
user 0.02
sys 0.00
+ exit 0


The code of time.F90 near line 439 is:
...............................................................
...............................................................
subroutine String2JulSecs(timestr,jul,secs)
!
! !DESCRIPTION:
!
! !USES:
!
! !INPUT PARAMETERS:
character(len=19) :: timestr
!
! !INPUT/OUTPUT PARAMETERS:
!
! !OUTPUT PARAMETERS:
integer, intent(out) :: jul,secs
!
! !REVISION HISTORY:
! 22Nov Author name Initial code
!
! !LOCAL VARIABLES:
character :: c1,c2,c3,c4
integer :: yy,mm,dd,hh,min,ss
!EOP
!-----------------------------------------------------------------------
!BOC

READ(timestr,'(i4,a1,i2,a1,i2,1x,i2,a1,i2,a1,i2)') &
<--------------------------------line 439
yy,c1,mm,c2,dd,hh,c3,min,c4,ss
call JulDay(yy,mm,dd,jul)
secs = 3600*hh + 60*min + ss

return
end subroutine String2JulSecs

............................................................
...........................................................

Is something wrong in line 439? How to fix it?




Patrick Rosendahl

unread,
Apr 28, 2009, 3:58:53 AM4/28/09
to getm-...@googlegroups.com
Hi,
I pasted this into google: "GFIO-F-231/formatted read/internal
file/error on data conversion"
and got that for example:
http://forum.wrfforum.com/viewtopic.php?f=21&t=639

It seems timestr is malformatted.
/Patrick
Reply all
Reply to author
Forward
0 new messages