[hwloc-devel] Create success (hwloc r1.1rc4r2871)

2010-11-30 Thread MPI Team
Creating nightly hwloc snapshot SVN tarball was a success.

Snapshot:   hwloc 1.1rc4r2871
Start time: Tue Nov 30 21:03:14 EST 2010
End time:   Tue Nov 30 21:05:23 EST 2010

Your friendly daemon,
Cyrador


Re: [hwloc-devel] [hwloc-svn] svn:hwloc r2875

2010-11-30 Thread Samuel Thibault
bgog...@osl.iu.edu, le Tue 30 Nov 2010 18:22:29 +0100, a écrit :
> 1) NO_PCI shows nothing
> 
> And I wonder if we should make (1) the default for "backward compatibility".

Possibly, yes.

(but probably not in lstopo)

Samuel


Re: [hwloc-devel] SWIG bindings

2010-11-30 Thread Jeff Squyres
On Nov 30, 2010, at 12:07 PM, Guy Streeter wrote:

> I am doing this manually. I think SWIG works fine for simple interfaces, but 
> this is pretty complicated.

You might be right.  This was simply an excuse for me to explore SWIG; I have 
no prior experience with it.  :-)

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/




Re: [hwloc-devel] SWIG bindings

2010-11-30 Thread Guy Streeter

On 11/30/2010 10:52 AM, Jeff Squyres wrote:

On Nov 30, 2010, at 11:44 AM, Guy Streeter wrote:


Would anyone object if I take a whack at making some SWIG bindings for hwloc?  
I'm thinking specifically for perl (because that's my scripting language of 
choice), but I could probably be convinced to look at python as well.


I'm currently working on a python bindings package for hwloc. I suppose I 
should find out how to get my code upstream.


Great!  Did you use SWIG, or do it manually?



I am doing this manually. I think SWIG works fine for simple interfaces, but 
this is pretty complicated.
I have enough of it working that I re-wrote hwloc-hello in python. I'm going 
to write python versions of all the tests next.

--Guy



Re: [hwloc-devel] SWIG bindings

2010-11-30 Thread Samuel Thibault
Guy Streeter, le Tue 30 Nov 2010 17:48:56 +0100, a écrit :
> On 11/30/2010 10:07 AM, Jeff Squyres wrote:
> >Would anyone object if I take a whack at making some SWIG bindings for 
> >hwloc?  I'm thinking specifically for perl (because that's my scripting 
> >language of choice), but I could probably be convinced to look at python 
> >as well.
> >
> >(this would be for 1.2 at the earliest -- definitely not for 1.1)
> 
> I'm currently working on a python bindings package for hwloc. I suppose I 
> should find out how to get my code upstream.

Send a patch :)

Samuel


Re: [hwloc-devel] SWIG bindings

2010-11-30 Thread Jeff Squyres
On Nov 30, 2010, at 11:44 AM, Guy Streeter wrote:

>> Would anyone object if I take a whack at making some SWIG bindings for 
>> hwloc?  I'm thinking specifically for perl (because that's my scripting 
>> language of choice), but I could probably be convinced to look at python as 
>> well.
> 
> I'm currently working on a python bindings package for hwloc. I suppose I 
> should find out how to get my code upstream.

Great!  Did you use SWIG, or do it manually?

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/




Re: [hwloc-devel] SWIG bindings

2010-11-30 Thread Jeff Squyres
On Nov 30, 2010, at 11:34 AM, Samuel Thibault wrote:

>> Would anyone object if I take a whack at making some SWIG bindings for hwloc?
> 
> I'd say it's welcome, as it'd easily bring bindings for other languages
> as well.  I'm unsure how our pointers in the hwloc_obj_t structure will
> nicely map, however.

Yes, that's on the "need to figure out" list.  :-)

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/




Re: [hwloc-devel] SWIG bindings

2010-11-30 Thread Samuel Thibault
Jeff Squyres, le Tue 30 Nov 2010 17:29:15 +0100, a écrit :
> Would anyone object if I take a whack at making some SWIG bindings for hwloc?

I'd say it's welcome, as it'd easily bring bindings for other languages
as well.  I'm unsure how our pointers in the hwloc_obj_t structure will
nicely map, however.

Samuel


[hwloc-devel] SWIG bindings

2010-11-30 Thread Jeff Squyres
Would anyone object if I take a whack at making some SWIG bindings for hwloc?  
I'm thinking specifically for perl (because that's my scripting language of 
choice), but I could probably be convinced to look at python as well.

