Hi All,
I am running Gromacs in a parallel environment using MPICH1.2.7p1.I started
mdrun on 3 nodes,execution is happening correctly but after that mdrun
process is not getting killed,i see  mdrun process still present on the
nodes.

I have run mdrun with -debug option,following are the lines at the end of
the log.

--------------
In gmx_finalize. Will try to synchronize the ring
Succesfully did so! Exiting now.
--------------


I have checked  "$Gromacs-root/src/gmxlib /network.c" file .I see that in
"gmx_finalize" function , execution enters the " #ifdef MPICH_NAME " block
and exits without calling MPI_Finalize() function.Is that the reason for
MPICH not killing the mdrun process it started on the nodes.Following is the
"gmx_finalize" function in my setup.

void gmx_finalize(t_commrec *cr)
{
int ret;
#ifndef GMX_MPI
gmx_call("gmx_finalize");
#else
#ifdef MPICH_NAME
if (debug)
  fprintf(debug,"In gmx_finalize. Will try to synchronize the ring\n");
gmx_sync_ring(cr->nodeid,cr->nnodes,cr->left,cr->right);
if (debug)
  fprintf(debug,"Succesfully did so! Exiting now.\n");
thanx(stdlog);
exit(0);
#else
if (debug)
  fprintf(debug,"Will call MPI_Finalize now\n");
ret = MPI_Finalize();
if (debug)
  fprintf(debug,"Return code from MPI_Finalize = %d\n",ret);
#endif
#endif
}

Thanks,
Sharath.
_______________________________________________
gmx-users mailing list    [email protected]
http://www.gromacs.org/mailman/listinfo/gmx-users
Please don't post (un)subscribe requests to the list. Use the 
www interface or send it to [EMAIL PROTECTED]
Can't post? Read http://www.gromacs.org/mailing_lists/users.php

Reply via email to