Thanks, Jeff! But there's one problem. Suppose I'm on rank 1 and I want to know the host name of rank 2, then using this function I can only know my own host name. I hope that I can know others' host names... On Fri, Mar 13, 2015 at 11:15 AM, Jeff Hammond <[email protected]> wrote:
Try MPI_Get_processor_name.
Jeff
On Thursday, March 12, 2015, YANG Fan <[email protected]> wrote:
Hi,
To run an MPI program on a cluster I need to pass the host file as a parameter. However, how can I know that what host name does a specific rank correspond to? Or how can I access the host file inside my MPI program? Thanks!
Best Regards, Fan
-- Jeff Hammond [email protected] http://jeffhammond.github.io/
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss