[Kwant] Unable to update to Tinyarray 1.0.5

2015-01-30 Thread Bas Nijholt
Hi,  I’ve installed kwant through Homebrew, Michaels provided method. Now I’m trying to update Tinyarray through pip and get the following message: Bass-MacBook-Pro:Desktop basnijholt$ pip install tinyarray Requirement already satisfied (use --upgrade to upgrade): tinyarray in

[Kwant] kwant on OS X

2015-04-09 Thread Bas Nijholt
Small update on installing kwant on OS X: brew install gfortran python brew install gcc python and why is there: brew tap samueljohn/python instead of brew tap homebrew/python? Best, Bas

[Kwant] Fresh install of kwant on OS X failed

2015-06-22 Thread Bas Nijholt
I’ve completely reinstalled my OS and am now encountering issues that I’ve heard other talk about, I’ve followed the instructions on the website word by word, except that I forked Michael’s repo and changed to kwant version 1.0.3. This has worked before for me. This is the error message:

Re: [Kwant] Fresh install of kwant on OS X failed

2015-06-23 Thread Bas Nijholt
     /Users/bnijholt/Library/Logs/Homebrew/kwant/01.python.cc On Tue, Jun 23, 2015 at 8:32 AM, Michael Wimmer wim...@lorentz.leidenuniv.nl wrote: Can you try to run brew install -vd kwant to get a more detailed error? Best, Michael Am 23 jun. 2015 um 02:00 schrieb Bas Nijholt basnijh...@gmail.com

[Kwant] Conda packages for Kwant

2016-02-19 Thread Bas Nijholt
ttp://conda.pydata.org/miniconda.html> or Anaconda <https://www.continuum.io/downloads> and run: conda install -c https://conda.anaconda.org/basnijholt kwant That's it! Let me know if you run into any trouble. Best, Bas Nijholt

Re: [Kwant] Conda packages for Kwant

2016-02-19 Thread Bas Nijholt
. I’ll give compiling for Windows a try some day, however probably I won’t make time for this in the coming weeks. Bas Nijholt On Fri, 19 Feb 2016 at 10:56 Christoph Groth < mailto:Christoph Groth <christoph.gr...@cea.fr> > wrote: Hi Bas, Thanks for packaging Kwant for conda! Do th

Re: [Kwant] Installation instructions for Kwant on WSL

2017-01-23 Thread Bas Nijholt
, Bas Nijholt <basnijh...@gmail.com>, wrote: > As far as I understand, you could just use conda: > > Conda > Conda is a cross-platform package and environment manager that installs, > runs, and updates packages and their dependencies. It allows you to easily > s

Re: [Kwant] seg fault at test run on CentOS

2017-02-27 Thread Bas Nijholt
Hi Faith, I would suggest to try to install kwant via conda. With: conda install -c conda-forge kwant Best, Bas On 27 Feb 2017, 11:55 +0100, Fatih Dogan , wrote: > Hello, > > I have installed the latest version of kwant on a CentOS system that I do not > have root

Re: [Kwant] "No module named kwant" when using iPython

2016-08-29 Thread Bas Nijholt
Hi Cheryne, I think you are not in the correct environment in Spyder, one in which you didn't install kwant. How did you install your Python and kwant? One easy thing to get everything running is to use Anaconda and then install kwant with: conda install -c basnijholt kwant=1.2.2 Best, Bas On

Re: [Kwant] Installation error on Mac

2018-05-15 Thread Bas Nijholt
Hi Girish, Currently the recommended way to install kwant on macOS is with conda. See the instructions on https://kwant-project.org/install# Best, Bas > On 15 May 2018, at 09:20, Girish Sharma wrote: > > Dear All, > > I am trying to install Kwant on my Mac High Sierra

Re: [Kwant] parallel mumps

2017-12-29 Thread Bas Nijholt
Hi Benoit, I’ve tried to get kwant to work with MUMPS compiled with MPI support but I couldn’t get it to work. I am sorry, but I don’t remember the reasons exactly, however, I can explain what I did at least. I am one of the maintainers of the MUMPS conda build

Re: [Kwant] parallel mumps

2017-12-29 Thread Bas Nijholt
'm just curious about this, because the MUMPS dependency that kwant wants > to install on Debian is the parallel version of the library. However, as > far as I know, kwant only uses the sequential version. > > Benoit > > On Fri, Dec 29, 2017 at 5:43 PM, Bas Nijholt <basnijh...@gmail.co

Re: [Kwant] Want to know more about bulid_discretized

2019-03-29 Thread Bas Nijholt
Oops, never mind my remark about the documentation being incorrect! It was just because discretize_symbolic returns a tuple which you fed as a first argument to build_discretized. On Fri, Mar 29, 2019 at 3:28 PM Bas Nijholt wrote: > It seems like the documentation here > <https://git

Re: [Kwant] Want to know more about bulid_discretized

2019-03-29 Thread Bas Nijholt
tb_hamiltonian[k] = sympify(v, > locals)285 > AttributeError: 'tuple' object has no attribute 'items' > > What should I do. > > Naveen > > > On Fri, Mar 29, 2019 at 5:37 PM Bas Nijholt wrote: > >> Hi Naveen, >> >> In the documentation

Re: [Kwant] Want to know more about bulid_discretized

2019-03-29 Thread Bas Nijholt
Hi Naveen, In the documentation you can see that coords require a sequence of strings, so for example: coords = ('x',) # for 1D coords = ('x', 'y', 'z') # for 3D Best, Bas On Fri, Mar 29, 2019 at 12:59