cuda-quantum icon indicating copy to clipboard operation
cuda-quantum copied to clipboard

Raise warning when user executes observe_async() with mpirun.

Open mawolf2023 opened this issue 1 year ago • 1 comments

Required prerequisites

  • [X] Search the issue tracker to check if your feature has already been mentioned or rejected in other issues.

Describe the feature

For MGPU, users execute their code with mpirun -np N. In the case of MQPU, using observe_async or sample_async with mpirun will not produce the desired speedup and will actually slow the code, but will still produce the correct answer with no indication of what happened. If one of the async methods is present, a warning should tell users not to use mpirun.

mawolf2023 avatar Mar 05 '24 15:03 mawolf2023

@mawolf2023 We have made code changes that should ensure that there is no downside to using the async functions also with MPI. Can you give the concrete repro where you encountered the slow down?

bettinaheim avatar Apr 02 '24 12:04 bettinaheim

Closing as this should be resolved. If this is still an issue, please reopen with the concrete code example that runs into this.

bettinaheim avatar Jul 01 '24 10:07 bettinaheim