triqs.utility.mpi_mpi4py.master_gets_host_names
- triqs.utility.mpi_mpi4py.master_gets_host_names()[source]
Collect the hostnames of every rank on the master.
Each non-master rank sends
socket.gethostname()to rankmaster, which stores the results in the module-levelHostNamesdictionary and prints them asNode <rank> on machine <hostname>. Abarrier()is taken at the end to keep the ranks in sync.