Hi Nefta,

> Seems like kwant could not link against the already installed MUMPS-devel
> libraries. To solve that, Joe and I removed kwant and installed it again
> but this time from source and created a build.conf file that contains the
> following lines:
> 
> [mumps]
> libraries = zmumps mumps_common
> include_dirs = /usr/include/MUMPS

Thanks for the information! This will be useful to anyone looking to
install Kwant on Fedora who does not want to use Conda.

To summarize, building Kwant with MUMPS support on Fedora requires the
following steps:

    - Install the 'Mumps-devel' package using the distribution's package
      manager (probably 'yum' or 'dnf').

    - Download the Kwant source code (you can either clone the
      repository using 'git' or download one of the tagged versions [1])

    - Create a file 'build.conf' in the root directory of the extracted
      Kwant source code, with the contents

        [mumps]
        libraries = zmumps mumps_common
        include_dirs = /usr/include/MUMPS

    - Run 'python3 setup.py install' to build and install Kwant (you
      may need to prepend 'sudo' to this last command)


Happy Kwanting,

Joe


[1]: https://gitlab.kwant-project.org/kwant/kwant/tags

Attachment: signature.asc
Description: PGP signature

Reply via email to