Newsgroups: comp.parallel.mpi
From: rcs@parcom.ernet.in (Ramesh Chandrashekar)
Subject: Getting Hostnames
Organization: Centre for Development of Advanced Computing (C-DAC), Pune, INDIA.
Date: Wed, 4 Oct 1995 08:21:15 GMT
Message-ID: <DFx0JK.KtJ@parcom.ernet.in>

I have a written a lib. for hi-speed communication between nodes on our
propietery network. In order to generalise this lib. (uses sockets and
solaris threads), and to integrate it with MPI, I need to know if there
is any way in MPI to determine, either the node-names, or the IP addresses
of all the participating nodes. Reading from the .pg file is one way, but
I am looking for something more elegant. Right now, the RANK to node-name
mapping is hard-coded!

Ramesh Chandrasekhar
--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Living on Earth may be expensive, but it includes an annual free trip
    around the Sun.

			Ramesh Chandrasekhar
			CDAC, Pune Univ. Campus,
			Ganeshkhind, Pune - 411 007.
			INDIA.

		email: rcs@parcom.ernet.in, rcs@seismic.parcom.ernet.in

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

