conda-forge / suitesparse-feedstock

A conda-smithy repository for suitesparse.
BSD 3-Clause "New" or "Revised" License
1 stars 17 forks source link

Compiling libmetis leads to problems #17

Closed basnijholt closed 7 years ago

basnijholt commented 7 years ago

After I updated kwant to openblas 0.2.19|0.2.19.*, installing suitesparse leads to Segmentation fault (core dumped) when importing kwant.

getting a backtrace from the coredump I see that the segfault happens here 0x00007f6235a44934 in libmetis__CompressGraph () from /home/tinkerer/.conda/envs/anaconda/lib/libmetis.so

this reproduces the problem:

conda create --yes --copy --name test6 python=3.5
source activate test6
conda install --yes -c conda-forge kwant=1.2.2
python -c 'import kwant'
conda install --yes -c conda-forge suitesparse
python -c 'import kwant'

It's probably because suitesparse has it's own libmetis, while there is a metis-feedstock

basnijholt commented 7 years ago

I see that this point came up before.

jakirkham commented 7 years ago

Work on this occurring in PR ( https://github.com/conda-forge/suitesparse-feedstock/pull/18 ).

jakirkham commented 7 years ago

Fixed in PR ( https://github.com/conda-forge/suitesparse-feedstock/pull/18 ).