TIDTOHOST(3PVM)

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

πŸ’– TIDTOHOST πŸ’–

ok bestie, welcome to the PVM Version 3.4 era of the manual, this one's a little cutie πŸŽ€


✨ NAME ✨

pvm_tidtohost β€” Returns the host of the specified PVM process.

it's giving "who's your host, girlie" πŸ’…


🌸 SYNOPSIS 🌸

C version, look at her:

int dtid = pvm_tidtohost( tid )

Fortran bestie, you get this one:

call pvmftidtoh( tid, dtid )

πŸ¦‹ PARAMETERS πŸ¦‹

  • tid β€” Integer task identifier of the PVM process in question. like, which process are we asking about, bestie? πŸ‘€
  • dtid β€” Integer, and it returns the tid of the host's pvmd3, or a negative value if something went wrong. so if you see a negative number, that's not a vibe, that's an error 😭

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the tea πŸ“

The routine pvm_tidtohost returns the host id on which the process identified by tid is located.

that's it. that's the whole thing. you hand it a tid, it tells you which host that lil process is living on. main character energy honestly πŸ‘‘


πŸ’€ ERRORS πŸ’€

not everything is slay, so here's what can go wrong. The following error conditions can be returned:

  • PvmBadParam β€” An invalid tid value was specified. like girl, that's not a real tid, what are you doing πŸ™ˆ
  • PvmSysErr β€” pvmd not responding. the daemon is ghosting you fr fr πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

go read these next, they're iconic:

  • pvm_config(3PVM)
  • pvm_tasks(3PVM)

🌈 reminder bestie: keep your tids valid and your pvmds alive, and you'll never have to meet PvmSysErr in a dark alley 🫢

mwah πŸ’– that's a wrap on TIDTOHOST(3PVM) from PVM Version 3.4, dated 30 August, 1993. periodt. βœ¨πŸŽ€πŸŒΈ

πŸ“¦ where this page comes from