# Load error: MUMPS\_FreeFem

**URL:** https://community.freefem.org/t/load-error-mumps-freefem/1762
**Category:** General Discussion
**Created:** [May 20, 2022, 12:39pm UTC](https://community.freefem.org/t/load-error-mumps-freefem/1762 "2022-05-20T12:39:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Qianrui](https://avatars.discourse-cdn.com/v4/letter/q/9fc348/32.png) [@Qianrui](https://community.freefem.org/u/Qianrui)
#### Post date: [May 20, 2022, 12:39pm UTC](https://community.freefem.org/t/load-error-mumps-freefem/1762/1 "2022-05-20T12:39:15Z")

</div>

I used the example in the reference book. Why can’t it run?

> load “MUMPS\_FreeFem”  
> //default solver: real-\> MUMPS, complex → MUMPS  
> load “real\_SuperLU\_DIST\_FreeFem”  
> default solver: real-\> SuperLU\_DIST, complex → MUMPS  
> load “real\_pastix\_FreeFem”  
> //default solver: real-\> pastix, complex → MUMPS  
> // Solving with pastix  
> {  
> matrix A =  
> [[1, 2, 2, 1, 1],  
> [2, 12, 0, 10 , 10],  
> [2, 0, 1, 0, 2],  
> [1, 10, 0, 22, 0.],  
> [1, 10, 2, 0., 22]];
> 
> real[int] xx = [1, 32, 45, 7, 2], x(5), b(5), di(5);  
> b = A\*xx;  
> cout \<\< "b = " \<\< b \<\< endl;  
> cout \<\< "xx = " \<\< xx \<\< endl;
> 
> set(A, solver=sparsesolver, datafilename=“ffpastix\_iparm\_dparm.txt”);

> Load error: MUMPS\_FreeFem  
> fail:  
> list prefix: 'E:\FreeFem++\.' list suffix: ‘’ , ‘.dll’  
> current line = 49  
> Load error : MUMPS\_FreeFem  
> line number :49, MUMPS\_FreeFem  
> error Load error : MUMPS\_FreeFem  
> line number :49, MUMPS\_FreeFem  
> code = 2 mpirank: 0  
> try getConsole E:\FreeFem++\idp\05.20xuexi.edp  
> save log in : ‘E:\FreeFem++\idp\05.20xuexi.log’  
> wait enter ?

---

<div class="post-metadata">

### Author: ![henkel](https://avatars.discourse-cdn.com/v4/letter/h/b77776/32.png) [@henkel](https://community.freefem.org/u/henkel)
#### Post date: [May 21, 2022, 4:00pm UTC](https://community.freefem.org/t/load-error-mumps-freefem/1762/2 "2022-05-21T16:00:00Z")

</div>

Parts of the documentation are outdated and this plugin has been renamed. You have to load `MUMPS_seq` or `MUMPS_mpi`. Take a look at the [plugins](https://github.com/FreeFem/FreeFem-sources/tree/master/plugin) directory and the [examples](https://github.com/FreeFem/FreeFem-sources/tree/master/examples/examples) for the details.

But I would recommend you to use MUMPS via the PETSc interface instead.
