/[PAMELA software]/gpamela/aux/writeseeds.f
ViewVC logotype

Contents of /gpamela/aux/writeseeds.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3.1 - (show annotations) (download)
Mon Jul 25 11:53:20 2005 UTC (19 years, 4 months ago) by cafagna
Branch: MAIN
CVS Tags: v4r4, v4r5, v4r6, v4r7, v4r3, v4r8, v4r9, v4r14, v4r12, v4r13, v4r10, v4r11, HEAD
Error occurred while calculating annotation data.
Several updates. See history for details

1 PROGRAM WRITESEEDS
2 C # A simple program to write the initial seeds in a binary file
3 integer lun
4 integer ran(4)
5 character*256 filename
6
7 lun=1
8 print*, " Please enter the filename :"
9 read*,filename
10 length=len_trim(filename)
11 lun=1
12 print*, " Opening file : ",filename(1:len_trim(filename))
13 open(unit=lun,file=filename,
14 + status='unknown',form='unformatted')
15 print*, " Please enter four unsigned integer :"
16 read*, (ran(i),i=1,4)
17 write(lun) ran
18 print*," Seeds : ", ran
19 print*," Wrote to file : ",filename(1:len_trim(filename))
20 close(lun)
21 stop
22 end

  ViewVC Help
Powered by ViewVC 1.1.23