integer nres,nres0,nsup,nstart_sup,nend_sup,nstart_seq,
& nchain,chain_border,chain_length,ireschain,npermchain,
- & tabpermchain,ishift_pdb,iz_sc
+ & tabpermchain,ishift_pdb,iz_sc,nres_chomo
double precision c,cref,crefjlee,cref_pdb,dc,xloc,xrot,dc_norm,
& t,r,prod,rt,chomo
common /chain/ c(3,maxres2+2),dc(3,maxres2),xloc(3,maxres),
& buflipbot, bufliptop,bordlipbot,bordliptop,lipbufthick,lipthick
common /box/ boxxsize,boxysize,boxzsize,enecut,sscut,sss,sssgrad,
& buflipbot, bufliptop,bordlipbot,bordliptop,lipbufthick,lipthick
- common /chomo_models/ chomo(3,maxres2+2,max_template)
+ common /chomo_models/ chomo(3,maxres2+2,max_template),
+ & nres_chomo(max_template)