[gmx-developers] bug in gmx_node_num and gmx_node_id?

MailList alantu9000 at hotmail.com
Tue Apr 20 04:38:45 CEST 2004


Hi, All,

I just notice that in gmx_node_num() of network.c of version 3.2.1:
    int  gmx_node_num(void)
    {
    #ifndef USE_MPI
      return 1;
    #else
      int i;
      return MPI_Comm_size(MPI_COMM_WORLD, &i);
      return i;
    #endif
    }

Should the "return" before MPI_Commsize(...) be removed? and same problem
exists in gmx_node_id().

Thanks.




More information about the gromacs.org_gmx-developers mailing list