1 c---------------------------------
3 implicit real*8 (a-h,o-z)
7 include 'COMMON.IOUNITS'
9 open(icsa_in,file=csa_in,status="old",err=100)
11 read(icsa_in,*) jstart,jend
12 read(icsa_in,*) nstmax
13 read(icsa_in,*) n1,n2,n3,n4,n5,n6,n7,n8,is1,is2
14 read(icsa_in,*) nran0,nran1,irr
16 read(icsa_in,*) ntotal,cut1,cut2
18 read(icsa_in,*) icmax,irestart
19 read(icsa_in,*) ntbankm,dele,difcut
20 read(icsa_in,*) iref,rmscut,pnccut
29 c---------------------------------
30 subroutine initial_write
31 implicit real*8 (a-h,o-z)
35 include 'COMMON.IOUNITS'
37 open(icsa_seed,file=csa_seed,status="unknown")
38 write(icsa_seed,*) "seed"
40 #if defined(AIX) || defined(PGI)
41 open(icsa_history,file=csa_history,status="unknown",
44 open(icsa_history,file=csa_history,status="unknown",
47 write(icsa_history,*) nconf
48 write(icsa_history,*) jstart,jend
49 write(icsa_history,*) nstmax
50 write(icsa_history,*) n1,n2,n3,n4,n5,n6,n7,n8,is1,is2
51 write(icsa_history,*) nran0,nran1,irr
52 write(icsa_history,*) nseed
53 write(icsa_history,*) ntotal,cut1,cut2
54 write(icsa_history,*) estop
55 write(icsa_history,*) icmax,irestart
56 write(icsa_history,*) ntbankm,dele,difcut
57 write(icsa_history,*) iref,rmscut,pnccut
58 write(icsa_history,*) ndiff
63 open(icsa_bank1,file=csa_bank1,status="unknown")
69 c---------------------------------
70 subroutine restart_write
71 implicit real*8 (a-h,o-z)
73 include 'COMMON.IOUNITS'
77 #if defined(AIX) || defined(PGI)
78 open(icsa_history,file=csa_history,position="append")
80 open(icsa_history,file=csa_history,access="append")
83 write(icsa_history,*) "This is restart"
85 write(icsa_history,*) nconf
86 write(icsa_history,*) jstart,jend
87 write(icsa_history,*) nstmax
88 write(icsa_history,*) n1,n2,n3,n4,n5,n6,n7,n8,is1,is2
89 write(icsa_history,*) nran0,nran1,irr
90 write(icsa_history,*) nseed
91 write(icsa_history,*) ntotal,cut1,cut2
92 write(icsa_history,*) estop
93 write(icsa_history,*) icmax,irestart
94 write(icsa_history,*) ntbankm,dele,difcut
95 write(icsa_history,*) iref,rmscut,pnccut
96 write(icsa_history,*) ndiff
98 write(icsa_history,*) "irestart is: ", irestart
100 write(icsa_history,*)
105 c---------------------------------