---
name: "pvm_tidtohost"
section: "3"
platform: "linux"
package: "pvm-dev"
version: "3.4.2-8"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/pvm_tidtohost"
---

# pvm\_tidtohost(3)

Returns the host of the specified PVM process.

## NAME

pvm\_tidtohost - Returns the host of the specified PVM process.

## SYNOPSIS

```
C	int dtid = pvm_tidtohost( tid )
Fortran	call pvmftidtoh( tid, dtid )
```

## PARAMETERS

- tid

  **Integer task identifier of the PVM process in question.**\

- dtid

  **Integer returns the tid of the host's pvmd3** **or a negative value if an error.**

## DESCRIPTION

**The routine** *pvm\_tidtohost* **returns the host id on which the process identified by** *tid* **is located.**

## ERRORS

**The following error conditions can be returned**

- PvmBadParam

  **An invalid tid value was specified.**

- PvmSysErr

  **pvmd not responding.**

## SEE ALSO

**pvm\_config(3PVM),** **pvm\_tasks(3PVM)**
