GETOPT(3PVM)

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

πŸ’– GETOPT β€” the 3PVM girlies' guide to pvm_getopt πŸ’–

okay so bestie, you know how PVM has a whole vibe of settings you can tweak? yeah. pvm_getopt is the one that just tells you what they're set to right now. no changing, no drama, just receipts. ✨


🌸 NAME 🌸

pvm_getopt β€” literally returns the value of libpvm options. that's it, that's the whole job, and she does it flawlessly. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

C girlies:

int val = pvm_getopt( int what )

Fortran besties:

call pvmfgetopt( what, val )

πŸŽ€ PARAMETERS πŸŽ€

  • what β€” an integer that says which option you're asking about. it's giving "pick a card". one of:
    • PvmRoute 1 β€” message routing policy πŸ›£οΈ
    • PvmDebugMask 2 β€” libpvm debug mask πŸ›
    • PvmAutoErr 3 β€” auto error reporting πŸ“’
    • PvmOutputTid 4 β€” Stdout destination for children πŸ‘Ά
    • PvmOutputCode 5 β€” Output message tag for children 🏷️
    • PvmTraceTid 6 β€” Trace data destination for children πŸ‘£
    • PvmTraceCode 7 β€” Trace message tag for children 🏷️
    • PvmTraceBuffer 8 β€” Trace buffer size for children πŸ“¦
    • PvmTraceOptions 9 β€” Trace collection options for children 🧾
    • PvmFragSize 10 β€” message fragment size 🧩
    • PvmResvTids 11 β€” allow messages to reserved tags and TIDs πŸ”
    • PvmSelfOutputTid 12 β€” Stdout destination πŸ–¨οΈ
    • PvmSelfOutputCode 13 β€” Output message tag 🏷️
    • PvmSelfTraceTid 14 β€” Trace data destination πŸ‘£
    • PvmSelfTraceCode 15 β€” Trace message tag 🏷️
    • PvmSelfTraceBuffer 16 β€” Trace buffer size πŸ“¦
    • PvmSelfTraceOptions 17 β€” Trace collection options 🧾
    • PvmShowTids 18 β€” pvm_catchout prints task ids with output πŸ‘€
    • PvmPollType 19 β€” message wait policy (shared memory) ⏳
    • PvmPollTime 20 β€” message spinwait duration πŸŒ€
    • PvmOutputContext 21 β€” Output message context for children 🧠
    • PvmTraceContext 22 β€” Trace message context for children 🧠
    • PvmSelfOutputContext 23 β€” Output message context 🧠
    • PvmSelfTraceContext 24 β€” Trace message context 🧠
    • PvmNoReset 25 β€” do not kill task on reset 🚫
  • val β€” an integer that comes back holding the value of the option. the answer to your question, the text-back, the "yes i saw ur message". πŸ’Œ

πŸ’œ DESCRIPTION πŸ’œ

so like, pvm_getopt returns the value of the specified option in PVM. that's the whole plot. πŸ“–

if you wanna know what all these options and values actually mean, go read pvm_setopt β€” she's the source of truth, this page is just her read-only twin. iykyk. 🫢

and if something goes wrong? the PVM error code comes back in place of the option value. so if your "value" looks cursed, congrats, you got an error instead. no cap. 😭


🌈 EXAMPLES 🌈

C besties:

val = pvm_getopt( PvmFragSize );

Fortran besties:

CALL PVMFGETOPT( PVMAUTOERR, VAL )

πŸ”₯ ERRORS πŸ”₯

this error condition can be returned, and she will show up if she wants to:

  • PvmBadParam β€” giving an invalid value. πŸ’€ that's it, that's the crime.

⭐ SEE ALSO ⭐

  • pvm_setopt(3PVM) β€” the queen who actually changes things πŸ‘‘

and that's the whole page bestie, mwah πŸ’‹ β€” this was PVM Version 3.4 energy, dated 4 April, 1994, but the slay is timeless. go forth and getopt responsibly πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from