# Load Error PETSc Complex (v4.14)

**URL:** <https://community.freefem.org/t/load-error-petsc-complex-v4-14/3080>\
**Category:** General Discussion\
**Created:** [April 2, 2024, 4:14pm UTC](https://community.freefem.org/t/load-error-petsc-complex-v4-14/3080 "2024-04-02T16:14:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RaMattoso](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/ramattoso/32/499_2.png) [@RaMattoso](https://community.freefem.org/u/RaMattoso)\
**Post date:** [April 2, 2024, 4:14pm UTC](https://community.freefem.org/t/load-error-petsc-complex-v4-14/3080/1 "2024-04-02T16:14:31Z")

</div>

Hello everyone!

I use Windows and had to format my machine.  
I don’t remember which version of FF++ I was using before, but I installed the current version available, v4.14, and I can’t run my code.

The error is as follows:

```auto
   10 : load "PETSc-complex"
Load error: PETSc-complex
         fail:
list prefix: 'C:\Program Files (x86)\FreeFem++\\.\' list suffix: '' , '.dll'
  current line = 10
Load error : PETSc-complex
        line number :10, PETSc-complex
error Load error : PETSc-complex
        line number :10, PETSc-complex
 code = 2 mpirank: 0

```

The .dll file is available in the installation folder.  
Does anyone know how to solve this problem?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![bcaval](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@bcaval](https://community.freefem.org/u/bcaval)\
**Post date:** [April 30, 2024, 6:35pm UTC](https://community.freefem.org/t/load-error-petsc-complex-v4-14/3080/2 "2024-04-30T18:35:44Z")

</div>

Hello freefem community,

Did you have a solution?  
I have the same error. But, for PETSc no problem.

If somebody knows… thanks in advance.

---

<div class="post-metadata">

**Author:** ![RaMattoso](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/ramattoso/32/499_2.png) [@RaMattoso](https://community.freefem.org/u/RaMattoso)\
**Post date:** [May 8, 2024, 12:49am UTC](https://community.freefem.org/t/load-error-petsc-complex-v4-14/3080/3 "2024-05-08T00:49:59Z")

</div>

Hello!

Unfortunately, I couldn’t solve this problem yet.

---

<div class="post-metadata">

**Author:** ![wdachub](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/wdachub/32/1589_2.png) [@wdachub](https://community.freefem.org/u/wdachub)\
**Post date:** [October 6, 2025, 9:29pm UTC](https://community.freefem.org/t/load-error-petsc-complex-v4-14/3080/4 "2025-10-06T21:29:04Z")

</div>

I got the same error with v4.15 and v4.15b

2 : load “PETSc-complex”  
Load error: PETSc-complex  
fail:  
list prefix: ‘D:\Program Files (x86)\FreeFem++\.’ list suffix: ‘’ , ‘.dll’  
current line = 2  
Load error : PETSc-complex  
line number :2, PETSc-complex  
error Load error : PETSc-complex  
line number :2, PETSc-complex  
code = 2 mpirank: 0

---

<div class="post-metadata">

**Author:** ![wdachub](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/wdachub/32/1589_2.png) [@wdachub](https://community.freefem.org/u/wdachub)\
**Post date:** [October 6, 2025, 11:39pm UTC](https://community.freefem.org/t/load-error-petsc-complex-v4-14/3080/5 "2025-10-06T23:39:33Z")

</div>

After switching to version 4.14, the error disappeared.
