Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] GIT: hwloc branch master updated. 0e6fe307c10d47efee3fb95c50aee9c0f01bc8ec
From: Ralph Castain (rhc_at_[hidden])
Date: 2014-03-29 11:04:42


Jeff just left today for a 1-week vacation. However, this came up on the OMPI mailing list - turns out that some linux distro's automatically set LS_COLORS in your environment when running old versions of csh/tcsh via their default dot files, and it can cause problems with the script. So just ensuring it isn't set solves the problem.

On Mar 29, 2014, at 7:59 AM, Brice Goglin <Brice.Goglin_at_[hidden]> wrote:

> Jeff,
> Where does this LS_COLORS variable come from? Who is setting it?
> Brice
>
>
>
> Le 27/03/2014 11:45, MPI Team a écrit :
>> The branch, master has been updated
>> via 0e6fe307c10d47efee3fb95c50aee9c0f01bc8ec (commit)
>> from 00f85033d269e2c312370bb24043f92a92dff7e3 (commit)
>>
>> Those revisions listed above that are new to this repository have
>> not appeared on any other notification email; so we list those
>> revisions in full, below.
>>
>> - Log -----------------------------------------------------------------
>> https://github.com/open-mpi/hwloc/commit/0e6fe307c10d47efee3fb95c50aee9c0f01bc8ec
>>
>> commit 0e6fe307c10d47efee3fb95c50aee9c0f01bc8ec
>> Author: Jeff Squyres <jsquyres_at_[hidden]>
>> Date: Thu Mar 27 06:28:45 2014 -0400
>>
>> BUILD: fix "make dist" failure on some linux distro with old csh/tcsh
>>
>> On some linux distro (sles11sp2) csh fails to parse $LS_COLORS and
>> borks with error: Unknown colorls variable `mh'.
>>
>> The workaround is to unset LS_COLORS before calling to csh script.
>> ---
>> Makefile.am | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/Makefile.am b/Makefile.am
>> index ca9c00c..34d0aa2 100644
>> --- a/Makefile.am
>> +++ b/Makefile.am
>> @@ -1,6 +1,6 @@
>> # Copyright © 2009-2014 Inria. All rights reserved.
>> # Copyright © 2009 Université Bordeaux 1
>> -# Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved.
>> +# Copyright © 2009-2014 Cisco Systems, Inc. All rights reserved.
>> # See COPYING in top-level directory.
>>
>> # Note that the -I directory must *exactly* match what was specified
>> @@ -48,7 +48,7 @@ endif
>>
>> if HWLOC_BUILD_STANDALONE
>> dist-hook:
>> - csh "$(top_srcdir)/config/distscript.csh" "$(top_srcdir)" "$(distdir)" "$(HWLOC_VERSION)"
>> + env LS_COLORS= csh "$(top_srcdir)/config/distscript.csh" "$(top_srcdir)" "$(distdir)" "$(HWLOC_VERSION)"
>> endif HWLOC_BUILD_STANDALONE
>>
>> #
>>
>> -----------------------------------------------------------------------
>>
>> Summary of changes:
>> Makefile.am | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>>
>> hooks/post-receive
>
> _______________________________________________
> hwloc-devel mailing list
> hwloc-devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel