[mpich-discuss] how to use ifhn in machinefile in mpich2-1.3.2?

Limin Gu lgu at penguincomputing.com
Mon Sep 26 17:05:15 CDT 2011


Never mind, I think I found the problem, the error comes from somewhere
else.

Thank you again!
Limin

On Mon, Sep 26, 2011 at 5:42 PM, Limin Gu <lgu at penguincomputing.com> wrote:

> On Mon, Sep 26, 2011 at 5:32 PM, Pavan Balaji <balaji at mcs.anl.gov> wrote:
>
>>
>> On 09/26/2011 03:43 PM, Limin Gu wrote:
>>
>>> Hi All,
>>>
>>> mpich2-1.3.2 is configured and built with default options.
>>>
>>> I have a machine file like this:
>>>
>>> n0 ifhn=172.20.20.100
>>> n1 ifhn=172.20.20.101
>>>
>>
>> You can just create the machinefile as:
>>
>> 172.20.20.100
>> 172.20.20.101
>>
>
> I tried to have just the ip address, it didn't work.
>
> [root at flatline examples]# mpiexec -f machinefile -n 2 ./cpi
> Invalid node specification "172.20.20.100"
> Invalid node specification "172.20.20.101"
> Ctrl-C caught... cleaning up processes
> [root at flatline examples]#
>
> It works when machinefile is simply as:
> n0
> n1
>
>
> [root at flatline examples]# mpiexec -f machinefile -n 2 ./cpi
>  Process 0 of 2 is on n0
> Process 1 of 2 is on n1
> pi is approximately 3.1415926544231318, Error is 0.0000000008333387
> wall clock time = 0.002628
> [root at flatline examples]#
>
> Any idea what's wrong? Thank you!
>
> Limin
>
>
>
>> No rebuild is necessary.
>>
>>  -- Pavan
>>
>> --
>> Pavan Balaji
>> http://www.mcs.anl.gov/~balaji
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20110926/a9eb7640/attachment.htm>


More information about the mpich-discuss mailing list