#INSTALL_DIR = /opt/cray/mpt/7.3.2/gni/mpich-intel/15.0
FC = ftn
-OPT = -O3 -ip -mcmodel=medium -shared-intel -dynamic
+OPT = -O2 -ip -mcmodel=medium -shared-intel -dynamic
+OPTE = -O3 -ip -mcmodel=medium -shared-intel -dynamic
#OPT = -CB -g -mcmodel=medium -shared-intel -dynamic
+#OPTE = ${OPT}
FFLAGS = ${OPT} -c -I. -Iinclude_unres -I$(INSTALL_DIR)/include
+FFLAGSE = ${OPTE} -c -I. -Iinclude_unres -I$(INSTALL_DIR)/include
LIBS = -L$(INSTALL_DIR)/lib -lmpich xdrf/libxdrf.a
.c.o:
xdrf/libxdrf.a:
cd xdrf && make
+energy_p_new.o: energy_p_new.F
+ ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new.F
clean:
/bin/rm -f *.o && /bin/rm -f compinfo && cd xdrf && make clean
include 'COMMON.CLUSTER'
include 'COMMON.FREE'
include 'COMMON.IOUNITS'
+ include 'COMMON.CONTROL'
double precision prob(maxgr)
- write (iout,
- & '("Free energies, probabilities and rmsds of clusters at",
- & f6.1," K")') 1.0d0/(1.987d-3*beta_h(ib))
prob(1)=1.0d0
sumprob=1.0d0
do i=2,ngr
prob(i)=prob(i)/sumprob
enddo
sumprob=0.0d0
- write(iout,'(/7x,4a20)') " RMSD","TMscore","GDT_TS","GDT_HA"
- write(iout,'(a5,2x,a6,10a10)')"clust","efree","cl.ave.",
+ write (iout,*)
+ if (refstr) then
+ write (iout,
+ & '("Free energies, probabilities and rmsds of clusters at",
+ & f6.1," K")') 1.0d0/(1.987d-3*beta_h(ib))
+ write(iout,'(/7x,4a20)') " RMSD","TMscore","GDT_TS","GDT_HA"
+ write(iout,'(a5,2x,a6,10a10)')"clust","efree","cl.ave.",
& "ave.str.",
& "cl.ave.","ave.str","cl.ave","ave.str.","cl.ave","ave.str.",
& "prob","sumprob"
- do i=1,ngr
- sumprob=sumprob+prob(i)
- write (iout,'(i3,2x,f8.1,2f10.3,6f10.4,2f10.4)')
+ do i=1,ngr
+ sumprob=sumprob+prob(i)
+ write (iout,'(i3,2x,f8.1,2f10.3,6f10.4,2f10.4)')
& i,totfree_gr(i)/beta_h(ib),
& rmsave(i),rms_closest(i),tmscore_ave(i),tmscore_closest(i),
& gdt_ts_ave(i),gdt_ts_closest(i),gdt_ha_ave(i),
& gdt_ha_closest(i),prob(i),sumprob
- enddo
+ enddo
+ else
+ write (iout,
+ & '("Free energies and probabilities of clusters at",
+ & f6.1," K")') 1.0d0/(1.987d-3*beta_h(ib))
+ write(iout,'(a5,2x,a6,3a10)')"clust","efree","prob","sumprob"
+ do i=1,ngr
+ sumprob=sumprob+prob(i)
+ write (iout,'(i3,2x,f8.1,2f10.4)')
+ & i,totfree_gr(i)/beta_h(ib),prob(i),sumprob
+ enddo
+ endif
RETURN
END
c create InsightII command file for their displaying in different colors
cfname=prefixp(:ilen(prefixp))//"_T"//ctemper(:ilen(ctemper))
& //"K_"//'ave'//exten
- write (iout,*) "cfname",cfname
+c write (iout,*) "cfname",cfname
OPEN(ipdb,FILE=CFNAME,STATUS='UNKNOWN',FORM='FORMATTED')
write (ipdb,'(a,f8.2)')
& "REMAR AVERAGE CONFORMATIONS AT TEMPERATURE",temper
else
call closest_coord(i)
endif
+ if (refstr) then
c write (iout,*) "Calling rmsnat"
- rms_closest(i) = rmsnat(i)
-
- write (iout,*) "Cluster",i
- call TMscore_sub(rmsd,gdt_ts_closest(i),gdt_ha_closest(i),
+ rms_closest(i) = rmsnat(i)
+c write (iout,*) "Cluster",i
+ call TMscore_sub(rmsd,gdt_ts_closest(i),gdt_ha_closest(i),
& tmscore_closest(i),cfname,.true.)
-c write (iout,*) "WRTCLUST: nsaxs",nsaxs," i",i
+c write (iout,*) "WRTCLUST: nsaxs",nsaxs," i",i
+ endif
if (nsaxs.gt.0 .and. saxs_mode.eq.0) then
call e_saxs(Esaxs_constr)
Cnorm=0.0d0
double precision rmscalc
rmsmin=1.0d10
jconmin=nconf(igr,1)
+c write (iout,*) "CLOSEST_COORD: Average coords"
+c call cartprint
DO K=1,LICZ(IGR)
jcon=nconf(igr,k)
do i=1,2*nres
endif
ENDDO ! K
c write (iout,*) "rmsmin",rmsmin," rms",rms
-c call flush(iout)
+ call flush(iout)
do i=1,2*nres
do j=1,3
c(j,i)=allcart(j,i,jconmin)