[AMBER-Developers] Bug in LMOD do_list_update

From: Joe Krahn <krahn.niehs.nih.gov>
Date: Wed, 1 Apr 2009 16:06:42 +0100

lmod.f defines do_list_update as a parameter, but it is actually an
intent(out) argument that gets passed down to nonbond_list(), where an
attempt to modify the argument produces a segfault. Apparently, this
part of the code is not getting run in the test scripts.

There are also several instances of do_list_update as a parameter in
debug.f. In looking at the code, I'm not sure that do_list_update is
even useful. It seems to get set inside nonbond_list(), and is otherwise
ignored. Maybe it was originally intent(in) to force an update?

Joe

_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Fri Apr 03 2009 - 01:09:22 PDT
Custom Search