Thanks Michael,

Here the ouput with verbosity=2

$python -c 'import kwant; kwant.test(verbose=2)' >& Kwant-test-verbose2.txt
$cat Kwant-test-verbose2.txt
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/kwant/solvers/sparse.py:94: RuntimeWarning: The installed SciPy does not use UMFPACK. Instead, SciPy will use the version of SuperLu it is shipped with. Performance can be very poor in this case.
  "Performance can be very poor in this case.", RuntimeWarning)
kwant.graph.tests.test_core.test_empty ... ok
kwant.graph.tests.test_core.test_num_nodes ... ok
kwant.graph.tests.test_core.test_large ... ok
kwant.graph.tests.test_core.test_small ... ok
kwant.graph.tests.test_core.test_negative_node_ids ... ok
kwant.graph.tests.test_core.test_add_edges ... ok
kwant.graph.tests.test_core.test_edge_ids ... ok
kwant.graph.tests.test_slicer.test_rectangle ... ok
kwant.graph.tests.test_utils.test_make_undirected ... ok
kwant.graph.tests.test_utils.test_remove_duplicates ... ok
kwant.graph.tests.test_utils.test_induced_subgraph ... ok
kwant.linalg.tests.test_linalg.test_gen_eig ... ok
kwant.linalg.tests.test_linalg.test_lu ... ok
kwant.linalg.tests.test_linalg.test_rcond_from_lu ... ok
kwant.linalg.tests.test_linalg.test_schur ... ok
kwant.linalg.tests.test_linalg.test_convert_r2c_schur ... ok
kwant.linalg.tests.test_linalg.test_order_schur ... ok
kwant.linalg.tests.test_linalg.test_evecs_from_schur ... ok
kwant.linalg.tests.test_linalg.test_gen_schur ... ok
kwant.linalg.tests.test_linalg.test_convert_r2c_gen_schur ... ok
kwant.linalg.tests.test_linalg.test_order_gen_schur ... ok
kwant.linalg.tests.test_linalg.test_evecs_from_gen_schur ... ok
kwant.linalg.tests.test_lll.test_lll ... ok
kwant.linalg.tests.test_lll.test_cvp ... ok
kwant.linalg.tests.test_mumps.test_lu_with_dense ... SKIP: Skipping test: test_lu_with_dense: Test skipped due to test condition
kwant.linalg.tests.test_mumps.test_schur_complement_with_dense ... SKIP: Skipping test: test_schur_complement_with_dense: Test skipped due to test condition
Test if MUMPSError -9 is properly caught by increasing memory ... SKIP: Skipping test: test_error_minus_9: Test skipped due to test condition
kwant.physics.tests.test_dispersion.test_band_energies ... ok
kwant.physics.tests.test_leads.test_analytic_numeric ... ok
Selfenergy with an invertible hopping matrix, and degenerate bands. ... ok
This is a testcase with invertible hopping matrices, ... ok
This testcase features a rectangular (and hence singular) ... ok
This testcase features a singular, square hopping matrices ... ok
This testcase features a rectangular (and hence singular) ... ok
This testcase features a rectangular (and hence singular) ... ok
kwant.physics.tests.test_leads.test_singular_h_and_t ...

And here it segfaults...

On Sun, Feb 8, 2015 at 2:24 PM, wimmer <wimmer@lorentz.leidenuniv.nl> wrote:
Hi Pol,

can you run kwant.test as 'kwant.test(verbose=2)' to see at which test the segfault occurs?

I don't remember all the details, but MacOSX 10.6 was a bit special in that there was some mix of 32bit and 64bit. It might be some tricky stuff ...

Best,

Michael


On , Pol Nasam wrote:
Thanks Michael. Well, changing directory did make a difference.
However, I get now a segmentation fault:

$python -c 'import kwant; kwant.test()'


/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/kwant/solvers/sparse.py:94:
RuntimeWarning: The installed SciPy does not use UMFPACK. Instead,
SciPy will use the version of SuperLu it is shipped with.
Performance can be very poor in this case.

"Performance can be very poor in this case.", RuntimeWarning)

........................SSS........Segmentation fault

Right now I don't care about the MUPS lib. Thinking on having first
kwant running ok, before reinstalling with MUPS.

It seems to be there is some minor, even obvious, but essential step
that I may be missing. The
not testing things in the same directory where kwant was untarred
should come in the install readme,
for instance. But what else could I be missing now?

Cheers,

On Sun, Feb 8, 2015 at 11:34 AM, Michael Wimmer
<wimmer@lorentz.leidenuniv.nl> wrote:

import kwant