Re: [OMPI users] Binding to thread 0

2023-09-11 Thread Luis Cebamanos via users
HIi Nathan, Isn't this a case for --map-by core --bind-to hwthread? Because you want to map each process by core but bind the the first hwthread. It is, but indicating a rankfile I can map to certain core numbers. I cannot use both --map-by and --rankfile: Conflicting directives for mapping p

Re: [OMPI users] Binding to thread 0

2023-09-11 Thread Nathan Hjelm via users
Isn't this a case for --map-by core --bind-to hwthread? Because you want to map each process by core but bind the the first hwthread.From the looks of it your process is both binding and mapping by hwthread now. -NathanOn Sep 11, 2023, at 10:20 AM, Luis Cebamanos via users wrote:@Gilles @Jeff

Re: [OMPI users] Binding to thread 0

2023-09-11 Thread Luis Cebamanos via users
@Gilles @Jeff Sorry, I think I replied too quickly. This is what I see if using --bind-to hwthread This is not what I was after. I only want to use thread 0 of a core ie (cores 0-7), so "cores 192-199" should not have any activity. If I do --bind-to core, the activity jumps from "core 0" to

Re: [OMPI users] Binding to thread 0

2023-09-11 Thread Luis Cebamanos via users
Hi, @Gilles Awesome. --bind-to hwthread does the trick. I thought binding and mapping would not be read if using --rankfile. @Jeff I am running on a shared cluster. Some apps do use HT for achieving better performance. Nothing we could do with BIOS settings. Regards On 08/09/2023 17:53, Jeff

Re: [OMPI users] Binding to thread 0

2023-09-08 Thread Jeff Squyres (jsquyres) via users
In addition to what Gilles mentioned, I'm curious: is there a reason you have hardware threads enabled? You could disable them in the BIOS, and then each of your MPI processes can use the full core, not just a single hardware thread. From: users on behalf of Lui

Re: [OMPI users] Binding to thread 0

2023-09-08 Thread Gilles Gouaillardet via users
Luis, you can pass the --bind-to hwthread option in order to bind on the first thread of each core Cheers, Gilles On Fri, Sep 8, 2023 at 8:30 PM Luis Cebamanos via users < users@lists.open-mpi.org> wrote: > Hello, > > Up to now, I have been using numerous ways of binding with wrappers > (numa