Cytnx will cause kernal crashing when using matplotlib
Running the following code in a jupyter notebook will make the kernal crashing
import cytnx
import matplotlib.pyplot as plt
plt.plot([1,2,3])
What's your setting? Inline?
I suspect that this is caused by mkl ilp64
What’s inline?
Kai-Hsin Wu @.***>於 2023年8月30日 週三,上午12:11寫道:
What's your setting? Inline?
— Reply to this email directly, view it on GitHub https://github.com/Cytnx-dev/Cytnx/issues/244#issuecomment-1697753989, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUUA2L32AFXDA7YZR3GTZ3XXYIB7ANCNFSM6AAAAAA4AH4M2I . You are receiving this because you are subscribed to this thread.Message ID: @.***>
What's your setting? Inline?
Yes, running with %matplotlib inline will reproduce the bug.
How about on terminal? Does it break?
I can't reproduce this? whats your conda packages settings
mamba 1.5.0 py311h3072747_0 conda-forge
matplotlib 3.7.2 pypi_0 pypi
ncurses 6.4 h6a678d5_0
numpy 1.25.2 pypi_0 pypi
openssl 3.1.2 hd590300_0 conda-forge
packaging 23.0 py311h06a4308_0
pcre2 10.37 he7ceb23_1
pillow 10.0.0 pypi_0 pypi
pip 23.1.2 py311h06a4308_0
pluggy 1.0.0 py311h06a4308_1
pybind11-abi 4 hd3eb1b0_1
pycosat 0.6.4 py311h5eee18b_0
pycparser 2.21 pyhd3eb1b0_0
pyopenssl 23.2.0 py311h06a4308_0
pyparsing 3.0.9 pypi_0 pypi
pysocks 1.7.1 py311h06a4308_0
python 3.11.4 h955ad1f_0
python-dateutil 2.8.2 pypi_0 pypi
python_abi 3.11 2_cp311 conda-forge
readline 8.2 h5eee18b_0
reproc 14.2.4 h295c915_1
reproc-cpp 14.2.4 h295c915_1
requests 2.31.0 py311h06a4308_0
ruamel.yaml 0.17.21 py311h5eee18b_0
setuptools 67.8.0 py311h06a4308_0
six 1.16.0 pyhd3eb1b0_1
sqlite 3.41.2 h5eee18b_0
tk 8.6.12 h1ccaba5_0
toolz 0.12.0 py311h06a4308_0
tqdm 4.65.0 py311h92b7b1e_0
tzdata 2023c h04d1e81_0
urllib3 1.26.16 py311h06a4308_0
wheel 0.38.4 py311h06a4308_0
xz 5.4.2 h5eee18b_0
yaml-cpp 0.7.0 h295c915_1
zlib 1.2.13 hd590300_5 conda-forge
zstandard 0.19.0 py311h5eee18b_0
zstd 1.5.5 hc292b87_0
Try to update all deps to condaforge
On Wed, Aug 30, 2023, 05:40 jeffry1829 @.***> wrote:
[image: image] https://user-images.githubusercontent.com/21331401/264280485-111b37ae-d58d-4fdb-83da-619703487566.png
mamba 1.5.0 py311h3072747_0 conda-forge matplotlib 3.7.2 pypi_0 pypi ncurses 6.4 h6a678d5_0 numpy 1.25.2 pypi_0 pypi openssl 3.1.2 hd590300_0 conda-forge packaging 23.0 py311h06a4308_0 pcre2 10.37 he7ceb23_1 pillow 10.0.0 pypi_0 pypi pip 23.1.2 py311h06a4308_0 pluggy 1.0.0 py311h06a4308_1 pybind11-abi 4 hd3eb1b0_1 pycosat 0.6.4 py311h5eee18b_0 pycparser 2.21 pyhd3eb1b0_0 pyopenssl 23.2.0 py311h06a4308_0 pyparsing 3.0.9 pypi_0 pypi pysocks 1.7.1 py311h06a4308_0 python 3.11.4 h955ad1f_0 python-dateutil 2.8.2 pypi_0 pypi python_abi 3.11 2_cp311 conda-forge readline 8.2 h5eee18b_0 reproc 14.2.4 h295c915_1 reproc-cpp 14.2.4 h295c915_1 requests 2.31.0 py311h06a4308_0 ruamel.yaml 0.17.21 py311h5eee18b_0 setuptools 67.8.0 py311h06a4308_0 six 1.16.0 pyhd3eb1b0_1 sqlite 3.41.2 h5eee18b_0 tk 8.6.12 h1ccaba5_0 toolz 0.12.0 py311h06a4308_0 tqdm 4.65.0 py311h92b7b1e_0 tzdata 2023c h04d1e81_0 urllib3 1.26.16 py311h06a4308_0 wheel 0.38.4 py311h06a4308_0 xz 5.4.2 h5eee18b_0 yaml-cpp 0.7.0 h295c915_1 zlib 1.2.13 hd590300_5 conda-forge zstandard 0.19.0 py311h5eee18b_0 zstd 1.5.5 hc292b87_0
— Reply to this email directly, view it on GitHub https://github.com/Cytnx-dev/Cytnx/issues/244#issuecomment-1698835046, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFCX3SK3JBOEGISQXMZKMI3XX4DALANCNFSM6AAAAAA4AH4M2I . You are receiving this because you commented.Message ID: @.***>
Try to update all deps to condaforge
I should've install all packages in conda-forge, don't know why it show pypi, I'll try
Sorry I give the wrong environment's list, here's the correct one: https://pastebin.com/s4g4D6XS
I still cannot reproduce the bug. Does this only happen in notebook? or in terminal as well?