logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pvm_gsize - Returns the number of members presently in the named group.

Description

       The routine pvm_gsize returns the size of the group named group.  If there  is  an  error  size  will  be
       negative.

       Since  groups  can  change  dynamically  in  PVM  3.0,  this  routine  can  only  guarantee to return the
       instantaneous size of a given group.

Errors

       These error conditions can be returned by pvm_gsize

       PvmSysErr
              pvmd was not started or has crashed.

       PvmBadParam
              giving an invalid group name.

Examples

       C:
            size = pvm_gsize( "worker" );

       Fortran:
            CALL PVMFGSIZE( 'group2', SIZE )

Name

       pvm_gsize - Returns the number of members presently in the named group.

Parameters

       group   Character string group name of an existing group.

       size    Integer  returning  the number of members presently in the group.  Values less than zero indicate
               an error.

See Also

pvm_joingroup(3PVM)

                                                 30 August, 1993                                     GSIZE(3PVM)

Synopsis

Cintsize=pvm_gsize(char*group)Fortrancallpvmfgsize(group,size)

See Also