- Timestamp:
- 11/19/09 11:29:48 (14 years ago)
- Branches:
- master
- Children:
- 7137e5d
- Parents:
- 32289cd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
getmol.f
r32289cd r38d77eb 49 49 50 50 if (iopfil(lunlib,reslib,'old','formatted').le.izero) then 51 write ( *,'(a,/,a,i3,2a)')51 write (logString, '(a,/,a,i3,2a)') 52 52 & ' getmol> ERROR opening library of residues:', 53 53 & ' LUN=',lunlib,' FILE=',reslib(1:iendst(reslib)) … … 74 74 75 75 if (res(:3).eq.'nme'.and.nrs.ne.ilars) then 76 write ( *,'(3a)') ' getmol> residue >',res,76 write (logString, '(3a)') ' getmol> residue >',res, 77 77 & '< allowed at C-terminus only !' 78 78 close(lunlib) 79 79 stop 80 80 elseif (res(:3).eq.'ace'.and.nrs.ne.ifirs) then 81 write ( *,'(3a)') ' getmol> residue >',res,81 write (logString, '(3a)') ' getmol> residue >',res, 82 82 & '< allowed at N-terminus only !' 83 83 close(lunlib) … … 88 88 89 89 if ((nat+ntlat).gt.mxat) then 90 write ( *,'(a,i5)') ' getmol> number of atoms > ',mxat90 write (logString, '(a,i5)') ' getmol> number of atoms > ',mxat 91 91 close(lunlib) 92 92 stop 93 93 endif 94 94 if ((nvr+ntlvr).gt.mxvr) then 95 write (*,'(a,i5)') ' getmol> number of variables > ',mxvr 95 write (logString, '(a,i5)') ' getmol> number of variables > ' 96 & ,mxvr 96 97 close(lunlib) 97 98 stop … … 139 140 nbd=nbdat(nh) 140 141 if (nbd.eq.mxbd) then 141 write (*,'(a,i2,a,i4,2a,i4,a)')142 write (logString, '(a,i2,a,i4,2a,i4,a)') 142 143 & ' getmol> need ',(mxbd+2), 143 144 & 'th bond to connect residues ', … … 154 155 155 156 if (t.eq.0.0) then 156 write ( *,'(3a,/,2a)')157 write (logString, '(3a,/,2a)') 157 158 & ' getmol> DIHEDRAL for atom ',nmat(nj), 158 159 & ' should be PHASE angle with respect to atom ', … … 312 313 313 314 if (nat.gt.mxath) then 314 write ( *,'(a,i5)') ' redres> number of atoms > ',mxath315 write (logString, '(a,i5)') ' redres> number of atoms > ',mxath 315 316 close(lunlib) 316 317 stop … … 340 341 if (iexcp.eq.0.and.i.le.jow) then 341 342 if (i.eq.jow) then 342 write (*,'(5a)') ' redres> atom ',nmath(i),' of ',343 write(logString,'(5a)') ' redres> atom ',nmath(i),' of ', 343 344 & resl,' cannot preceed itself ' 344 345 else 345 write (*,'(5a,i4)') ' redres> atom ',nmath(i),' of ', 346 write (logString, '(5a,i4)') 347 & ' redres> atom ',nmath(i),' of ', 346 348 & resl,' should be placed AFTER atom #',jow 347 349 endif … … 394 396 395 397 if (nvrr.gt.mxvrh) then 396 write (*,'(a,i5)') ' redres> number of variables > ', 398 write (logString, '(a,i5)') 399 & ' redres> number of variables > ', 397 400 & mxvrh 398 401 close(lunlib) … … 423 426 424 427 ! ____________________________________________________________ ERRORS 425 2 write (*,'(4a)') ' redres> residue >',resl,'< NOT FOUND in ', 428 2 write (logString, '(4a)') ' redres> residue >',resl, 429 & '< NOT FOUND in ', 426 430 &reslib(1:iendst(reslib)) 427 431 close(lunlib) 428 432 stop 429 433 430 3 write (*,'(a,i4,2a)') ' redres> ERROR reading line No. ',nln, 431 &' in ',reslib(1:iendst(reslib)) 434 3 write (logString, '(a,i4,2a)') ' redres> ERROR reading line No. ', 435 & nln, 436 & ' in ',reslib(1:iendst(reslib)) 432 437 close(lunlib) 433 438 stop 434 439 435 4 write (*,'(4a)') ' redres> Incorrect order of bonds for atom ', 440 4 write (logString, '(4a)') 441 & ' redres> Incorrect order of bonds for atom ', 436 442 & nmath(i),' of ',resl 437 443 438 5 write ( *,'(8x,2a)') '... must correct ',444 5 write (logString, '(8x,2a)') '... must correct ', 439 445 & reslib(1:iendst(reslib)) 440 446 close(lunlib) 441 447 stop 442 448 443 6 write ( *,'(a,i2,4a)') ' redres> unknown type :',ity,449 6 write (logString, '(a,i2,4a)') ' redres> unknown type :',ity, 444 450 & ': for atom ',nmath(i),' in residue ',resl 445 451 close(lunlib) 446 452 stop 447 453 448 7 write ( *,'(a,i2,4a)') ' redres> unknown class :',ic,454 7 write (logString, '(a,i2,4a)') ' redres> unknown class :',ic, 449 455 & ': for variable ',nm(j),' in residue ',resl 450 456 close(lunlib)
Note:
See TracChangeset
for help on using the changeset viewer.