Does anyone know how to execute mpirun on specified CPUs? Though "mpirun -np 4 " specifies the number of CPUs used, what I here want to do is to specify CPU IDs.
The OS is CentOS 5.6 and MVAPICH2 is used on a single node with 6x2 cores.
Thank you for your cooperation.
Yes; new versions of mvapich2 use the hwloc library to enable CPU affinity and binding.
From the User Guide: