GAB: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN -DMP -DMPI \
-DCLUST -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
-GAB: BIN = ../../../../bin/cluster/unres_clustMD-mult_ifort_MPICH_GAB.exe
+GAB: BIN = ../../../../bin/cluster/unres_clustMD-mult_gfort_MPICH_GAB.exe
GAB: ${object} xdrf/libxdrf.a
cc -o compinfo compinfo.c
./compinfo | true
4P: CPPFLAGS = -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN -DMP -DMPI \
-DCLUST -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
-4P: BIN = ../../../../bin/cluster/unres_clustMD-mult_ifort_MPICH_4P.exe
+4P: BIN = ../../../../bin/cluster/unres_clustMD-mult_gfort_MPICH_4P.exe
4P: ${object} xdrf/libxdrf.a
cc -o compinfo compinfo.c
./compinfo | true
E0LL2Y: CPPFLAGS = -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN -DMP -DMPI \
-DCLUST -DSPLITELE -DLANG0
-E0LL2Y: BIN = ../../../../bin/cluster/unres_clustMD-mult_ifort_MPICH_E0LL2Y.exe
+E0LL2Y: BIN = ../../../../bin/cluster/unres_clustMD-mult_gfort_MPICH_E0LL2Y.exe
E0LL2Y: ${object} xdrf/libxdrf.a
cc -o compinfo compinfo.c
./compinfo | true
GAB: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN -DMP -DMPI \
-DCLUST -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
GAB: BIN = ../../../../bin/cluster/unres_clustMD-mult_ifort_MPICH_GAB.exe
-GAB: ${object} xdrf/libxdrf.a
+GAB: ${objects} xdrf/libxdrf.a
cc -o compinfo compinfo.c
./compinfo | true
${FC} ${FFLAGS} cinfo.f
- $(FC) ${OPT} ${object} ${LIBS} -o ${BIN}
+ $(FC) ${OPT} ${objects} ${LIBS} -o ${BIN}
4P: CPPFLAGS = -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN -DMP -DMPI \
-DCLUST -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
4P: BIN = ../../../../bin/cluster/unres_clustMD-mult_ifort_MPICH_4P.exe
-4P: ${object} xdrf/libxdrf.a
+4P: ${objects} xdrf/libxdrf.a
cc -o compinfo compinfo.c
./compinfo | true
${FC} ${FFLAGS} cinfo.f
- $(FC) ${OPT} ${object} ${LIBS} -o ${BIN}
+ $(FC) ${OPT} ${objects} ${LIBS} -o ${BIN}
E0LL2Y: CPPFLAGS = -DLINUX -DPGI -DAMD64 -DUNRES -DISNAN -DMP -DMPI \
-DCLUST -DSPLITELE -DLANG0
E0LL2Y: BIN = ../../../../bin/cluster/unres_clustMD-mult_ifort_MPICH_E0LL2Y.exe
-E0LL2Y: ${object} xdrf/libxdrf.a
+E0LL2Y: ${objects} xdrf/libxdrf.a
cc -o compinfo compinfo.c
./compinfo | true
${FC} ${FFLAGS} cinfo.f
- $(FC) ${OPT} ${object} ${LIBS} -o ${BIN}
+ $(FC) ${OPT} ${objects} ${LIBS} -o ${BIN}
xdrf/libxdrf.a:
cd xdrf && make
& restyp(iti),hfrag(1,j)-1,
& restyp(itj),hfrag(2,j)-1,1,hfrag(2,j)-hfrag(1,j)
else
- write (iunit,'(a5,i5,1x,a1,i2,1x,a3,i7,2x,a3,i7,i3)')
+ write (iunit,'(a5,i5,1x,a1,i2,1x,a3,i7,2x,a3,i7,i3,t76,i5)')
& 'HELIX',j,'H',j,
& restyp(iti),hfrag(1,j)-1,
& restyp(itj),hfrag(2,j)-1,1,hfrag(2,j)-hfrag(1,j)
parameter (maxperm=120)
C Max. number of variables
integer maxvar
- parameter (maxvar=4*maxres)
+ parameter (maxvar=6*maxres)
C Max. number of groups of interactions that a given SC is involved in
integer maxint_gr
parameter (maxint_gr=2)
C DO NOT EDIT THIS FILE - IT HAS BEEN GENERATED BY COMPINFO.C
-<<<<<<< HEAD
-C 0 40360 9
+C 0 40376 2
subroutine cinfo
include 'COMMON.IOUNITS'
write(iout,*)'++++ Compile info ++++'
- write(iout,*)'Version 0.40360 build 9'
- write(iout,*)'compiled Fri Jan 23 21:00:08 2015'
- write(iout,*)'compiled by adam@mmka'
-=======
-C 0 40360 1
- subroutine cinfo
- include 'COMMON.IOUNITS'
- write(iout,*)'++++ Compile info ++++'
- write(iout,*)'Version 0.40360 build 1'
- write(iout,*)'compiled Wed Jan 7 10:41:15 2015'
- write(iout,*)'compiled by czarek@piasek4'
->>>>>>> 9a082c1ab203120d8e865971546d473fb146fcdc
+ write(iout,*)'Version 0.40376 build 2'
+ write(iout,*)'compiled Sun May 10 03:42:01 2015'
+ write(iout,*)'compiled by adam@piasek4'
write(iout,*)'OS name: Linux '
- write(iout,*)'OS release: 3.2.0-72-generic '
+ write(iout,*)'OS release: 3.2.0-70-generic '
write(iout,*)'OS version:',
- & ' #107-Ubuntu SMP Thu Nov 6 14:24:01 UTC 2014 '
+ & ' #105-Ubuntu SMP Wed Sep 24 19:49:16 UTC 2014 '
write(iout,*)'flags:'
-<<<<<<< HEAD
- write(iout,*)'INSTALL_DIR = /users/software/mpich-1.2.7p1_int...'
-=======
write(iout,*)'INSTALL_DIR = /users/software/mpich2-1.4.1p1_in...'
->>>>>>> 9a082c1ab203120d8e865971546d473fb146fcdc
write(iout,*)'FC= ifort'
write(iout,*)'OPT = -O3 -ip '
write(iout,*)'FFLAGS = -c ${OPT} -I$(INSTALL_DIR)/include '
& restyp(iti),hfrag(1,j)-1,
& restyp(itj),hfrag(2,j)-1,1,hfrag(2,j)-hfrag(1,j)
else
- write (iunit,'(a5,i5,1x,a1,i2,1x,a3,i7,2x,a3,i7,i3)')
+ write (iunit,'(a5,i5,1x,a1,i2,1x,a3,i7,2x,a3,i7,i3,t76,i5)')
& 'HELIX',j,'H',j,
& restyp(iti),hfrag(1,j)-1,
& restyp(itj),hfrag(2,j)-1,1,hfrag(2,j)-hfrag(1,j)
ibond_start=2
ibond_end=nres-1
ibondp_start=nnt
- ibondp_end=nct-1
+ ibondp_end=nct
ivec_start=1
ivec_end=nres-1
iset_start=3
FFLAGS1 = -c -w -g -d2 -CA -CB -I$(INSTALL_DIR)/include
FFLAGS2 = -c -w -g -O0 -I$(INSTALL_DIR)/include
FFLAGSE = -c -w -O3 -ipo -ipo_obj -opt_report -I$(INSTALL_DIR)/include
+FFLAGS = ${FFLAGS1}
+FFLAGS2 = ${FFLAGS1}
+FFLAGSE = ${FFLAGS1}
CC = cc
tauangle(2,i+1)=beta(i-2,i-1,i,i+nres)
endif
endif
+c write (2,*) "i",i,tauangle(1,i+1),tauangle(2,i+1),
+c & omicron(1,i),omicron(2,i)
omeg(i)=beta(nres+i,i,maxres2,i+1)
alph(i)=alpha(nres+i,i,maxres2)
theta(i+1)=alpha(i-1,i,i+1)
C DO NOT EDIT THIS FILE - IT HAS BEEN GENERATED BY COMPINFO.C
-C 3 2 132
+C 3 2 162
subroutine cinfo
include 'COMMON.IOUNITS'
write(iout,*)'++++ Compile info ++++'
- write(iout,*)'Version 3.2 build 132'
- write(iout,*)'compiled Mon Jan 5 06:40:38 2015'
+ write(iout,*)'Version 3.2 build 162'
+ write(iout,*)'compiled Sun May 10 03:06:38 2015'
write(iout,*)'compiled by adam@piasek4'
write(iout,*)'OS name: Linux '
write(iout,*)'OS release: 3.2.0-70-generic '
write(iout,*)'OS version:',
& ' #105-Ubuntu SMP Wed Sep 24 19:49:16 UTC 2014 '
write(iout,*)'flags:'
- write(iout,*)'INSTALL_DIR = /users/software/mpich2-1.0.7'
- write(iout,*)'FC= gfortran'
- write(iout,*)'OPT = -O'
- write(iout,*)'FFLAGS = -c ${OPT} -I$(INSTALL_DIR)/include'
- write(iout,*)'FFLAGS1 = -c -I$(INSTALL_DIR)/include'
- write(iout,*)'FFLAGS2 = -c -O0 -I$(INSTALL_DIR)/include'
- write(iout,*)'FFLAGS3 = -c -O -I$(INSTALL_DIR)/include'
- write(iout,*)'FFLAGSE = -c -O3 -I$(INSTALL_DIR)/include'
- write(iout,*)'LIBS = -L$(INSTALL_DIR)/lib -lmpich -lpthread x...'
+ write(iout,*)'INSTALL_DIR = /users/software/mpich-1.2.7p1_int...'
+ write(iout,*)'FC= ifort'
+ write(iout,*)'OPT = -O3 -ip '
+ write(iout,*)'FFLAGS = -c ${OPT} -I$(INSTALL_DIR)/include '
+ write(iout,*)'FFLAGS1 = -c -g -CA -CB -I$(INSTALL_DIR)/inclu...'
+ write(iout,*)'FFLAGS2 = -c -g -O0 -I$(INSTALL_DIR)/include '
+ write(iout,*)'FFLAGSE = -c -O3 -ipo -opt_report -I$(INSTALL...'
+ write(iout,*)'LIBS = -L$(INSTALL_DIR)/lib -lmpich xdrf/libxdr...'
write(iout,*)'ARCH = LINUX'
write(iout,*)'PP = /lib/cpp -P'
write(iout,*)'object = unres.o arcos.o cartprint.o chainbuild...'
- write(iout,*)'GAB: CPPFLAGS = -DPROCOR -DLINUX -DG77 -DAMD64 ...'
- write(iout,*)'GAB: BIN = ../../../bin/unres/MD/unres_gfort_MP...'
- write(iout,*)'4P: CPPFLAGS = -DLINUX -DG77 -DAMD64 -DUNRES -D...'
- write(iout,*)'4P: BIN = ../../../bin/unres/MD/unres_gfort_MPI...'
- write(iout,*)'E0LL2Y: CPPFLAGS = -DPROCOR -DLINUX -DG77 -DAMD...'
- write(iout,*)'E0LL2Y: BIN = ../../../bin/unres/MD/unres_gfort...'
+ write(iout,*)'GAB: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DAMD64 ...'
+ write(iout,*)'GAB: BIN = ../../../bin/unres/MD/unres_ifort_MP...'
+ write(iout,*)'4P: CPPFLAGS = -DLINUX -DPGI -DAMD64 -DUNRES -D...'
+ write(iout,*)'4P: BIN = ../../../bin/unres/MD/unres_ifort_MPI...'
+ write(iout,*)'E0LL2Y: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DAMD...'
+ write(iout,*)'E0LL2Y: BIN = ../../../bin/unres/MD/unres_ifort...'
write(iout,*)'++++ End of compile info ++++'
return
end
enddo
enddo
10 continue
-c lprn1=.true.
if (lprn1) write (iout,'(a4,i2,3f8.1,9h ethetai ,f10.5)')
& 'ebe', i,theta(i)*rad2deg,phii*rad2deg,
& phii1*rad2deg,ethetai
-c lprn1=.false.
etheta=etheta+ethetai
if (i.gt.3) gloc(i-3,icg)=gloc(i-3,icg)+wang*dephii
if (i.lt.nres) gloc(i-2,icg)=gloc(i-2,icg)+wang*dephii1
c(see comment below)
C print *,i,tauangle(1,i)
- do intertyp=1,3 !intertyp
+c do intertyp=1,3 !intertyp
+ do intertyp=2,2 !intertyp
cc Added 09 May 2012 (Adasko)
cc Intertyp means interaction type of backbone mainchain correlation:
c 1 = SC...Ca...Ca...Ca
enddo !intertyp
enddo
c do i=1,nres
-c write (iout,*) "W@T@F", gloc_sc(1,i,icg),gloc(i,icg)
+c write (iout,*) "W@T@F", gloc_sc(1,i,icg),gloc_sc(2,i,icg),
+c & gloc_sc(3,i,icg)
c enddo
return
end
& restyp(iti),hfrag(1,j)-1,
& restyp(itj),hfrag(2,j)-1,1,hfrag(2,j)-hfrag(1,j)
else
- write (iunit,'(a5,i5,1x,a1,i2,1x,a3,i7,2x,a3,i7,i3)')
+ write (iunit,'(a5,i5,1x,a1,i2,1x,a3,i7,2x,a3,i7,i3,t76,i5)')
& 'HELIX',j,'H',j,
& restyp(iti),hfrag(1,j)-1,
& restyp(itj),hfrag(2,j)-1,1,hfrag(2,j)-hfrag(1,j)
c gloc(i,icg)=0.0D0
c write (iout,*) "poczotkoawy",i,gloc_sc(1,i,icg)
c enddo
+c write (iout,*) "dtauangle"
+c do i=1,nres
+c write (iout,*) i
+c do j=1,3
+c do k=1,3
+c write (iout,*) (dtauangle(l,k,j,i),l=1,3)
+c enddo
+c enddo
+c enddo
if (nres.lt.2) return
if ((nres.lt.3).and.(itype(1).eq.10)) return
if ((itype(1).ne.10).and.(itype(1).ne.21)) then
include 'COMMON.VAR'
include 'COMMON.GEO'
include 'COMMON.MINIM'
+ include 'COMMON.CONTROL'
common /srutu/ icall
dimension iv(liv)
double precision minval,x(maxvar),d(maxvar),v(1:lv),xx(maxvar)
c call chainbuild
c call etotal(energia(0))
c etot = energia(0)
+c icheckgrad=3
+c call exec_checkgrad
IF (mask_r) THEN
call x2xx(x,xx,nvar_restr)
call sumsl(nvar_restr,d,xx,func_restr,grad_restr,
ELSE
call sumsl(nvar,d,x,func,gradient,iv,liv,lv,v,idum,rdum,fdum)
ENDIF
+c icheckgrad=3
+c call exec_checkgrad
etot=v(10)
iretcode=iv(1)
cd print *,'Exit SUMSL; return code:',iretcode,' energy:',etot
enddo
endif
enddo
+ print *,"check_ecart before sumsl"
+c icheckgrad=2
+c call exec_checkgrad
call sumsl(k,d,x,func_dc,grad_dc,iv,liv,lv,v,idum,rdum,fdum)
etot=v(10)
iretcode=iv(1)
nfun=iv(6)
+ print *,"check_ecart"
+c icheckgrad=2
+c call exec_checkgrad
return
end
parameter (max_cg_procs=maxprocs)
C Max. number of AA residues
integer maxres
- parameter (maxres=100)
+ parameter (maxres=800)
C Appr. max. number of interaction sites
integer maxres2,maxres6,mmaxres2
parameter (maxres2=2*maxres,maxres6=6*maxres)
& restyp(iti),hfrag(1,j)-1,
& restyp(itj),hfrag(2,j)-1,1,hfrag(2,j)-hfrag(1,j)
else
- write (iunit,'(a5,i5,1x,a1,i2,1x,a3,i7,2x,a3,i7,i3)')
+ write (iunit,'(a5,i5,1x,a1,i2,1x,a3,i7,2x,a3,i7,i3,t76,i5)')
& 'HELIX',j,'H',j,
& restyp(iti),hfrag(1,j)-1,
& restyp(itj),hfrag(2,j)-1,1,hfrag(2,j)-hfrag(1,j)
else if (modecalc.eq.5) then
call exec_checkgrad
else
- write (iout,'(a)') 'This calculation type is not supported',
+ write (iout,'(a,i5)')
+ & 'This calculation type is not supported',
& ModeCalc
endif
#ifdef MPI