Hello,

I have installed (in non standard directories)

resulting in following libs


I use Intel’s icc/ifort/MKL.

When building kwant, the output shows "User-configured MUMPS", no errors.
I use following build.conf file:

[mumps]
libraries = zmumps mumps_common pord metis esmumps scotch scotcherr mpiseq
library_dirs = $MUMPS/lib $METIS/lib $SCOTCH/lib

[lapack]
libraries = mkl_intel_lp64 mkl_sequential mkl_core mkl_def
library_dirs = $IMKL/mkl/lib/intel64
extra_link_args = -Wl,-rpath=$IMKL/mkl/lib/intel64


However, it seems something is going wrong since MUMPS cannot be loaded. I tried both kwant 1.0.5 and 1.1.1.


>>> from scikits import umfpack
>>> import kwant
[…]/lib/python2.7/site-packages/kwant-1.1.1-py2.7-linux-x86_64.egg/kwant/solvers/default.py:18: RuntimeWarning: MUMPS is not available, SciPy built-in solver will be used as a fallback. Performance can be very poor in this case.

>>> from kwant.linalg import mumps
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "[…]/lib/python2.7/site-packages/kwant-1.1.1-py2.7-linux-x86_64.egg/kwant/linalg/mumps.py", line 17, in <module>
    from . import _mumps
ImportError: […]/lib/python2.7/site-packages/kwant-1.1.1-py2.7-linux-x86_64.egg/kwant/linalg/_mumps.so: undefined symbol: scotchfdgraphcorderinit_


Any idea how to solve this problem?

Thanks in advance!

Regards,
Stefan