Error: Duplication of MPI communicator failed
15 days ago by
So essentially I'm running a fenics pde solver in a double for loop, where every iteration I'm solving the pde with different parameters.
I'm trying to solve the pde 100 different times, with different parameter values, and it goes until about 91 and I get this issue,
Traceback (most recent call last): File "paper_runner.py", line 38, in <module> out = prog(mu_arr[j],10.0,k_arr[i],.75,domains[d],[direction_get(angle)],[1.0],32,20,True,False) File "/Users/celsloaner/Dropbox/MIPDECO/mu_test/paper/movies_and_plots_for_mu_y_planark=1 45/robust_paper.py", line 525, in prog solve(F == 0, uv, J=Jac) File "/Users/celsloaner/anaconda3/envs/fenicsproject/lib/python3.6/site-packages/fenics_adjoint/solving.py", line 32, in solve output = backend.solve(*args, **kwargs) File "/Users/celsloaner/anaconda3/envs/fenicsproject/lib/python3.6/site-packages/dolfin/fem/solving.py", line 300, in solve _solve_varproblem(*args, **kwargs) File "/Users/celsloaner/anaconda3/envs/fenicsproject/lib/python3.6/site-packages/dolfin/fem/solving.py", line 349, in _solve_varproblem solver.solve() RuntimeError: *** Error: Duplication of MPI communicator failed (MPI_Comm_dup
I think this is some sort of weird freeing issue related to memory. Am I running out of memory? How can I fix it so this issue does not occur?
Community: FEniCS Project
14 days ago by
Please login to add an answer/comment or follow this question.