# 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:** 10

<div class="post-metadata">

**Author:** ![samo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/samo/32/35398_2.png) [@samo](https://discourse.julialang.org/u/samo)\
**Post date:** [January 31, 2020, 8:54am UTC](https://discourse.julialang.org/t/error-segfault-in-basic-test-of-cuda-aware-mpi/31755/10 "2020-01-31T08:54:12Z")

</div>

> I know MVAPICH requires some special environment flags: are there any required for Cray MPICH?

Normally it should be enough to do:

```julia
export MPICH_RDMA_ENABLED_CUDA=1

```

as I did in the example in the topic description. I tried with setting

```julia
export CRAY_CUDA_MPS=1

```

in addition as on some page I found some hint that the cuda-aware MPI library might spawn a separate process on the GPU (I am not sure at all about that though). The error was still the same.

I will see if the guys from Cray can give any help on this and report back. Meanwhile, if you have any idea of what else to check, please let me know.

---

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