AMBER: bug in ambpdb (AMBER8)

From: Petr Kulhanek <kulhanek.chemi.muni.cz>
Date: Wed, 10 May 2006 12:54:55 +0200

Dear AMBER developers,

There is a bug in file src/etc/ambpdb.f (AMBER8, bugfix 1-60)

At line 88, it should be
allocate( c(3*natom), igraph(natom), ipres(nres+1), lbres(nres),
instead of
allocate( c(3*natom), igraph(natom), ipres(nres), lbres(nres),

The reason is that extra element of IPRES array is accessed at line 243
and 281:

IPRES(NRES+1) = NATOM+1

For our system, this bug led to segmentation fault. As is usuall for
this type of bugs, this was not happened directly at line 243 or 281 but
during fortran internal memory cleaning at STOP statement.

With regards,
        Petr

-- 
##################################################
   Petr Kulhanek
  ------------------------------------------------
   E-mail: kulhanek.chemi.muni.cz
   Phone: +420 - 549 495 459
   WWW: http://www.ncbr.chemi.muni.cz/~kulhanek
  ------------------------------------------------
   National Centre for Biomolecular Research
   Masaryk University
   Kotlarska 2, CZ-611 37 Brno
   Czech Republic
##################################################
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Sun May 14 2006 - 06:07:05 PDT
Custom Search