# Error for parallel simulation

**URL:** <https://community.freefem.org/t/error-for-parallel-simulation/691>\
**Category:** General Discussion\
**Created:** [December 15, 2020, 7:16pm UTC](https://community.freefem.org/t/error-for-parallel-simulation/691 "2020-12-15T19:16:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zese](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/zese/32/917_2.png) [@zese](https://community.freefem.org/u/zese)\
**Post date:** [December 15, 2020, 7:16pm UTC](https://community.freefem.org/t/error-for-parallel-simulation/691/1 "2020-12-15T19:16:40Z")

</div>

Dear users

I am planning to run my simulation in parallel. it is an optimal control simulation; however, after solving 37 iterations it stops and show some errors as follow. do you know what the problem might be?

\*\* Error allocating int buffer for matrix distribution  
\*\* Error allocating int buffer for matrix distribution  
\*\* Error allocating int buffer for matrix distribution  
\*\* Error allocating real buffer for matrix distribution  
\*\* Error allocating IW4 for matrix distribution  
\*\* Error allocating int buffer for matrix distribution  
Erreur Mumps mpi: number -13  
Erreur Mumps mpi: number -13  
Erreur Mumps mpi: number -13  
Erreur Mumps mpi: number -13  
Erreur Mumps mpi: number -13  
Erreur Mumps mpi: number -1  
Fatal Erreur MUMPS\_mpi Factorize  
Erreur Mumps mpi: number -1  
Fatal Erreur MUMPS\_mpi Factorize  
Fatal Erreur MUMPS\_mpi Factorize  
Fatal Erreur MUMPS\_mpi Factorize  
Fatal Erreur MUMPS\_mpi Factorize  
Fatal Erreur MUMPS\_mpi Factorize  
Fatal Erreur MUMPS\_mpi Factorize  
On return from DMUMPS, INFOG(1)= -13  
On return from DMUMPS, INFOG(2)= 5120016  
Erreur Mumps mpi: number -13  
Fatal Erreur MUMPS\_mpi Factorize  
current line = 163 mpirank 6 / 8  
current line = 163 mpirank 3 / 8  
current line = 163 mpirank 0 / 8  
current line = 163 mpirank 5 / 8  
current line = 163 mpirank 7 / 8  
current line = 163 mpirank 2 / 8  
current line = 163 mpirank 1 / 8  
current line = 163 mpirank 4 / 8  
Exec error : MUMPS\_mpi Factorize  
– number :0  
Instance Error 2 in DMUMPS\_F77 1  
Instance Error 2 in DMUMPS\_F77 1  
Instance Error 2 in DMUMPS\_F77 1  
Instance Error 2 in DMUMPS\_F77 1  
Instance Error 2 in DMUMPS\_F77 1  
Instance Error 2 in DMUMPS\_F77 1  
Instance Error 2 in DMUMPS\_F77 1  
Instance Error 2 in DMUMPS\_F77 1

job aborted:  
[ranks] message

[0-7] process exited without calling finalize

---- error analysis -----

[0-7] on DESKTOP-RVNDC7H  
FreeFem+±mpi ended prematurely and may have crashed. exit code 0xc0000005

---- error analysis -----

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [December 15, 2020, 7:52pm UTC](https://community.freefem.org/t/error-for-parallel-simulation/691/2 "2020-12-15T19:52:38Z")

</div>

Maybe a memory leak somewhere? Hard to tell without the script.
