You mean via an API of some kind? Not through an MPI call, but you can do it (though your code will wind up OMPI-specific). Look at the OMPI source code in opal/mca/paffinity/paffinity.h and you'll see the necessary calls as well as some macros to help parse the results.
Hi all, I'm new in the list. I don't know if this post has been treated before.
My question is:
Is there a way in the OMPI library to report which process is running
on which core in a SMP system? I need to know processor affinity for optimizations issues.
Regards
Fernando Saez
_______________________________________________
users mailing list
users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users