Increment the run counter c
include 'mc.inc'
integer jj,startgene,tnumzf
startgene=0
open(unit=1,file='run.number',status='old',err=121)
read(1,103) thisfn(1),thisfn(2),thisfn(3),thisfn(4),
1 runnum,startgene,tnumzf,jj
close(unit=1)
runnum=runnum+1
if(jj .eq. 9) then
c Macintosh runit=9 wunit=9
barrier=':'
fchar='c'
else
c SGI wunit=2 runit=5
barrier='/'
fchar='/'
endif
** [color=red:5de370c95e]write(wunit,104) 'R','run.number'[/color:5de370c95e]**
104 format(a1,'-',a10)
open(unit=1,file='run.number',status='old')
rewind(unit=1)
write(1,103) thisfn(1),thisfn(2),thisfn(3),thisfn(4),
1 runnum,startgene,numzf,jj
103 format(4a1,5i5)
write(wunit,102) runnum
102 format('Run=',i9,' ')
close(unit=1)
goto 122
121 continue write(wunit,123) 123 format('RUN.NUMBER file missing') stopprog=.true.
122 continue
end
block data
c----------------------------------------------------------------------- c c Initialize the data statements c
include 'mc.inc'
data chonear /'0','1','2','3','4','5','6','7','8','9',
1 ' ','-',' ','*','o','|',
1 'f','g','h','i','j',
1 'k','l','m','n','o',
1 'p','q','r','s','t',
1 'u','v','w','x','y',
1 'z','A','B','C','D',
1 'E','F','G','H','I',
1 'J','K','L','M','N',
1 'O','P','Q','R','S'/
data schrlimit /10,10,10,10,10,
1 10,10,10,10,10,
1 10,10,10,10,10,
1 10,10,10,10,10,
1 10,10/
end
[/b]