9 integer binorascii, reduced, nfraca
16 write(0,*)
" ProcLat: ./procLat$ARCH",
18 write(0,*)
" bin=1-->input is ascii file" 19 write(0,*)
" bin=2--> binary file" 21 *
" filename: path to the input -r.hist file(<256 chars)" 24 call getarg(1, buf, status)
25 read(buf,*) binorascii
26 if(binorascii .ne. 1 .and. binorascii.ne. 2)
then 27 write(0,*)
' error input to binOrascii=',binorascii
31 if(binorascii .eq. 1)
then 42 #include "../ZprivateSub.h" 43 #include "../../../Hist/Z90histc.h" 44 #include "../../../Hist/Z90histo.h" 45 #include "../../../Hist/Z90hist1.h" 56 character*256 filename
60 integer nbinhisto, status
61 integer kwhistReadAscii
67 call getarg(2, filename, status)
71 open(fnot, file=filename,
72 * iostat=status, access=
'sequential',
73 * form=
'unformatted', action=
'read')
74 if(status .ne. 0 )
then 75 write(0,*)
' cannot open file =' 87 read( fnot, end=100 ) histid0
88 if( histid0 .ne.
'#hist1' )
then 89 write(0,*)
' histogram is not 1-D: ',histid0
96 call proclat(h10, ifai, code, i)
105 write(0,*)
' unexpected EOF ' 110 call getarg(2, filename, status)
114 open(fnot, file=filename,
115 * iostat=status, access=
'sequential',
116 * form=
'formatted', action=
'read')
117 if(status .ne. 0 )
then 118 write(0,*)
' cannot open file =' 130 nbinhisto=kwhistreadascii(h10, fnot)
131 if(nbinhisto .le. 0 )
then 132 write(0,*)
' ascii read failed' 141 call proclat(h10, ifai, code, i)
void kwhistd(struct histogram1 *h)
subroutine proclat(h, idxf, code, layer)
void kwhistr(struct histogram1 *h, FILE *bfnor, int icon)
void kwhists(struct histogram1 *h, float inorm)