Dear all,
It’s been a while since I didn’t had build issues of FreeFem
, and after few days, I should say, Iḿ stuck…
The build process runs fine with no errors, and I think there is an issue when building or linking some libraries (ptscoth) built under PETsc.
The symptom:
When running mpi examples that load various libraries like MUMPS, parmmg, HPDDM, PETsc, (essentially all that are built with PETsc), I get the following error related to linking to scotch:
Load error: mmg
fail:
dlerror : /home/julien/Libraries/freefem+±4.16/ff-petsc/r/lib/libmmg.so.5: undefined symbol: _SCOTCHintSort2asc1
list prefix: ‘./’ ‘/home/julien/Libraries/freefem+±4.16/lib/ff++/4.16/lib/mpi/’ list suffix: ‘’ , ‘.so’(…)
Sorry! You were supposed to get help about:
prun:non-zero-exit
But I couldn’t open the help file:
/usr/lib/x86_64-linux-gnu/pmix2/share/pmix/help-prun.txt: No such file or directory
/usr/lib/x86_64-linux-gnu/prrte3/share/prte/help-prun.txt: No such file or directory.
Sorry!
or
Load error: MUMPS_mpi
fail:
dlerror : /home/garaud/Libraries/freefem+±4.16/ff-petsc/r/lib/libptscotch.so.7.0: undefined symbol: _SCOTCHorderSaveTree
list prefix: ‘./’ ‘/home/julien/Libraries/freefem+±4.16/lib/ff++/4.16/lib/mpi/’ list suffix: ‘’ , ‘.so’(…)
PMIX ERROR: PMIX_ERR_UNREACH in file ../../../src/server/pmix_server.c at line 3207
Sorry! You were supposed to get help about:
prun:non-zero-exit
But I couldn’t open the help file:
/usr/lib/x86_64-linux-gnu/pmix2/share/pmix/help-prun.txt: No such file or directory
/usr/lib/x86_64-linux-gnu/prrte3/share/prte/help-prun.txt: No such file or directory.
Sorry!
The context:
- fresh install of ubuntu 26.04
- Freefem from developp branch
- the
./configrue --prefix=/home/julien/Libraries/freefem++-4.16 --with-mpi=yes --enable-m64 --enable-downlad --enable-optim --with-hdf5=no - I tried to build petsc either separately, or building with
make petsc-slepc, and I get the same issue - after few attempts, I tried to build
petscseparately, and runmake check. I get similar errors, related to linking withscotch. So I guess it is probably related to petsc building ofscotch/ptscotch
After trying to debug with ai, I still get this kind of errors, and should say that I’m stuck
Did anyone faced similar issues?
I advance, thank for the help! ![]()