Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Network connection check
From: vipin kumar (vipinkumar41_at_[hidden])
Date: 2009-07-22 10:05:52


Hi Jeff,

Thanks for your response.

Actually requirement is how a C/C++ program running in "master" node should
find out whether "slave" node is reachable (as we check this using "ping"
command) or not ? Because IP address may change at any time, that's why I am
trying to achieve this using "host name" of the "slave" node. How this can
be done?

Thanks & Regards,

On Wed, Jul 22, 2009 at 6:54 PM, Jeff Squyres <jsquyres_at_[hidden]> wrote:

> I'm not sure what you mean. Open MPI uses the hostname of the machine for
> general identification purposes. That may be the same (or not) from the
> resolved name that comes back for a given IP interface.
>
> What are you trying to check, exactly?
>
>
>
> On Jul 16, 2009, at 1:56 AM, vipin kumar wrote:
>
> Hi all,
>>
>> Is there any way to check network connection using HostName in OpenMPI ?
>>
>>
>> Thanks and Regards,
>> --
>> Vipin K.
>> Research Engineer,
>> C-DOTB, India
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>
>
> --
> Jeff Squyres
> jsquyres_at_[hidden]
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>

-- 
Vipin K.
Research Engineer,
C-DOTB, India