Open MPI logo

MTT Users Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [MTT users] hostlist enhancement
From: Pavel Shamis (Pasha) (pasha_at_[hidden])
Date: 2008-01-10 11:21:27


Here is reply from Oleg :

The Patch didn't work.
Broken code - my $ret = join(/$delimiter/, @hosts); in
lib/MTT/Values/Functions.pm > sub hostlist_hosts
Must be $ret = join($delimiter, @hosts);

Ethan Mallove wrote:
> Works for me.
>
> -Ethan
>
> On Thu, Jan/10/2008 08:48:20AM, Jeff Squyres wrote:
>
>> Mellanox told me that the MTT &hostlist() funclet is returning a
>> comma-delimited list of hosts (and &hostlist_hosts()). That is fine for
>> Open MPI, but it is not for MVAPICH -- MVAPICH requires a space-delimited
>> list of hosts for their mpirun.
>>
>> Here's a patch that introduces an optional parameter to &hostlist() and
>> &hostlist_hosts(). The optional parameter is a delimiter for the hostlist.
>> So if you call:
>>
>> &hostlist_hosts()
>>
>> you'll get the same comma-delimited list that is returned today. But if
>> you call
>>
>> &hostlist_hosts(" ")
>>
>> you should get a space-delimited list.
>>
>> Can Mellanox try this patch and see if it works for them? If so, I'll
>> commit it to the MTT trunk.
>>
>> --
>> Jeff Squyres
>> Cisco Systems
>>
>
>
>
>
>
>> _______________________________________________
>> mtt-users mailing list
>> mtt-users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users
>>
>
> _______________________________________________
> mtt-users mailing list
> mtt-users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users
>
>

-- 
Pavel Shamis (Pasha)
Mellanox Technologies