deepmd.utils.hostlist#Functions#get_host_names(→ tuple[str, list[str]])Get host names of all nodes in the cluster.Module Contents#deepmd.utils.hostlist.get_host_names() → tuple[str, list[str]][source]#Get host names of all nodes in the cluster. If mpi4py is not installed or MPI is not used, then the host name of the current node is returned as those of all nodes. Returns:strHost name of the current nodelist[str]List of host names of all nodes in the cluster