# Strang behavior of metis plugin compile in my system

**URL:** https://community.freefem.org/t/strang-behavior-of-metis-plugin-compile-in-my-system/76
**Category:** FreeFEM installation
**Created:** [June 15, 2019, 8:06am UTC](https://community.freefem.org/t/strang-behavior-of-metis-plugin-compile-in-my-system/76 "2019-06-15T08:06:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pistatex](https://avatars.discourse-cdn.com/v4/letter/p/43a26b/32.png) [@pistatex](https://community.freefem.org/u/pistatex)
#### Post date: [June 15, 2019, 8:06am UTC](https://community.freefem.org/t/strang-behavior-of-metis-plugin-compile-in-my-system/76/1 "2019-06-15T08:06:56Z")

</div>

Dear all,  
I’m new to FEM and FreeFEM program. My system is linux ubuntu 18.04 LTS, gcc 7.4.0, openmpi 4.0.1 and Intel® i5-9400F.  
When I compile FreeFEM 4.2.1, with following configuation,

./configure CC=mpicc FC=mpif90 CXX=mpicxx --prefix=/opt/FreeFEM/4.2.1 --with-blas=-L/opt/intel/compilers\_and\_libraries\_2019.4.243/linux/mkl/lib/intel64 -Wl,–no-as-needed -lmkl\_gf\_lp64 -lmkl\_sequential -lmkl\_core -lpthread -lm -ldl --enable-download --enable-optim --enable-m64 -with-gsl-prefix=/opt/gsl/2.5 --with-pardiso-include=-I/opt/intel/compilers\_and\_libraries\_2019.4.243/linux/mkl/include --with-lapack-include=-I/opt/intel/compilers\_and\_libraries\_2019.4.243/linux/mkl/include CPPFLAGS=-I/opt/intel/compilers\_and\_libraries\_2019.4.243/linux/mkl/include

compiles fine but many test fail because of FreeFEM’s metis plugin. (undefined symbol error)

Now I change default behavior of metis plugin

eval ./ff-c++ metis.cpp -DWITH\_mpi -pthread -Wl,-rpath -Wl,/opt/openmpi/4.0.1/lib -Wl,–enable-new-dtags -L/opt/openmpi/4.0.1/lib -lmpi\_cxx -lmpi -I/opt/openmpi/4.0.1/include -DWITH\_parmetis -Wl,-rpath,/opt/FreeFEM/4.2.1/ff-petsc/real/lib -L/opt/FreeFEM/4.2.1/ff-petsc/real/lib -lparmetis -I/opt/FreeFEM/4.2.1/ff-petsc/real/include

to this

eval ./ff-c++ metis.cpp -DWITH\_mpi -pthread -Wl,-rpath -Wl,/opt/openmpi/4.0.1/lib -Wl,–enable-new-dtags -L/opt/openmpi/4.0.1/lib -lmpi\_cxx -lmpi -I/opt/openmpi/4.0.1/include -DWITH\_parmetis -Wl,-rpath,/opt/FreeFEM/4.2.1/ff-petsc/real/lib -L/opt/FreeFEM/4.2.1/ff-petsc/real/lib -lparmetis -lmetis -I/opt/FreeFEM/4.2.1/ff-petsc/real/include (I only add -lmetis)

then every test passed except, two xfail test; pardiso.so (because I do not use openmp and multi threaded mkl) and natural-convection-2d-PETSc-fieldsplit.edp (I do not know why this test is xfail).

Could you suggest why this strange behavior happens in my system?

Thank you.
