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

Synchronizing time across MPI ranks #231

Open
mrzv opened this issue Nov 26, 2019 · 3 comments
Open

Synchronizing time across MPI ranks #231

mrzv opened this issue Nov 26, 2019 · 3 comments

Comments

@mrzv
Copy link

mrzv commented Nov 26, 2019

I would like to compare time.offset across traces from different MPI ranks. I notice in the Timestamp section, it says:

Note that timestamps are not synchronized between nodes in a distributed-memory program.

Is there some way to work around this? I realize that synchronizing clocks is a hopelessly complicated problem in general, but if I just wanted something like:

MPI_Barrier(MPI_COMM_WORLD);
caliper::reset_time();

Is there a way to achieve this?

@mrzv
Copy link
Author

mrzv commented Nov 26, 2019

@tpeterka FYI

@daboehme
Copy link
Member

Hi @mrzv ,

We currently don't have a way to reset timestamps. You can of course can manually post-process the trace data and update timestamps when you know where a barrier is.

@mrzv
Copy link
Author

mrzv commented Nov 26, 2019

@daboehme This is quite a show-stopper for me. Would it be difficult to add something like reset_time()? Is this compatible with how services are designed now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants