# Error/segfault in basic test of CUDA-aware MPI

**URL:** https://discourse.julialang.org/t/error-segfault-in-basic-test-of-cuda-aware-mpi/31755
**Category:** Julia at Scale
**Tags:** question
**Created:** [December 2, 2019, 2:27pm UTC](https://discourse.julialang.org/t/error-segfault-in-basic-test-of-cuda-aware-mpi/31755 "2019-12-02T14:27:48Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![vchuravy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vchuravy/32/8_2.png) [@vchuravy](https://discourse.julialang.org/u/vchuravy)
#### Post date: [December 3, 2019, 7:04pm UTC](https://discourse.julialang.org/t/error-segfault-in-basic-test-of-cuda-aware-mpi/31755/2 "2019-12-03T19:04:42Z")

</div>

The first error is odd since it detected that we are passing it a GPU pointer, but then subsequently segfaults. For the second case it seems that the CUDA support wasn’t loaded  
[https://github.com/JuliaParallel/MPI.jl/blob/85accff77c2be82b90eeea645c82d58c2a7186f5/src/MPI.jl#L73](https://github.com/JuliaParallel/MPI.jl/blob/85accff77c2be82b90eeea645c82d58c2a7186f5/src/MPI.jl#L73)

Can you try what `Base.cconvert(MPI.MPIPtr, recv_mesg)` yields?

In general I think we have been mostly testing on OpenMPI.

---

_[View the full topic](https://discourse.julialang.org/t/error-segfault-in-basic-test-of-cuda-aware-mpi/31755)._
