To my best knowledge, MPI provides no means of finding out which node a
process is running on. A more feasible approach would be to use portable
Unix mechanisms which can be used to find out the hostname of machines on
which the processes are running.
Hope this helps,
Anju.
On Fri, 23 Jan 2004, Phil Curry wrote:
> From within my MPI application, I need a process to be able to
> determine which node it is running on. Much like the MPI error message
> which says ' an error occurred on (n0).
>
> Kind of related to load balancing, but not exactly. Any suggestions?
>
> -Phil
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
|