Comments (5)
Hi @ggardet, thank you for pointing out this bug. The team will work on finding a fix.
from thewalrus.
Hi @ggardet , would you be able to check if you can build the branch from #296?
from thewalrus.
#296 on top of 0.16.2 fixes the build, but it fails on test on aarch64:
[ 138s] thewalrus/tests/test_hafnian.py::TestHafnianWrapper::test_real_wrapper Fatal Python error: /var/tmp/rpm-tmp.KxmHrY: line 39: 2390 Segmentation fault
And also on ppc64le:
[ 303s] thewalrus/tests/test_hafnian.py::TestHafnianWrapper::test_real_wrapper Fatal Python error: Segmentation fault
[ 303s]
[ 303s] Thread 0x00007fffa8a938c0 (most recent call first):
[ 303s] File "/home/abuild/rpmbuild/BUILDROOT/python-thewalrus-0.16.2-16.1.ppc64le/usr/lib64/python3.9/site-packages/thewalrus/_hafnian.py", line 214 in hafnian
[ 303s] File "/home/abuild/rpmbuild/BUILD/thewalrus-0.16.2/thewalrus/tests/test_hafnian.py", line 135 in test_real_wrapper
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/python.py", line 183 in pytest_pyfunc_call
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/python.py", line 1641 in runtest
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 162 in pytest_runtest_call
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 255 in <lambda>
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 311 in from_call
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 254 in call_runtest_hook
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 215 in call_and_report
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 126 in runtestprotocol
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 109 in pytest_runtest_protocol
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 348 in pytest_runtestloop
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 323 in _main
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 269 in wrap_session
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 316 in pytest_cmdline_main
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
[ 303s] File "/usr/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/config/__init__.py", line 162 in main
[ 303s] File "/usr/lib/python3.9/site-packages/_pytest/config/__init__.py", line 185 in console_main
[ 303s] File "/usr/bin/pytest-3.9", line 33 in <module>
[ 303s] /var/tmp/rpm-tmp.puaZ07: line 39: 2470 Segmentation fault PYTHONPATH=${PYTHONPATH:+$PYTHONPATH:}/home/abuild/rpmbuild/BUILDROOT/python-thewalrus-0.16.2-16.1.ppc64le/usr/lib64/python3.9/site-packages
from thewalrus.
Thank you for checking @ggardet !
from thewalrus.
Closing this since it should be fixed in the latest release. The Walrus no longer contains any C++ dependencies, and should work fine on all platforms. @ggardet Let me know if you're still having issues.
from thewalrus.
Related Issues (20)
- Convenience functions to change ordering of quadratures HOT 1
- Why is hbar=2? Physicist may assume hbar=1 HOT 1
- P ( [ ℓ ] ) is not defined. Is it the power set of (0, 1, ...l-1)? HOT 9
- [Thewalrus documentation] The figures in "Basics of Hafnians and Loop Hafnians" are missing HOT 7
- Random interferometer is already implemented in scipy
- [Thewalrus installation] Can not install the version later than 0.15.0 HOT 11
- Add support for calculating the permanent using the BBFG algorithm HOT 4
- Recursive calculation of threshold probabilitites HOT 4
- I have searched exisisting GitHub issues to make sure the issue does not already exist. HOT 1
- The Qmat functions is off by a complex conjugate
- Library hard crashing when computing BBFG permanent with a 0x0 matrix HOT 4
- Optional arguments in `passive_transformation`
- n_body_marginals is not symmetric
- Displaced torontonian sampling time increase HOT 11
- Tests fail to run: error: unrecognized arguments: --randomly-seed=137 HOT 1
- Banded hafnian algorithm HOT 1
- RuntimeWarning: divide by zero encountered in det HOT 9
- Default method fails on poorly conditioned matrices HOT 4
- Glynn method has an weird prefactor HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thewalrus.