# Implementing parallel fluids code in Julia (parallel FFTW, MPI.jl, ...)

**URL:** https://discourse.julialang.org/t/implementing-parallel-fluids-code-in-julia-parallel-fftw-mpi-jl/2689
**Category:** Numerics
**Created:** [March 15, 2017, 10:24pm UTC](https://discourse.julialang.org/t/implementing-parallel-fluids-code-in-julia-parallel-fftw-mpi-jl/2689 "2017-03-15T22:24:58Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![Pbellive](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pbellive/32/3604_2.png) [@Pbellive](https://discourse.julialang.org/u/Pbellive)
#### Post date: [March 17, 2017, 7:40pm UTC](https://discourse.julialang.org/t/implementing-parallel-fluids-code-in-julia-parallel-fftw-mpi-jl/2689/6 "2017-03-17T19:40:48Z")

</div>

> [@ChrisRackauckas](#):
>
> From what I have read, I think you can use this to make Julia’s internal parallelism use the fast (Infiniband) interconnects of an HPC, getting you the right speed but also giving you an easier programming model. Otherwise Julia reverts to TCP?
> 
> That said, I forget where I read that… and haven’t given it a try. Hopefully, someone does know this and will clarify. I am interested in starting to do something like this as well.

The [Cluster Managers with custom transports](http://docs.julialang.org/en/stable/manual/parallel-computing/#cluster-managers-with-custom-transports) section in the Julia documentation has a little information on creating custom transport layers for Julia’s native distributed memory parallelism. There’s an example in the Julia distribution of an implementation using the zmq library. I’ve had a thorough look through the internet for an infiniband implementation but haven’t been able to find one. I looked into doing it myself and it looks like a _lot_ of work. However, I know very little about networking so maybe it wouldn’t be so bad for an expert.

On a personal note, I’ve found Julia’s native parallel programming constructs to work great for very coarse grained embarrassingly parallel calculations. I’d love to see some examples of pure Julia implementations of algorithms with more complex communication patterns. Coming from an MPI programming background the Julia constructs seem quite awkward for this but it could well be that I’m just missing something—I should really try to get a deeper understanding of channels and RemoteChannels.

---

_[View the full topic](https://discourse.julialang.org/t/implementing-parallel-fluids-code-in-julia-parallel-fftw-mpi-jl/2689)._
