Re: [AMBER-Developers] Fwd: [AMBER] segmentation fault when running sander

From: David A Case <case.biomaps.rutgers.edu>
Date: Thu, 19 May 2011 07:53:38 -0400

On Wed, May 18, 2011, Jason Swails wrote:
>
> Another person had emailed Ross about this issue (just saw segfaults), which
> I traced back to this disconnect between ATOMS_PER_MOLECULE and NATOM. The
> code certainly requires these to match, but in these particular places they
> don't. I'm not sure how these prmtops were created in the first place.
>
> The question is, should we add a consistency check that forces this
> condition and bombs with a helpful error message,

This sounds like such an easy thing to do that we should go ahead. It's true
that we can't catch all errors, but this is one that has cropped up several
times, and better error checking on inputs always seems like a good idea.

....dave


_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Thu May 19 2011 - 05:00:05 PDT
Custom Search