Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rank retains previous value across checkpoints #27

Open
upperwal opened this issue Apr 27, 2018 · 0 comments
Open

Rank retains previous value across checkpoints #27

upperwal opened this issue Apr 27, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@upperwal
Copy link
Owner

upperwal commented Apr 27, 2018

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.

@upperwal upperwal added the enhancement New feature or request label Apr 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant