rvallon
(Romain Vallon)
1
Hello,
I recently upgraded my debian os from version 11 to 12. I was using the debian FreeFem package and the MUMPS library without any issue on debian 11.
With debian 12, an error is raised when loading the MUMPS library load "MUMPS"
:
-- FreeFem++ v4.11 (Mon Jul 10 11:56:47 AM CEST 2023 - git v4.11)
file : 2DLISSurfactantsFEMIC.edp
Load: lg_fem lg_mesh lg_mesh3 eigenvalue
Load error: MUMPS
fail:
dlerror : libdmumps_seq-5.3.so: cannot open shared object file: No such file or directory
list prefix: './' '/scratch/rvallon/FreeFEM/lib/ff++/4.11/lib/' list suffix: '' , '.so'
current line = 31
Load error : MUMPS
line number :31, MUMPS
error Load error : MUMPS
line number :31, MUMPS
code = 2 mpirank: 0
When loading MUMPS, libdmumps version 5.3 is looked for. debian 12 has libdmumps version 5.5 by default.
Is there any way to indicate which version to load?
Best,
RV
rvallon
(Romain Vallon)
2
Ok, this could be solved by
- installing the debian package libfreefem++
- updating /etc/freefem++.pref
However, an other error is raised when including getARGV.idp include "getARGV.idp"
:
-- FreeFem++ v4.9 ( - git no git)
Load: lg_fem lg_mesh lg_mesh3 eigenvalue
init MUMPS_SEQ: MPI_Init
Add lapack interface ... load: iovtk
Error opening file getARGV.idp in:
-- try :"getARGV.idp"
-- try :"/usr/lib/ff++/4.9/idp/getARGV.idp"
Error line number 36, in file 2DLISSurfactantsFEMIC.edp, before token getARGV.idp
lex: Error input opening file
current line = 36
Compile error : lex: Error input opening file
line number :36, getARGV.idp
error Compile error : lex: Error input opening file
line number :36, getARGV.idp
code = 1 mpirank: 0
close MUMPS_SEQ: MPI_Finalize
Best
RV
rvallon
(Romain Vallon)
3
This was solved by properly editing /etc/.freefem++.pref
loadpath += "./"
loadpath += "/usr/include/freefem++/lib"
includepath += "/usr/include/freefem++/idp"
RV