[mpich-discuss] translate rank to hostname

Jeff Hammond jeff.science at gmail.com
Thu Mar 12 22:15:38 CDT 2015


Try MPI_Get_processor_name.

Jeff

On Thursday, March 12, 2015, YANG Fan <iddmbr at gmail.com> 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
jeff.science at gmail.com
http://jeffhammond.github.io/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20150312/4b239f7e/attachment.html>
-------------- next part --------------
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list