How to use only one NUMA node with mpirun?

5 views
Skip to first unread message

Konstantin Tokarev

unread,
Aug 18, 2025, 1:34:45 PMAug 18
to Open MPI users

Hello,

I wonder what is the correct way to tell mpirun that all processes should be run on specific NUMA node. I know that if I want to distribute processes evenly between all NUMA nodes I can use `--map-by numa --bind-to numa`. I guess if I need to run all processes on one node I should use --map-by, however I haven't figured out what argument  do I need to pass. For now I use something like `numactl -N $NODE -m $NODE mpirun --bind-to none ...`, however it feels to me like an ugly hack.

Thank you for any suggestions!
Reply all
Reply to author
Forward
0 new messages