PERROR(3PVM)
β¨ PERROR(3PVM) β¨
okay bestie, welcome to pvm_perror from PVM Version 3.4 β this is the one that tells you what just went wrong π
π NAME π
pvm_perror β prints a message describing the last error returned by a PVM call.
π SYNOPSIS π
C:
int info = pvm_perror( char *msg )
Fortran:
call pvmfperror( msg, info )
π¦ PARAMETERS π¦
msgβ a character string that you supply, bestie. It gets prepended to the error message of the last PVM call. So you can be like "hey this happened at step 6" and it'll show up right before the actual error. iconic.infoβ the integer status code the routine hands back to you. Values less than zero mean an error. anything < 0 = not slay.
πΈ DESCRIPTION πΈ
So the whole vibe of pvm_perror is: it returns the error message of the last PVM call. That's it, that's the job. π«Ά
You get to use msg to add extra info onto that error message β like where in your code it happened. main character energy for your debugging tbh.
lowkey important: unless it's redirected, all stdout and stderr messages go into the file /tmp/pvml.<uid> on the master host. no cap. so if you're wondering where your prints wentβ¦ they're in there. π
π EXAMPLES π
C:
if ( pvm_send( tid, msgtag ) )
pvm_perror();
Fortran:
CALL PVMFSEND( TID, MSGTAG )
IF( INFO .LT. 0 ) CALL PVMFPERROR( 'Step 6', INFO )
π ERRORS π
ngl there are no errors here β pvm_perror doesn't return any error condition. it's the one telling you about errors. it's giving therapist. π
β SEE ALSO β
(nothing listed in the original, bestie β this page is a solo act π)
and that's the whole page!! PERROR(3PVM) was written by the PVM crew and shipped as part of PVM Version 3.4, dated 30 August, 1993 β like, vintage vintage. periodt. πβ¨π
π¦ 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