# Calling Fortran functions that use MPI

**URL:** <https://discourse.julialang.org/t/calling-fortran-functions-that-use-mpi/76394>\
**Category:** General Usage\
**Tags:** fortran, mpi\
**Created:** [February 14, 2022, 7:36am UTC](https://discourse.julialang.org/t/calling-fortran-functions-that-use-mpi/76394 "2022-02-14T07:36:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucifer1004](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lucifer1004/32/22311_2.png) [@lucifer1004](https://discourse.julialang.org/u/lucifer1004)\
**Post date:** [February 14, 2022, 7:36am UTC](https://discourse.julialang.org/t/calling-fortran-functions-that-use-mpi/76394/1 "2022-02-14T07:36:47Z")

</div>

I have used `ccall()` a few times, but I wonder what I should do when the callee Fortran function uses MPI itself? Can MPI.jl work in this case?
