# \#mpijl

**URL:** https://discourse.julialang.org/tag/mpijl/842.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [MPI.API.MPI\_Reduce\_scatter ERRORS](https://discourse.julialang.org/t/mpi-api-mpi-reduce-scatter-errors/90093)

<div class="topic-metadata">

**Author:** [@Neo](https://discourse.julialang.org/u/Neo)\
**Replies:** 7\
**Last updated:** [November 15, 2022, 6:09am UTC](https://discourse.julialang.org/t/mpi-api-mpi-reduce-scatter-errors/90093 "2022-11-15T06:09:09Z")

</div>

From low-level API in MPI.jl, we know MPI.API.MPI\_Reduce\_scatter(sendbuf, recvbuf, recvcounts, datatype, op, comm) When I ran the code below with mpiexecjl -n 3 julia testReduce\_scatter.jl: # testReduce\_scatter.jl usi…

---

## [Is it possible to pass a struct in MPI.jl?](https://discourse.julialang.org/t/is-it-possible-to-pass-a-struct-in-mpi-jl/70137)

<div class="topic-metadata">

**Author:** [@giancarloantonucci](https://discourse.julialang.org/u/giancarloantonucci)\
**Replies:** 9\
**Last updated:** [October 22, 2021, 4:23pm UTC](https://discourse.julialang.org/t/is-it-possible-to-pass-a-struct-in-mpi-jl/70137 "2021-10-22T16:23:47Z")

</div>

I have something like struct Struct a::Vector b::Vector i::Integer end mystruct = Struct(rand(10), rand(5), 1) How can I pass mystruct around with MPI.jl? If it’s not possible as it is, what’s the easiest wor…
