# \[PETsc\]all examples in "examples/hpddm" don't work,why?

**URL:** https://community.freefem.org/t/petsc-all-examples-in-examples-hpddm-dont-work-why/2464
**Category:** General Discussion
**Created:** [May 17, 2023, 8:01am UTC](https://community.freefem.org/t/petsc-all-examples-in-examples-hpddm-dont-work-why/2464 "2023-05-17T08:01:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![William](https://avatars.discourse-cdn.com/v4/letter/w/b19c9b/32.png) [@William](https://community.freefem.org/u/William)
#### Post date: [May 17, 2023, 8:01am UTC](https://community.freefem.org/t/petsc-all-examples-in-examples-hpddm-dont-work-why/2464/1 "2023-05-17T08:01:56Z")

</div>

Error line number 735, in file macro: buildOverlapEdgePeriodicRecursive in E:\freefem++4.12\FreeFem++\idp\macro\_ddm.idp, before token mpiWtime

current line = 735  
Compile error :  
line number :735, mpiWtime  
error Compile error :  
line number :735, mpiWtime  
code = 1 mpirank: 0

---

<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: [May 17, 2023, 11:30am UTC](https://community.freefem.org/t/petsc-all-examples-in-examples-hpddm-dont-work-why/2464/3 "2023-05-17T11:30:19Z")

</div>

You need to use `FreeFem++-mpi`, not `FreeFem++`.
