LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Pratik Y. Mehta (pratik_at_[hidden])
Date: 2005-03-23 07:08:33


let me describe task in detail.

After logging in to a system, say comp1, I fire a command to launch the
java application
on k number of hosts, out of m number of hosts running the lamd (m >=
k). The java wrapper
for running the mpi program calls mpirun of LAM to start programs on
those machines with
some environment variables for running java binary there.

Now, there is another java program running on comp1 which requires to
talk with the
virtual machines of first java program instances for collecting
information. For this
purpose, It needs to know IP address of the machines which are actually
running the
distributed java program.

The question is how to access the list of IP addresses of hosts assigned
for
running first java program from second java program.

Terry Frankcombe wrote:

>I don't understand the question. Which process needs to know the IPs? One of
>the MPI processes, or an external (non-MPI) process that wants to know
>something about where the other app is running?
>
>
>
>
>> In a homogeneous network of LAM + Solaris machines, A java tool
>>needs IP addresses of all the nodes running a perticular Java + mpJava
>>program (mpJava is a java wrapper for LAM). The actual program is not
>>know till run-time and hence it is not possible to alter it to get the
>>nodes. Is there a way to obtain list of nodes running that program? It
>>is to be done programatically, but any other known method should help.
>>
>>TIA,
>>Pratik Y. Mehta
>>_______________________________________________
>>This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>>
>>
>
>
>_______________________________________________
>This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
>