PetscGetHostName

Returns the name of the host. This attempts to return the entire Internet name. It may not return the same name as MPI_Get_processor_name().

Synopsis

int PetscGetHostName( char *name, int nlen )
Not Collective

Input Parameter

nlen -length of name

Output Parameter

name -contains host name. Must be long enough to hold the name This is the fully qualified name, including the domain.

Keywords

system, get, host, name

See Also

PetscGetUserName()

Location: src/sys/src/utilsfhost.c
System Index
Table of Contents