# Running FreeFem fails

**URL:** https://community.freefem.org/t/running-freefem-fails/1046
**Category:** FreeFEM installation
**Created:** [June 18, 2021, 12:23am UTC](https://community.freefem.org/t/running-freefem-fails/1046 "2021-06-18T00:23:59Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![balajek](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/balajek/32/595_2.png) [@balajek](https://community.freefem.org/u/balajek)
#### Post date: [June 18, 2021, 12:23am UTC](https://community.freefem.org/t/running-freefem-fails/1046/1 "2021-06-18T00:23:59Z")

</div>

Hi everyone,

I am trying to install FreeFem (v4.9) on a 2020 M1 MacBook Air using the source code, and I get the following error while trying to run a program.

```bash
>>> FreeFem++ test.edp

1 != 7 - dHat = 3 0107269324801 6
  current line = -1
Assertion fail : (nn == k)
	line :64, in file ./../femlib/PkLagrange.hpp
libc++abi: terminating with uncaught exception of type ErrorAssert: Assertion fail : (nn == k)
	line :64, in file ./../femlib/PkLagrange.hpp
zsh: abort FreeFem++

```

Also, all the tests in `make check` failed with the same error. My `config.param` file is

```bash
'--enable-download'
'--enable-optim'
'--disable-ipopt'
'CC=clang'
'CXX=clang++'
'MPICC=mpicc'
'MPICXX=mpic++'
'FC=gfortran-11'
'F77=gfortran-11'

```

I didn’t use `ipopt` since it threw an error when running `make -j2`. Can someone help me out with this error?

Thanks,  
Balaje

**EDIT 1:** I downloaded the `.pkg` for the latest release and it runs, but only on the Intel architecture. Is it an issue with not having support for Apple Silicon yet?
