         NAME
              pnet_nodes - Get total number of nodes in the network

         SYNOPSIS
              #include <mpi.h>
              #include "pnet.h"

              int pnet_nodes(const Pnet *pnet);

         DESCRIPTION
              Function returns total number of nodes in the network.
              Function is implemented as a macro.  The argument of
              pnet_nodes is:

              pnet Pointer to initialized Pnet struct

         RETURN VALUE
              Upon successful completion number of nodes in network is
              returned.

         AUTHOR
              Werner von Bloh (bloh@pik-potsdam.de)

         SEE ALSO
              pnet_init(3), pnet_free(3), pnet_setup(3), pnet_lo(3),
              pnet_hi(3)