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] 'whatami' patch
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2008-01-29 13:34:46


It would have been useful if I had included the patch -- sorry! Here
it is.

On Jan 29, 2008, at 1:32 PM, Jeff Squyres wrote:

> Thanks!
>
> I slightly modified your patch to just update the existing rhel regexp
> and it seems to work for me (rhel4, rhel5); see attached if you care.
> I'll commit this to both the mtt trunk and core branch, and will pass
> it on to the whatami maintainers.
>
>
> On Jan 29, 2008, at 12:56 PM, Tim Prins wrote:
>
>> Hi,
>>
>> The 'whatami' script does not recognize our new cluster. Attached is
>> a patch to make it work.
>>
>> For reference, the relevant line in /etc/issue is:
>> Red Hat Enterprise Linux Server release 5 (Tikanga)
>>
>>
>> Thanks,
>>
>> Tim
>> Index: client/whatami/whatami
>> ===================================================================
>> --- client/whatami/whatami (revision 1142)
>> +++ client/whatami/whatami (working copy)
>> @@ -189,6 +189,10 @@
>> #distro=${distro_brand}${distro_version}_$
>> {sub_distro}
>> distro=${distro_brand}${distro_version}
>>
>> + elif [ -n "`egrep 'Red Hat Enterprise Linux Server
>> release [0-9]*' /etc/issue`" ]; then
>> + distro_brand=rhel_server
>> + distro_version=`grep 'Red Hat' /etc/issue |
>> sed -e 's/Red Hat Enterprise Linux Server release \([0-9]*\).*/\1/' `
>> + distro=${distro_brand}${distro_version}
>> elif [ -n "`egrep 'Cray Rocks Linux release 1.3' /
>> etc/issue`" ]; then
>> distro=rh73
>>
>> _______________________________________________
>> 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

-- 
Jeff Squyres
Cisco Systems