# MPI not working with PackageCompiler?

**URL:** https://discourse.julialang.org/t/mpi-not-working-with-packagecompiler/50159
**Category:** General Usage
**Tags:** question, parallel, compilation, mpi, precompilation
**Created:** [November 14, 2020, 8:21pm UTC](https://discourse.julialang.org/t/mpi-not-working-with-packagecompiler/50159 "2020-11-14T20:21:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kirklong](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kirklong/32/19433_2.png) [@kirklong](https://discourse.julialang.org/u/kirklong)
#### Post date: [November 14, 2020, 8:21pm UTC](https://discourse.julialang.org/t/mpi-not-working-with-packagecompiler/50159/1 "2020-11-14T20:21:31Z")

</div>

I’ve been recently playing with the MPI wrappers for Julia (MPI.jl) – yesterday I built a dumb test problem in both C and Julia and was comparing performance, and Julia is pretty close to C which is impressive! ![image](https://global.discourse-cdn.com/julialang/original/3X/d/c/dccd681f7a4ccc98bc3f23792c6f64e0f82f4a93.png)  
I thought I might be able to close the gap even further by using the PackageCompiler.jl package to speed up the initial loading cost in Julia, but I can’t get it to play nicely. If I run:  
`julia --sysimage myImage.so --project myProject.jl`  
it works fine, but if I run:  
`mpiexec -n np julia --sysimage myImage.so --project myProject.jl`  
I get a signal 6 abort. This is my first experience with both the MPI.jl and PackageCompiler.jl packages, so any tips/insights are much appreciated!
