SERROR(3PVM)
β¨ 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 ofpvm_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 invalidsetvalue. 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
- 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