# Install Error for additional packages

**URL:** <https://community.freefem.org/t/install-error-for-additional-packages/653>\
**Category:** FreeFEM installation\
**Created:** [November 13, 2020, 6:40am UTC](https://community.freefem.org/t/install-error-for-additional-packages/653 "2020-11-13T06:40:46Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![dajopez](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dajopez](https://community.freefem.org/u/dajopez)\
**Post date:** [November 13, 2020, 6:40am UTC](https://community.freefem.org/t/install-error-for-additional-packages/653/1 "2020-11-13T06:40:46Z")

</div>

Whenever I try to do step 6 or 7 of the Windows install guide I get the following:

Sorry missing unzip,m4,bison,flex,patch command

How do I deal with this? Also what exactly should I be putting in mingw64 for the full install?

---

<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 13, 2020, 7:55am UTC](https://community.freefem.org/t/install-error-for-additional-packages/653/2 "2020-11-13T07:55:12Z")

</div>

Type this:

```auto
$ pacman -S autoconf automake-wrapper bash bash-completion \
    bison bsdcpio bsdtar bzip2 coreutils curl dash file filesystem \
    findutils flex gawk gcc gcc-fortran gcc-libs grep gzip inetutils info less lndir \
    make man-db git mingw-w64-x86_64-freeglut mingw-w64-x86_64-toolchain mingw-w64-x86_64-gsl mingw-w64-x86_64-hdf5 \
    mingw-w64-x86_64-openblas mintty msys2-keyring msys2-launcher-git \
    msys2-runtime ncurses pacman pacman-mirrors pactoys-git patch pax-git python \
    perl pkg-config pkgfile rebase sed tar tftp-hpa time tzcode unzip util-linux which \
    mingw-w64-x86_64-libmicroutils mingw-w64-x86_64-cmake
$ pacman -R mingw-w64-x86_64-gcc-ada mingw-w64-x86_64-gcc-objc mingw-w64-x86_64-gdb mingw-w64-x86_64-python

```

It’s written [there](https://github.com/FreeFem/FreeFem-sources/tree/develop/etc/jenkins#windows-7-and-10---all-vm).

If you are on Windows, you can simply get the `.exe` on [GitHub](https://github.com/FreeFem/FreeFem-sources/releases/tag/v4.7-1) as well.

---

<div class="post-metadata">

**Author:** ![dajopez](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dajopez](https://community.freefem.org/u/dajopez)\
**Post date:** [November 13, 2020, 8:09am UTC](https://community.freefem.org/t/install-error-for-additional-packages/653/3 "2020-11-13T08:09:07Z")

</div>

So i ran the first chunk and I think it went through, but when I run the second it gives

error: failed to prepare transaction (could not satisfy dependencies)

I updated everything with pacman -Syuu like the troubleshooting website suggested.

I also used that .exe and FreeFEM still wont run the code you posted earlier. It gives this error

```
    Error line number 820, in file macro: buildOverlapEdgePeriodicRecursive in C:\Program Files 
   (x86)\FreeFem++\\idp\macro_ddm.idp, before token mpiWtime
```

---

<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 13, 2020, 8:22am UTC](https://community.freefem.org/t/install-error-for-additional-packages/653/4 "2020-11-13T08:22:37Z")

</div>

You need to run `FreeFem++-mpi.exe`, not `FreeFem++.exe`, see [this](https://community.freefem.org/t/hydrodynamic-stability-implementation-in-freefem/622/4) answer in another thread on how to use it from the command prompt.

---

<div class="post-metadata">

**Author:** ![dajopez](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dajopez](https://community.freefem.org/u/dajopez)\
**Post date:** [November 13, 2020, 8:28am UTC](https://community.freefem.org/t/install-error-for-additional-packages/653/5 "2020-11-13T08:28:14Z")

</div>

Whenever I try to run FreeFem+±mpi.exe it immedietely closes. Is that something on my end?

Also what is the easiest way to edit code on my machine?

---

<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 13, 2020, 8:32am UTC](https://community.freefem.org/t/install-error-for-additional-packages/653/6 "2020-11-13T08:32:51Z")

</div>

It closes the terminal? You may have to install [MS-MPI](https://www.microsoft.com/en-us/download/details.aspx?id=100593). You can edit code using Notepad.

---

<div class="post-metadata">

**Author:** ![dajopez](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dajopez](https://community.freefem.org/u/dajopez)\
**Post date:** [November 13, 2020, 8:38am UTC](https://community.freefem.org/t/install-error-for-additional-packages/653/7 "2020-11-13T08:38:32Z")

</div>

ok.

Looking at the install guide I have done steps 1-5 without error popping up. I have installed MPI, msys2, and Git. It yells at me whenever I try to do step 6, and I have gotten different answers about what I should actually put in their. Once everything is intalled I am still not sure how to get the mpi version of FreeFEM to run the code. Currently I have been editing code in the online widget and then downloading the .edp file at it runs automatically.

Sorry this is a lot I am just getting more confused about what I actually need to do and how.

---

<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 13, 2020, 8:41am UTC](https://community.freefem.org/t/install-error-for-additional-packages/653/8 "2020-11-13T08:41:02Z")

</div>

Just open the Windows command prompt, go in the FreeFEM folder installation using `cd`, and type a command.

---

<div class="post-metadata">

**Author:** ![dajopez](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dajopez](https://community.freefem.org/u/dajopez)\
**Post date:** [November 13, 2020, 8:44am UTC](https://community.freefem.org/t/install-error-for-additional-packages/653/9 "2020-11-13T08:44:16Z")

</div>

what command? I am here right now

 ![Capture](https://canada1.discourse-cdn.com/flex030/uploads/freefem/original/1X/942ac2eb4c0a856e072624976d99aa6a05762454.jpeg)

---

<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 13, 2020, 8:47am UTC](https://community.freefem.org/t/install-error-for-additional-packages/653/10 "2020-11-13T08:47:06Z")

</div>

Again, see the screenshots in [this](https://community.freefem.org/t/hydrodynamic-stability-implementation-in-freefem/622/4) previously mentioned post for the correct path and commands.

---

<div class="post-metadata">

**Author:** ![dajopez](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dajopez](https://community.freefem.org/u/dajopez)\
**Post date:** [November 13, 2020, 8:53am UTC](https://community.freefem.org/t/install-error-for-additional-packages/653/11 "2020-11-13T08:53:36Z")

</div>

I am not sure what commands you are referring to. I have a scipt.edp file dowloaded, how do I get it to run through FreeFem+±mpi.exe from the command prompt?

---

<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 13, 2020, 8:54am UTC](https://community.freefem.org/t/install-error-for-additional-packages/653/12 "2020-11-13T08:54:40Z")

</div>

By typing `"FreeFem++-mpi.exe" script.edp` in the `C:\Program Files (x86)\FreeFem++` folder.

---

<div class="post-metadata">

**Author:** ![dajopez](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dajopez](https://community.freefem.org/u/dajopez)\
**Post date:** [November 13, 2020, 9:06am UTC](https://community.freefem.org/t/install-error-for-additional-packages/653/13 "2020-11-13T09:06:39Z")

</div>

I ran the code you posted in a different thread, but the plot doesn’t show pop up. Other than that I believe it is working.

---

<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 13, 2020, 9:09am UTC](https://community.freefem.org/t/install-error-for-additional-packages/653/14 "2020-11-13T09:09:44Z")

</div>

Good! For the plot, I think this is a known problem. Maybe you could try the following:

1. run the code with the option `-fglut myPlots`
2. after completion, run `"ffglut.exe" myPlots`

But I’m not sure it will work as well. To be honest, you should just switch to ParaView. I can give you the appropriate command for your script if you want.

---

<div class="post-metadata">

**Author:** ![dajopez](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dajopez](https://community.freefem.org/u/dajopez)\
**Post date:** [November 13, 2020, 9:12am UTC](https://community.freefem.org/t/install-error-for-additional-packages/653/15 "2020-11-13T09:12:17Z")

</div>

I dont need plots anymore, so that is more of a curiosity than anything. I am going to put the calculations I need to do in the code you provided, make sure it all works, and hopefully get it to run faster. If it doesnt work I will let you know, If it does I would like to bug you about what exactly you did so I can understand it.

Thank you so much for the help again.

Also is the website not loading more than two tabs a me problem or a server side problem?

---

<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 13, 2020, 9:15am UTC](https://community.freefem.org/t/install-error-for-additional-packages/653/16 "2020-11-13T09:15:14Z")

</div>

Sure thing, please do let me know if you run into any hiccups or something is not clear to you. With the script I gave you, you can leverage parallel computing + SLEPc, which is more efficient than ARPACK. So the sky should be your limit! 😄

W.r.t. the website, I’m not real sure what you mean. Maybe it is a little slow this morning?
