LVGROUP(3PVM)
π LVGROUP β leaving the group chat (but make it PVM) π
okay bestie, so this is pvm_lvgroup from PVM Version 3.4, manual page LVGROUP(3PVM). Short version: it's the "i'm leaving the group chat" button, but for a PVM named group. no drama, just β¨departureβ¨.
πΈ NAME πΈ
pvm_lvgroup β unenrolls the calling process from a named group. that's it, that's the whole job. it's giving "peace out, i'm out of here" π¦
β¨ SYNOPSIS β¨
C girlies:
int info = pvm_lvgroup( char *group )
Fortran girlies:
call pvmflvgroup( group, info )
π PARAMETERS π
groupβ a character string, the group name of an existing group. like, it has to already exist, okay? don't be out here making up groups πinfoβ the integer status code the routine hands back to you. if it's less than zero, that's a big yikes, something went wrong. negative = error, periodt.
π DESCRIPTION π
So pvm_lvgroup unenrolls the calling process from the group named group. that's the whole vibe. and if there's an error, info will be negative β like, the routine will literally tell you it's upset.
Now here's the tea, and it's important tea π«: if a process leaves a group by calling either pvm_lvgroup or pvm_exit, and then later rejoins the same group, the process may be assigned a new instance number. and the old instance numbers? yeah, those get reassigned to processes calling pvm_joingroup. so don't get attached to your instance number bestie, it's not forever. π
π EXAMPLES π
C:
info = pvm_lvgroup( "worker" );
Fortran:
CALL PVMFLVGROUP( 'group2', INFO )
look at her go, so iconic π
π ERRORS π
here's the hall of shame β the error conditions pvm_lvgroup can return. if you see any of these, that's not a slay, that's a cry π
PvmSysErrβpvmdnot responding. the daemon ghosted you fr fr πPvmBadParamβ you gave aNULLgroup name. not the move bestie, that's giving nothing to work with.PvmNoGroupβ you gave a non-existent group name. that group is not real, it never was πΈPvmNotInGroupβ you're asking to leave a group you're not even a member of. main character energy but in the wrong way π
π₯ SEE ALSO π₯
pvm_joingroup(3PVM)β the opposite of this whole page. the "hiii can i join π" one.
and that's the whole manual, bestie!! written 30 August, 1993 in PVM Version 3.4 β old but still lowkey serving β¨ go forth and leave your groups responsibly π«Άπ
π¦ where this page comes from
- debian bookworm: pvm-dev 3.4.6-5
- ubuntu jammy: pvm-dev 3.4.6-3.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms