SERROR(3PVM)

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

✨ SERROR(3PVM) ✨

okay bestie, welcome to the PVM Version 3.4 manual, section 3PVM, page SERROR πŸ’–


🌸 NAME 🌸

pvm_serror β€” sets automatic error message printing on or off πŸ’…

heads up girlypop: in Version 3.2 this got replaced by pvm_setopt β€” so like, it's giving legacy, but we still love her 🫢

πŸŽ€ SYNOPSIS πŸŽ€

C:

int oldset = pvm_serror( int set )

Fortran:

call pvmfserror( set, oldset )

πŸ¦‹ PARAMETERS πŸ¦‹

  • set β€” an integer that says whether detection is turned on (1) or off (0). literally the vibe switch 🎚️
  • oldset β€” an integer holding the previous setting of pvm_serror. the receipts from last time, no cap πŸ“Έ

πŸ’œ DESCRIPTION πŸ’œ

so the routine pvm_serror sets automatic error message printing for all subsequent PVM calls made by this process. any PVM routines that return an error condition will automatically print the associated error message β€” it's giving self-reporting, and honestly? obsessed. πŸ‘‘

the argument set defines whether this detection is to be 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. so like, dramatic exit energy. noted. πŸ’€

pvm_serror returns the previous value of set in oldset. iconique behaviour, truly.

also important bestie: all stdout and stderr messages get placed in the file /tmp/pvml.<uid> on the master pvmd's host. that's where the gossip lives πŸ“


🌈 EXAMPLES 🌈

C:

info = pvm_serror( 1 );

Fortran:

CALL PVMFSERROR( 0, INFO )

πŸ”₯ ERRORS πŸ”₯

this error condition can be returned by pvm_serror:

  • PvmBadParam β€” giving an invalid set value. ma'am that is not a valid number, try again 😭

🧚 SEE ALSO 🧚

pvm_setopt(3PVM)


and that's the whole page, bestie!! this was brought to you by PVM Version 3.4, dated 30 August, 1993 β€” a whole era, fr fr. go forth and set your errors, you absolute main character πŸ‘‘πŸ’–βœ¨

πŸ“¦ where this page comes from