From: Cezary Czaplewski Date: Wed, 11 Apr 2012 20:46:25 +0000 (+0200) Subject: minimization in csa code is working now correctly X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=commitdiff_plain;h=deb02dfebfe0faeb2b03fbb9221bbbc85d4d269a;p=unres.git minimization in csa code is working now correctly --- diff --git a/source/unres/src_CSA/unres_csa.F b/source/unres/src_CSA/unres_csa.F index 51d6bca..f229a9a 100644 --- a/source/unres/src_CSA/unres_csa.F +++ b/source/unres/src_CSA/unres_csa.F @@ -441,7 +441,8 @@ c print *,'result received from worker ',man,' sending now' iconf=ind(2) write (iout,*) write (iout,*) - write (iout,*) 'Conformation #',iconf,ind(5) + write (iout,*) 'Conformation #',iconf," sumsl return code ", + & ind(5) etot=energy(0) call enerprint(energy(0)) @@ -459,14 +460,14 @@ c print *,'result received from worker ',man,' sending now' imm=imm-1 if (read_cart) then - read (intin,'(e15.10,e15.5)',end=1101,err=1101) time,ene + read (intin,'(e15.10,e15.5)',end=11,err=11) time,ene call read_x(intin,*11) c Broadcast the order to compute internal coordinates to the slaves. if (nfgtasks.gt.1) & call MPI_Bcast(6,1,MPI_INTEGER,king,FG_COMM,IERROR) call int_from_cart1(.false.) else - read (intin,'(i5)',end=1101,err=1101) iconf + read (intin,'(i5)',end=11,err=11) iconf call read_angles(intin,*11) call geom_to_var(nvar,varia) call chainbuild @@ -510,7 +511,8 @@ c Broadcast the order to compute internal coordinates to the slaves. iconf=ind(2) write (iout,*) write (iout,*) - write (iout,*) 'Conformation #',iconf,ind(5) + write (iout,*) 'Conformation #',iconf," sumsl return code ", + & ind(5) etot=energy(0) call enerprint(energy(0))