Re: [hwloc-users] removing old cpuset API?

2012-01-19 Thread Αλέξανδρος Παπαδογιαννάκης

Ermm localhost?

--
Alexandros Papadogiannakis


> Date: Thu, 19 Jan 2012 22:28:14 +0100
> From: brice.gog...@inria.fr
> To: hwloc-us...@open-mpi.org
> Subject: [hwloc-users] removing old cpuset API?
> 
> Dear hwloc users,
> 
> The cpuset API (hwloc_cpuset_*) was replaced by the bitmap API
> (hwloc_bitmap_*) in v1.1.0, back in december 2010. We kept backward
> compatibility by #defin'ing the old API on top of the new one. So you
> may stil use the old API in your application (but you would get
> "deprecated" warning).
> 
> Now, we're thinking of removing this compatiblity layer one day or
> another. You would have to upgrade your application to the new API. If
> your application must still work with old hwloc too, you may support
> both API by #defin'ing the new API on top of the old one as explained at
> the end of http://localhost/hwloc/projects/hwloc/doc/v1.3.1/a00010.php
> 
> So, is anybody against removing the hwloc/cpuset.h compatibility layer
> in the near future (not before v1.5, which may mean Spring 2012) and
> letting application deal with this if they really need it?
> 
> Brice
> 
> ___
> hwloc-users mailing list
> hwloc-us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-users
  

[hwloc-users] hwloc_set/get_thread_cpubind

2010-07-14 Thread Αλέξανδρος Παπαδογιαννάκης

hwloc_set_thread_cpubind and hwloc_get_thread_cpubind are missing from the html 
documentation
http://www.open-mpi.org/projects/hwloc/doc/v1.0.1/group__hwlocality__binding.php

_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969


Re: [hwloc-users] FW: Problem with hwloc_set_thread_cpubind() and pthread_barrier_wait() on new debianj

2010-06-18 Thread Αλέξανδρος Παπαδογιαννάκης

What the program does, is pick a pair of cpus (0,1) and run some 
tests, then pick the next pair (0,2) and do the tests again and so
on. I didn't leave it run till the end because the output would pro-
palby be quite big.

I think the problem is on the kernel. I made a virtual machine with
debian squeeze running kernel 2.6.32-5 and the binding doesn't 
work. When I run the same virtual machine with another kernel
(2.6.30-2) and the program works fine.
  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969

Re: [hwloc-users] Problem with hwloc_set_thread_cpubind() and pthread_barrier_wait() on new debianj

2010-06-16 Thread Αλέξανδρος Παπαδογιαννάκης

There is no shed affinity call at all if the thread is on a barrier :/

--
Alexandros Papadogiannakis




> Date: Wed, 16 Jun 2010 15:02:00 +0200
> From: samuel.thiba...@inria.fr
> To: hwloc-us...@open-mpi.org
> Subject: Re: [hwloc-users] Problem with hwloc_set_thread_cpubind()and 
> pthread_barrier_wait() on new debianj
> 
> Αλέξανδρος Παπαδογιαννάκης, le Wed 16 Jun 2010 15:52:04 +0300, a écrit :
> > hwloc_set_thread_cpubind() by itself works. I have it on a different test
> > program
> > and it binds the threads without a problem. The problem is when the thread 
> > is
> > waiting on a barrier.
> 
> I understand. I'm just saying that concerning hwloc, being asleep or not
> shouldn't change the behavior, and the bug is most probably either in
> glibc or the kernel. The result of sched_setaffinity should tell us.
> 
> Samuel
> ___
> hwloc-users mailing list
> hwloc-us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-users
  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969

Re: [hwloc-users] hwloc with pthreads on windows

2010-03-12 Thread Αλέξανδρος Παπαδογιαννάκης

I'm using MinGW and Pthreads-w32. I've made the program to use HANDLE instead 
of 
pthreads but I'd prefer pthreads, so I'm asking if there is a way to make hwloc 
use
pthreads instead of HANDLE

 > Date: Fri, 12 Mar 2010 15:47:07 +0100
> From: samuel.thiba...@inria.fr
> To: hwloc-us...@open-mpi.org
> Subject: Re: [hwloc-users] hwloc with pthreads on windows
> 
> Αλέξανδρος Παπαδογιαννάκης, le Fri 12 Mar 2010 16:27:27 +0200, a écrit :
> > Is there a way to use pthread_t instead of HANDLE in 
> > hwloc_set_thread_cpubind
> > when running windows?
> 
> Mmm, you mean when running cygwin?
> 
> The problem is that to my knowledge, cygwin does not provide a pthread_t
> -> HANDLE conversion function, which is needed to then call the
> low-level windows functions.
> 
> Samuel
> ___
> hwloc-users mailing list
> hwloc-us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-users
  
_
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969

[hwloc-users] hwloc with pthreads on windows

2010-03-12 Thread Αλέξανδρος Παπαδογιαννάκης

Is there a way to use pthread_t instead of HANDLE in hwloc_set_thread_cpubind
when running windows?

  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969