Open MPI logo

MTT Devel Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all MTT Users mailing list

Subject: Re: [MTT users] Patch for whatami (new sles10 lsb-release fileformat)
From: Brian Elliott Finley (finley_at_[hidden])
Date: 2008-11-07 15:07:49


Well, we don't want to be changing the results that folks are already
relying on, but it looks like we are.

The benefit in putting the lsb test at the top is that most new and
future distros can be identified by that.

But, it looks like the safest thing to do is to put it at the bottom.
Unfortunately, that means that we have to run through all the other
tests, which will not match, for all future distros. Maybe it happens
so fast, even with the extra tests, that it's not worth worrying about.

Options:
  a) Just put the lsb tests at the end (more computer effort over time)
  b) Put the lsb tests in the middle, after distro tests that are
already defined, but that we know also have lsb info (more people effort)
  c) I don't think leaving as is is an option, because if someone
updates to the latest version of whatami, it may break existing tests
they depend on.

I'm leaning towards a).

Thoughts?

-Brian

Jeff Squyres wrote:
> Ditto:
>
> [8:23] svbu-mpi:~/svn/mtt % ./client/whatami/whatami
> linux-RedHatEnterpriseAS_4-x86_64
>
>
> On Nov 7, 2008, at 11:16 AM, Ethan Mallove wrote:
>
>> On Thu, Nov/06/2008 04:24:15PM, Jeff Squyres wrote:
>>> Thanks Brian. Ethan -- if it works for you, can you pull down a new
>>> version and commit to MTT's SVN?
>>
>> Done.
>>
>> I get "linux-RedHatEnterpriseServer_5-ia32", instead of
>> "linux-rhel5-ia32" now. I guess I sort of prefer the short
>> version. Oh well.
>>
>> -Ethan
>>
>>>
>>>
>>> On Nov 6, 2008, at 3:19 PM, Brian Elliott Finley wrote:
>>>
>>>> All,
>>>>
>>>> I've committed a new version that includes the version referenced
>>>> below,
>>>> and changed the $() to ``.
>>>>
>>>> Cheers, -Brian
>>>>
>>>>
>>>> Tim Mattox wrote:
>>>>> The 2008.10.31 version that Jeff forwarded works fine on SLES9 PPC64.
>>>>>
>>>>> 2008/10/31 Jeff Squyres <jsquyres_at_[hidden]>:
>>>>>> Sorry; my stupid mailer didn't display it as an attachment when I
>>>>>> forwarded.
>>>>>> Try this.
>>>>>>
>>>>>>
>>>>>> On Oct 31, 2008, at 1:56 PM, Ethan Mallove wrote:
>>>>>>
>>>>>>> On Fri, Oct/31/2008 01:01:02PM, Jeff Squyres wrote:
>>>>>>>> Re-sending to the MTT list, because I think our listserver will
>>>>>>>> automatically block Brian (I'll add him to the whitelist for future
>>>>>>>> posts!).
>>>>>>> I'm getting a syntax error:
>>>>>>>
>>>>>>> $ whatami
>>>>>>> whatami: syntax error at line 149: `DISTRIB_ID=$' unexpected
>>>>>>>
>>>>>>> Not sure if I'm doing a bad copy/paste out of my mail
>>>>>>> client. Jeff, can you send the new whatami script as an
>>>>>>> attachment?
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> Jeff Squyres
>>>>>> Cisco Systems
>>>>>>
>>>>>> _______________________________________________
>>>>>> mtt-users mailing list
>>>>>> mtt-users_at_[hidden]
>>>>>> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> Brian Elliott Finley
>>>> CIS / Argonne National Laboratory
>>>> Office: 630.252.4742
>>>> Mobile: 630.631.6621
>>>> _______________________________________________
>>>> mtt-users mailing list
>>>> mtt-users_at_[hidden]
>>>> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users
>>>
>>>
>>> --
>>> 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
>
>

-- 
Brian Elliott Finley
CIS / Argonne National Laboratory
Office: 630.252.4742
Mobile: 630.631.6621