Skip to content

Rank retains previous value across checkpoints #27

Description

@upperwal

Rank (or any other variable in user in user space [stack]) will retain its value across checkpointing.

Ex:

MPI_Comm_rank(MPI_COMM_WORLD, &rank);

...
...

printf("rank: %d\n", rank);
Could print rank in the previous job before checkpointing

So to counter this problem either the replication map should be retained [all update bit set to 1] or values from MPI_Comm_rank should be consumed ASAP or recalled whenever required.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions