On Oct 13, 2020, at 10:43 AM, Gus Correa via users <users@lists.open-mpi.org> wrote: > > Can you use taskid after MPI_Finalize?
Yes. It's a variable, just like any other. > Isn't it undefined/deallocated at that point? No. MPI filled it in during MPI_Comm_rank() and then never touched it again. So even though MPI may have shut down, the value that it loaded into taskid is still valid/initialized. -- Jeff Squyres jsquy...@cisco.com