-
-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Segmentation fault (core dumped)" after installing the required sparse library in a Qiskit env (conda virtual env) #522
Comments
I cannot tell from your issue where the notebook is, could you give a link to it or upload it? Also could you show where you got the conda environment to run the notebook? |
Also can you run with the environment variable |
We got the sample notebook from below official repo, it's inside the docs/tutorials/ folder. Download link for anaconda for IBM z I installed anaconda for z on RHEL 8.4 (s390x) and created virtual env using below commands:
|
Unfortunately I don't have access to an s390x machine, but I can try to reproduce it on x86_64 over the weekend. |
(qiskit0.30_test) [root@rhel84 qiskit-machine-learning]# jupyter nbconvert --to script 01_neural_networks.ipynb Current thread 0x000003ffb7278240 (most recent call first): |
Let me check if i can share this env to you. :) |
It seems to be a problem importing Numba on S390x, IIUC. Can you try that on your system to see if it is indeed the issue? If it is, can you install as many packages from conda as possible, and the conda compilers package as well, so things are built in an ABI compatible way? |
Is below your mailbox? |
hameer, mailed you just now, thanks! |
Hameer, sorry, just found the mentioned env not on this machine, i need create one to reproduce the issue, wait a moment. |
I'm doing it already following your instructions! 😆 |
OK! Great! But that will take some time to complete! the qiskit 0.30 already installed in it, then you can install extension like machine learning (pip install qiskit-machine-learning) etc. the sample code are located in below folder. |
I see that you reported numba/llvmlite#780. This is the root cause here. I will mark this as upstream. |
Yes, i originally considered these were different issues. Thanks! |
Hi,
We encountered a serious issue when running jupyter notebook code with the support of sparse library.
Can someone help?
Thanks!
Describe the bug
In a Qiskit 0.30 conda virtual env, after installing the required sparse library using pip, the ipython run will error out with
"Segmentation fault (core dumped)" message.
issue_with_sparse.log
To Reproduce
Expected behavior
expect no prompt for install sparse library and no errors popped up for the ipython run
System
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: