When I do make check I get FAIL in example/ed/schwarz-nm-3d.edp while loading “metis”
The error is:
dlerror : metis.so: cannot open shared object file: No such file or directory
list prefix: ‘…/…/plugin/seq/’ ‘’ list suffix : ‘’ , ‘.so’
current line = 62
Load error : metis
line number :62, metis
error Load error : metis
line number :62, metis
code = 2 mpirank: 0
Go to your Freefem source directory (not install directory) and go to plugin/seq, then type ldd metis.so. Next go to plugin/mpi, then type ldd metis.so. Strangely only ${top-of-tour-Freefem-source directoryplugin}/mpi/metis.so is linked with libmetis.so. Now remove plugin/seq/metis.so and cp plugin/mpi/metis.so to plugin/seq then go to top of your Freefem source directory and type make check. In my case it reduce a number of fail and xfail tests.
Then first, you should remove both plugin/seq/metis.so and plugin/mpi/metis.so.
Second, view where-library-config or where-library, then you can see both metis LD and parmetis LD. (I think when freefem compiles metis.so plugin, it uses parmetis LD instead of metis LD.)
Third add -lmetis to parmetis LD and go to top of source directory.
Finally, go to the top of source directory and type make and make check.