SERROR(3PVM)

πŸ“¦ version 3.4.6, in debian bookworm, ubuntu jammy

πŸ’… SERROR β€” bestie, it's pvm_serror from PVM Version 3.4

okay so this is SERROR(3PVM), living in the PVM Version 3.4 manual, and it's literally about turning automatic error message printing on and off. that's it. that's the whole gig. πŸŽ€


✨ NAME ✨

pvm_serror β€” sets automatic error message printing on or off.

🫢 heads up bestie: [In Version 3.2: Replaced by pvm_setopt] β€” so like, she's a legacy icon, still serving, but there's a newer girl in town.

🌸 SYNOPSIS 🌸

C, obvs:

int oldset = pvm_serror( int set )

Fortran, also obvs:

call pvmfserror( set, oldset )

πŸ¦‹ PARAMETERS πŸ¦‹

  • set β€” an Integer that says whether detection is getting turned on (1) or off (0). that's the whole vibe check.
  • oldset β€” an Integer holding whatever the previous setting of pvm_serror was. she remembers. πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

so the routine pvm_serror sets automatic error message printing for all subsequent PVM calls made by this process. meaning: any PVM routine that returns an error condition will automatically print the associated error message. no cap, it just does it for you. ✨

the argument set defines whether this detection gets turned on (1) or turned off (0) for subsequent calls.

πŸ‘€ future tea: a value of (2) will, in the future, cause the program to exit after printing the error message. not today though. today it's just 0 and 1.

and then pvm_serror returns the previous value of set in oldset. cute, right? she hands you the receipt. 🧾

also, super important: all stdout and stderr messages get placed in the file /tmp/pvml.<uid> on the master pvmd's host. yes, that host. the master's. not yours. πŸ’€


🌈 EXAMPLES 🌈

C bestie:

info = pvm_serror( 1 );

Fortran bestie:

CALL PVMFSERROR( 0, INFO )

πŸŽ€ ERRORS πŸŽ€

this error condition can be returned by pvm_serror:

  • PvmBadParam β€” you gave it an invalid set value. so like, not 0, not 1... girl what were you doing. πŸ™ˆ

⭐ SEE ALSO ⭐

  • pvm_setopt(3PVM) β€” the replacement, the upgrade, the main character. πŸ’…

and that's the page!! mwah 🫢 this was PVM Version 3.4, dated 30 August, 1993, so yeah she's a vintage queen and we respect her era. stay slaying, and remember: error messages print themselves now, you're welcome. πŸ’–βœ¨

πŸ“¦ where this page comes from