# Plugin compile module

**URL:** https://community.freefem.org/t/plugin-compile-module/2779
**Category:** FreeFEM installation
**Created:** [November 5, 2023, 6:15pm UTC](https://community.freefem.org/t/plugin-compile-module/2779 "2023-11-05T18:15:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ksugahar](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/ksugahar/32/2115_2.png) [@ksugahar](https://community.freefem.org/u/ksugahar)
#### Post date: [November 5, 2023, 6:15pm UTC](https://community.freefem.org/t/plugin-compile-module/2779/1 "2023-11-05T18:15:19Z")

</div>

I am trying to add plugin to FreeFEM++.  
We would like to add a module with “load” command.  
Is it possible to compile it independently from the main module?  
We could not find a tutorial about it.  
If there is such a toutiroal please let us know.

---

<div class="post-metadata">

### Author: ![mojtaba.barzegari](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/mojtaba.barzegari/32/20_2.png) [@mojtaba.barzegari](https://community.freefem.org/u/mojtaba.barzegari)
#### Post date: [November 6, 2023, 11:50am UTC](https://community.freefem.org/t/plugin-compile-module/2779/2 "2023-11-06T11:50:58Z")

</div>

yes, you can compile the plugins independently (from the core FF compilation process I mean).  
there’s a tutorial here: [https://www.youtube.com/watch?v=JSvVVkf4GDU](https://www.youtube.com/watch?v=JSvVVkf4GDU)

---

<div class="post-metadata">

### Author: ![ksugahar](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/ksugahar/32/2115_2.png) [@ksugahar](https://community.freefem.org/u/ksugahar)
#### Post date: [November 9, 2023, 7:42am UTC](https://community.freefem.org/t/plugin-compile-module/2779/3 "2023-11-09T07:42:11Z")

</div>

Thank you.  
We could compile our own function.cpp using ff-c++ on MinGW64 with Msys2.  
Is it possible to use IntelOneAPI compilers with MinGW64 with Msys2?  
As far as I searched with Google, the answer is no.

We are now trying to add one matrix solver based on ICCG, but are there any tips or suggested way of doing it? I am looking into the FreeFem-sources\plugin\seq folder and trying to find an example with the matrix solvers.

---

<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: [November 9, 2023, 5:58pm UTC](https://community.freefem.org/t/plugin-compile-module/2779/4 "2023-11-09T17:58:57Z")

</div>

Incomplete Cholesky is already implemented in PETSc, there is no need for Intel oneAPI for that.