(this would be for 1.2 at the earliest -- definitely not for 1.1)

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/




Re: [hwloc-devel] multiline legend

2010-11-30 Thread Jeff Squyres
On Nov 30, 2010, at 9:30 AM, Brice Goglin wrote:

> Yes, adding "p" to "#2" when showing physical indexes in the graphical
> output exactly like we do for the textual output (which does not have
> the legend).

Ah, I see.

> Some colleague even want to always have "P#" or "L#" and the legend to
> make everything clear.

I'm not opposed to P# and L# everywhere (i.e., capital P, so that we can use 
capital L), if it helps readability.

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/




Re: [hwloc-devel] multiline legend

2010-11-30 Thread Brice Goglin
Le 30/11/2010 15:20, Jeff Squyres a écrit :
> On Nov 30, 2010, at 9:17 AM, Brice Goglin wrote:
>
>   
>> I discussed with some "random" people about the "p" prefix in physical
>> mode. It's not clear whether removing it from the graphical output is a
>> good idea or not. People already have a hard time trying to understand
>> all this logical/physical index stuff...
>> 
> You mean in addition to the legend?
>   

Yes, adding "p" to "#2" when showing physical indexes in the graphical
output exactly like we do for the textual output (which does not have
the legend).

Some colleague even want to always have "P#" or "L#" and the legend to
make everything clear.

Brice



Re: [hwloc-devel] multiline legend

2010-11-30 Thread Jeff Squyres
On Nov 30, 2010, at 9:17 AM, Brice Goglin wrote:

> I discussed with some "random" people about the "p" prefix in physical
> mode. It's not clear whether removing it from the graphical output is a
> good idea or not. People already have a hard time trying to understand
> all this logical/physical index stuff...

You mean in addition to the legend?

> By the way, we talk about "index" instead of "ID" almost everywhere. So
> should we use "index" in the legend too?

Good call; can you fix?  I'm in meetings all morning.  :-(

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/



Re: [hwloc-devel] multiline legend

2010-11-30 Thread Brice Goglin
Le 30/11/2010 15:03, Jeff Squyres a écrit :
> On Nov 30, 2010, at 8:50 AM, Samuel Thibault wrote:
>
>   
>>> How's this, instead?  I made a few minor changes:
>>>
>>> - prefixed each line of the legend (the "physical IDs" line was confusing 
>>> to me without a prefix)
>>> - fixed logic for terminating timestamp string
>>> - moved all the legend logic inside "if (legend)"
>>>   
>> That looks good to me.
>> 
> Cool.  Committed to trunk and v1.1.
>
> What's left for v1.1?
>   

I discussed with some "random" people about the "p" prefix in physical
mode. It's not clear whether removing it from the graphical output is a
good idea or not. People already have a hard time trying to understand
all this logical/physical index stuff...

By the way, we talk about "index" instead of "ID" almost everywhere. So
should we use "index" in the legend too?

Brice



Re: [hwloc-devel] multiline legend

2010-11-30 Thread Jeff Squyres
On Nov 30, 2010, at 8:50 AM, Samuel Thibault wrote:

>> How's this, instead?  I made a few minor changes:
>> 
>> - prefixed each line of the legend (the "physical IDs" line was confusing to 
>> me without a prefix)
>> - fixed logic for terminating timestamp string
>> - moved all the legend logic inside "if (legend)"
> 
> That looks good to me.

Cool.  Committed to trunk and v1.1.

What's left for v1.1?

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/




Re: [hwloc-devel] multiline legend

2010-11-30 Thread Samuel Thibault
Jeff Squyres, le Tue 30 Nov 2010 14:45:13 +0100, a écrit :
> How's this, instead?  I made a few minor changes:
> 
> - prefixed each line of the legend (the "physical IDs" line was confusing to 
> me without a prefix)
> - fixed logic for terminating timestamp string
> - moved all the legend logic inside "if (legend)"

That looks good to me.

Samuel


Re: [hwloc-devel] multiline legend

2010-11-30 Thread Jeff Squyres
How's this, instead?  I made a few minor changes:

- prefixed each line of the legend (the "physical IDs" line was confusing to me 
without a prefix)
- fixed logic for terminating timestamp string
- moved all the legend logic inside "if (legend)"


On Nov 29, 2010, at 8:54 AM, Brice Goglin wrote:

> Jeff, is the attached patch what you want? Lines should be small enough
> on most machines now.
> 
> Brice
> 
> ___
> hwloc-devel mailing list
> hwloc-de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/


multiline-legend-take-2.diff
Description: Binary data