Commit 152d06ec authored by Pierre Augier's avatar Pierre Augier
Browse files

Mock more modules

......@@ -73,8 +73,13 @@ def compute_increments_dim1(var: Af, irx: int):
return inc_var
nb_proc = mpi.nb_proc
rank = mpi.rank
if not fp.is_transpiling:
nb_proc = mpi.nb_proc
rank = mpi.rank
else:
nb_proc = 1
rank = 0
if nb_proc > 1:
MPI = mpi.MPI
comm = mpi.comm
......
......@@ -69,7 +69,10 @@ make_pythran_files(
"fluiddyn.io",
"fluiddyn.util",
"fluiddyn.util.paramcontainer",
"fluiddyn.util.mpi",
"fluiddyn.output",
"fluiddyn.calcul",
"fluiddyn.calcul.setofvariables",
"fluidfft.fft2d.operators",
"fluidfft.fft3d.operators",
),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment