C Print internal coordinates of the initial conformation
call intout
else
- call gen_rand_conf(1,*20)
+ jeden=1
+ nrestmp=nres
+ call gen_rand_conf(jeden,nrestmp,*20)
endif
C----------------------------------------------------------------------------
C Compute and print initial energies.
if (print_mc.gt.0)
& write (iout,'(2a,i3)') 'Random-generated conformation',
& ' - chain regrown from residue',nstart_grow
- call gen_rand_conf(nstart_grow,*30)
+ nrestmp=nres
+ call gen_rand_conf(nstart_grow,nrestmp,*30)
endif
call geom_to_var(nvar,varia)
cd write (iout,'(a)') 'New variables:'
endif
C Check against conformation repetitions.
irep=conf_comp(varia,etot)
-#if defined(AIX) || defined(PGI)
+#if defined(AIX) || defined(PGI) || defined(CRAY)
open (istat,file=statname,position='append')
#else
open (istat,file=statname,access='append')