********> bugfix 1.
Author: Dave Case
Date:   7 April 2008

Programs: NAB

Severity: major for MPI 

Description:  The nblist.c function has some undefined symbols when MPI is
requested.

Fix:  Apply the following fix to amber10/src/nab/nblist.c

Index: nblist.c
===================================================================
RCS file: /thr/loyd/case/cvsroot/amber10/src/nab/nblist.c,v
retrieving revision 1.5
diff -u -r1.5 nblist.c
--- nblist.c	29 Mar 2008 19:49:02 -0000	1.5
+++ nblist.c	7 Apr 2008 21:18:25 -0000
@@ -950,8 +950,8 @@
          threadnum = mycol;
          numthreads = npcol;
       } else if (derivs > 0) {
-         threadnum = mytaskid;
-         numthreads = numtasks;
+         threadnum = get_mytaskid();
+         numthreads = get_numtasks();
       } else {
          threadnum = 0;
          numthreads = 1;
@@ -963,8 +963,8 @@
          threadnum = 0;
          numthreads = 1;
       } else {
-         threadnum = mytaskid;
-         numthreads = numtasks;
+         threadnum = get_mytaskid();
+         numthreads = get_numtasks();
       }
 
 #endif

---------------------------------------------------------------------------
Workarounds:  none.