Package Details: python-kwant 1.4.1-1

Git Clone URL: https://aur.archlinux.org/python-kwant.git (read-only, click to copy)
Package Base: python-kwant
Description: Python package for numerical calculations on tight-binding models with a strong focus on quantum transport
Upstream URL: http://kwant-project.org/
Licenses: BSD
Submitter: lobachevsky
Maintainer: lobachevsky
Last Packager: lobachevsky
Votes: 0
Popularity: 0.000000
First Submitted: 2015-12-19 16:09
Last Updated: 2019-04-15 13:35

Dependencies (10)

Required by (1)

Sources (2)

Latest Comments

1 2 Next › Last »

lobachevsky commented on 2020-08-06 16:28

@salviati: Yes, I never got Kwant to compile against regular mumps, which is the reason for mumps-seq-shared. I'll have a look whether I can get it back to work. I will also update Kwant to 1.5 since it's outdated.

salviati commented on 2020-08-06 16:26

Build fails (installed mumps, mumps-seq and mumps-seq-shared fail to compile) with the following error:

gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fno-semantic-interposition -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=native -mtune=native -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/kwant/linalg/_mumps.o -L/usr/lib -lzmumps -lmumps_common -lpord -lmetis -lmpiseq -lgfortran -o build/lib.linux-x86_64-3.8/kwant/linalg/_mumps.cpython-38-x86_64-linux-gnu.so /usr/bin/ld: cannot find -lmpiseq collect2: error: ld returned 1 exit status

***** Error ***** The compilation of Kwant has failed. Please examine the error message above and consult the installation instructions in README.rst. You might have to customize build.conf.

Build configuration was:

['User-configured MUMPS']


error: command 'gcc' failed with exit status 1 ==> ERROR: A failure occurred in build(). Aborting... error making: %!s(func() string=0x55e606d50a60)

lobachevsky commented on 2019-12-17 12:33

Hi hunar1997,

sorry for the late reply, I've missed the AUR mail.

I do get the same failing test you described and I will have a look at it before Christmas and report it upstream, if that hasn't happened already. I guess the problem might come from Python 3.8, because I also saw a lot of deprecation warnings during the build process.

That you can install it via pip is not surprising, because the package builds, it might just not be correct. :)

hunar1997 commented on 2019-12-11 08:23

It fails to build
kwant/tests/test_builder.py .....F

=========== 1 failed, 349 passed, 1104 warnings in 74.78s (0:01:14) ============ ==> ERROR: A failure occurred in check().

I could install kwant using (pip3 install kwant --user) but couldnt get MUMPS to work that way

lobachevsky commented on 2018-10-28 17:50

The reason is that the pyx-files of kwant 1.3.2 were cythonized with a Cython version that did not yet support Python 3.7.

This is fixed in upstream version 1.3.3, whose release I missed (I'm running the git version myself). Sorry for that. I'll push a new package version in a minute.

lobachevsky commented on 2018-10-28 17:39

Hi gerson,

sorry for the late reply. I'll investigate.

gerson commented on 2018-10-21 18:27

I had trouble installing from AUR again. But I'm not sure what is failing, so I'm pasting part of the error message at the end of this comment.

I've managed to install it using pip (--user), which downloads version 1.3.3.

kwant/_system.c:33652:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
    *type = tstate->exc_type;
                    ^~~~~~~~
                    curexc_type

lobachevsky commented on 2017-10-09 20:39

Thanks for the comment! I saw it in the docs, but somehow forgot to add it.

rskolasinski commented on 2017-10-09 19:17

Hi Guys, I just wanted to mention that since Kwant 1.3 sympy is an optional dependency as well required to use kwant.continuum module.

It is awesome to see Kwant in AUR! ;)

gerson commented on 2017-01-31 18:23

Yes, you are right. Multi-thread is working perfectly with the AUR package openblas-lapack and mumps-seq-shared. Thanks again! It is perfect now.