Test program to get CPU affinity of an MPI application