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

Getting nsight compute to work with amrvac #16

Open
oporth opened this issue Jun 14, 2024 · 3 comments
Open

Getting nsight compute to work with amrvac #16

oporth opened this issue Jun 14, 2024 · 3 comments

Comments

@oporth
Copy link

oporth commented Jun 14, 2024

currently I cannot use Nsight compute with amrvac (ncu or ncu-ui). It works fine the the toycode though.
The issue is that amrvac needs to be run with mpirun and Nsight compute needs to attach to the amrvac process that is launched from mpi.

How do we use Nsight compute with amrvac???

@loostrum
Copy link
Collaborator

I only know of a single-node solution, which is to run ncu <options> mpirun amrvac. I'm not 100% sure this works with Nsight Compute though, it does work with Nsight Systems (which is MPI-aware).

Copy link
Author

oporth commented Jun 14, 2024

I think I figured it out, just launching ncu-ui with mpi, e.g.
mpirun -np 1 ncu-ui

@oporth
Copy link
Author

oporth commented Jun 17, 2024

Hi Leon, thanks I'll try that out as well. I still had issues getting a usable trace analysis out of it (its not showing me the functions in the amrvac process). So if someone has a good workflow for profiling, we should share that!

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