Re: [hwloc-users] Windows api threading functions equivalent to hwloc?

2012-11-19 Thread Samuel Thibault
Andrew Somorjai, le Tue 20 Nov 2012 01:39:47 +0100, a écrit : > "CreateThread() and WaitForMultipleObjects() are not in hwloc since they have > nothing to do with topologies." > > I thought hwloc was also for threading? It can bind your threads, yes, but the way to create the thread is yours,

Re: [hwloc-users] Windows api threading functions equivalent to hwloc?

2012-11-19 Thread Andrew Somorjai
"CreateThread() and WaitForMultipleObjects() are not in hwloc since they have nothing to do with topologies." I thought hwloc was also for threading? "DWORD_PTR m_id = 0; DWORD_PTR m_mask = 1 << i; m_threads[i] = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)threadMain, (LPVOID)i, NULL,

Re: [hwloc-users] Windows api threading functions equivalent to hwloc?

2012-11-19 Thread Samuel Thibault
Brice Goglin, le Mon 19 Nov 2012 21:09:33 +0100, a écrit : > hwloc_bitmap_t bitmap = hwloc_bitmap_alloc(); > hwloc_bitmap_set_only(bitmap, i); > hwloc_set_thread_cpubind(topology, m_threads[i], bitmap, 0); > hwloc_bitmap_free(bitmap); Or perhaps hwloc_set_thread_cpubind(topology, m_threads[i],

Re: [OMPI users] PBS jobs with OPENMPI

2012-11-19 Thread mariana Vargas
Thanks In fact I compiled without this option, I send the script without specifying the hostfile and it seems to be working, but I'afraid it is not pararelizing and instead it is computed N times de same procedure, =( I will see the result in a 30 min... On Nov 19, 2012, at 5:37 PM,

Re: [OMPI users] PBS jobs with OPENMPI

2012-11-19 Thread Lloyd Brown
As far as I know, the mpdboot is not needed with OpenMPI. You should just be able to call mpirun or mpiexec directly. If your OpenMPI installation was compiled to use the TM API with Torque, you just do it like this, and it figures it all out: mpirun myprogram Otherwise, you will need to

Re: [OMPI users] PBS jobs with OPENMPI

2012-11-19 Thread Ralph Castain
Please take a look at http://www.open-mpi.org/faq/?category=running We don't boot daemons as a separate command - you just use "mpirun" to execute your job. On Nov 19, 2012, at 2:28 PM, Mariana Vargas Magana wrote: > Hi all > Help !! I have to send a job using #PBS

[OMPI users] PBS jobs with OPENMPI

2012-11-19 Thread Mariana Vargas Magana
Hi all Help !! I have to send a job using #PBS and in the script example there is something like this because the cluster is using MPICH2 In my case i nee Openmpi to run my code so I installed locally, in this case anyone knows what it is the equivalent of this commands because it is not

Re: [hwloc-users] Windows api threading functions equivalent to hwloc?

2012-11-19 Thread Brice Goglin
Le 19/11/2012 21:01, Andrew Somorjai a écrit : > Below I posted a simple windows thread creation C++ routine which sets > the processor affinity to two cores. > What I want is the equivalent code using hwloc. Sorry for being > somewhat new to this but I'm not sure what > api calls are equivalent

[hwloc-users] Windows api threading functions equivalent to hwloc?

2012-11-19 Thread Andrew Somorjai
Below I posted a simple windows thread creation C++ routine which sets the processor affinity to two cores. What I want is the equivalent code using hwloc. Sorry for being somewhat new to this but I'm not sure what  api calls are equivalent to the windows calls and I did search hwloc.h for

Re: [OMPI users] tester for cygwin openmpi-1.6.3 package

2012-11-19 Thread Jeff Squyres
On Nov 19, 2012, at 1:36 PM, marco atzeri wrote: > as I released an official cygwin package, the link is > "http://www.cygwin.com; Done! > I am planning to update the package adding the libesmtp support asked > by another cygwin maintainer. I wouldn't worry about this; no one uses that

[OMPI users] (no subject)

2012-11-19 Thread sri pramoda
 Dear Sir,     I am Pramoda,PG scholar from Jadavpur Univesity,India.  I've gone through a paper "Building a Fault Tolerant MPI Application:  A Ring Communication Example".In this I found MPI_Comm_validate_rank command.  But I didn't found this command in mpi. Hence I request you to