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

Add support for MPI profiling interface #21

Closed
ocaisa opened this issue Feb 23, 2022 · 6 comments
Closed

Add support for MPI profiling interface #21

ocaisa opened this issue Feb 23, 2022 · 6 comments

Comments

@ocaisa
Copy link
Contributor

ocaisa commented Feb 23, 2022

Each standard MPI function can be called with an MPI_ or PMPI_ prefix (quoting from https://www.open-mpi.org/faq/?category=perftools#PMPI), I think MPItrampoline doesn't currently support the PMPI_ calls.

@ocaisa
Copy link
Contributor Author

ocaisa commented Feb 23, 2022

These calls are used by profiling tools like Scalasca

@ocaisa
Copy link
Contributor Author

ocaisa commented Feb 23, 2022

Another important comment there:

Be sure you make the library dynamic. A static library can experience the linker problems described in the Complications section of the Profiling Interface chapter of the MPI standard.

which I guess will lead back to the OSX issues mentioned in #13

@eschnett
Copy link
Owner

Yes, the profiling interfaces are not yet implemented. I am only vaguely familiar with them, I will have to study the standard.

I guess the complications described there have to do with resolving symbols at run time, i.e. what ELF calls "semantic interposition".

@eschnett
Copy link
Owner

See #22. Do you have time to test this?

@ocaisa
Copy link
Contributor Author

ocaisa commented Feb 24, 2022

I can build Score-P later today, that should be a good test. I can use https://scorepci.pages.jsc.fz-juelich.de/scorep-pipelines/docs/scorep-4.1/html/quickstart.html#quick_example to do a runtime test.

@ocaisa
Copy link
Contributor Author

ocaisa commented Apr 4, 2022

BTW I did do the build of Score-P and successfully used it, so I think this can be closed

@eschnett eschnett closed this as completed Apr 4, 2022
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