Transonic jit compilation+mpi blocks simulations
Created originally on Bitbucket by avmo (Ashwin Vishnu)
Issue
Simulations are frozen if attempted to launch with MPI from a fresh installation of fluidsim
.
Reproduce
- make a fresh virtualenv with the following requirements:
Cython==0.29.4
decorator==4.3.2
gast==0.2.2
mpi4py==3.0.0
networkx==2.2
numpy==1.16.1
ply==3.11
pythran==0.9.1.post0
six==1.12.0
pip install -r requirements.txt
-
Install
fluidfft
andfluiddyn
usingmake develop
from the respective repos. -
Clear cache:
TRANSONIC_DIR=$FLUIDSIM_PATH/.transonic transonic -cc fluidsim.solvers.sw1l
- Run a set of tests with mpi and jit compilation
TRANSONIC_COMPILE_JIT=1 mpirun -n 2 fluidsim-test -m fluidsim.solvers.sw1l