Check CPU affinity for each MPI rank