That’s a pretty ancient release, but a quick glance at the source code indicates that you should always see it when launched via mpirun, and never when launched via srun
> On May 12, 2017, at 9:22 AM, Kumar, Amit <ahku...@mail.smu.edu> wrote: > > Dear OpenMPI, > > Under what circumstances I would find that OMPI_COMM_WORLD_LOCAL_RANK is not > set? For some reason our install of openmpi-1.6.5 with SLURM 16.05.08 with > PMI support is not setting OMPI_COMM_WORLD_LOCAL_RANK. > > I need openmpi-1.6.5 because I have some NVIDIA binaries that are only > available at the version. > > I have tried using: mpirun --mca btl self,openib -np 4 -hostfile ./host_cpu > binary : -np 2 -hostfile ./host_gpu binary > > Also I have tried running srun -l -n 6 --multi-prog ./myrun.conf > > In both cases I find that OMPI_COMM_WORLD_LOCAL_RANK is NOT SET. > > Any help with this will be a great great help for us…. > > Thank you, > Amit > _______________________________________________ > devel mailing list > devel@lists.open-mpi.org <mailto:devel@lists.open-mpi.org> > https://rfd.newmexicoconsortium.org/mailman/listinfo/devel > <https://rfd.newmexicoconsortium.org/mailman/listinfo/devel>
_______________________________________________ devel mailing list devel@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/devel