Phil,
Have you tried using the MPI routine:
MPI_Get_processor_name
On my system it gives the hostname of the node it is running on.
Regards
Neil Storer.
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/
--
+-----------------+---------------------------------+------------------+
| Neil Storer | Head: Systems S/W Section | Operations Dept. |
+-----------------+---------------------------------+------------------+
| ECMWF, | email: neil.storer_at_[hidden] | //=\\ //=\\ |
| Shinfield Park, | Tel: (+44 118) 9499353 | // \\// \\ |
| Reading, | (+44 118) 9499000 x 2353 | ECMWF |
| Berkshire, | Fax: (+44 118) 9869450 | ECMWF |
| RG2 9AX, | | \\ //\\ // |
| UK | URL: http://www.ecmwf.int/ | \\=// \\=// |
+--+--------------+---------------------------------+----------------+-+
| ECMWF is the European Centre for Medium-Range Weather Forecasts |
+-----------------------------------------------------------------+
|