[mpich-discuss] MPICH equivalent to OMPI_COMM_WORLD_RANK

Zhou, Hui zhouh at anl.gov
Mon Jan 4 21:41:12 CST 2021


With the default `mpiexec`, which is `mpiexec.hydra`, it sets environment variable `PMI_RANK`, and `PMI_SIZE`. You can check that with
    mpiexec -n 1 env |grep PMI_

--
Hui Zhou


From: Sajid Ali via discuss <discuss at mpich.org>
Date: Monday, January 4, 2021 at 8:13 PM
To: discuss at mpich.org <discuss at mpich.org>
Cc: Sajid Ali <sajidsyed2021 at u.northwestern.edu>
Subject: [mpich-discuss] MPICH equivalent to OMPI_COMM_WORLD_RANK
Hi MPICH-developers,
Does MPICH set an environment variable describing the MPI rank equivalent to OpenMPI's `OMPI_COMM_WORLD_RANK` ? If so, what is it called ?

Thank You,
Sajid Ali (he/him) | PhD Candidate
Applied Physics
Northwestern University
s-sajid-ali.github.io<http://s-sajid-ali.github.io>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20210105/359a68ff/attachment-0001.html>


More information about the discuss mailing list