I am running a MPI program and in my hostfile I have only one node. The node has 2 scokets, 8 physical cores each and the hyperthreading is disabled.
mpiexec -n 8 -f /pathtohostfile/host_file_test ./a.out
I am using likwid to measure energy consumed by my program.
Question :
- Are the above 8 process running on the same socket(to save energy) or processes can be randomly assigned to either socket?
- Not sure about it, but can a process context switch to another socket?
- In case process are randomly assigned, can I pin my process to a core/socket to measure the energy?