Hi,

I recently got a new computer, MacBook Pro, Sonoma 14.6.1 with chip Apple M3 
Pro, and I installed kwant with Conda, as I did in the past many times in other 
computers (both Mac and Ubuntu). The installation seemed to had succeeded. 
However, when I do "import kwant", an error appears. Specifically when I do it 
in the python prompt of the terminal, the python prompt exits and then the 
following line appears "Abort trap: 6". I have tried to search for this error 
in relation to python packages but I haven't been able to find something that 
can help me. Additionally, by trying to understand and fix this, I found the 
following. If I go the the solvers folder where kwant is installed within the 
Conda environment, and I do "import kwant" again in the python prompt, kwant 
gets imported but I get the following message: 
/Users/XXX/anaconda3/envs/kwant/lib/python3.12/site-packages/kwant/solvers/default.py:16:
 RuntimeWarning: MUMPS is not available, SciPy built-in solver will be used as 
a fallback. Performance can be very poor in this case.
  warnings.warn("MUMPS is not available, "

I do have mumps installed (mumps-include, mumps-seq, python-mumps) when I check 
with "conda list mumps", so I don't really understand what is going on. I 
figured the most possible explanation may be related to the fact this Mac has 
an apple silicon chip, as this sometimes gave me problems in some other 
situations. However, I have not found anybody in this mail list posting error 
messages related to apple silicon chips.

Any help and direction will be greatly appreciated.

Best,

Marc

Reply via email to