-
Notifications
You must be signed in to change notification settings - Fork 34
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
test_all error #168
Comments
Same issue, on Ubuntu 22.04. Maybe I got a bit further, but still not working. First error I got was the same: [...]
File "/home/r98inver/.local/lib/python3.10/site-packages/pybertini/system/__init__.py", line 50, in <module>
import _pybertini.system
ModuleNotFoundError: No module named '_pybertini' Per [...]
File "/home/r98inver/.local/lib/python3.10/site-packages/pybertini/system/__init__.py", line 50, in <module>
import _pybertini.system
ImportError: libbertini2.so.1: cannot open shared object file: No such file or directory As suggested in this answer, I run TypeError: No Python class registered for C++ class std::complex<double> Traceback (most recent call last):
File "/home/r98inver/b2/python/test/classes/mpfr_test.py", line 237, in test_mp_complex_precision
self.assertEqual(w.precision(),60)
AssertionError: 30 != 60 Traceback (most recent call last):
File "/home/r98inver/b2/python/test/tracking/endgame_test.py", line 137, in test_using_total_degree_ss
track_success_code = my_endgame.run(mpfr_complex(t_endgame_boundary),bdry_points[i]);
RuntimeError: CauchyEG Run time and point must be of matching precision. (50!=16) |
This one surprises me. Hmm. The others, precision stuff, doesn't. boost::multiprecision made some breaking changes in 2018 or so, and I haven't had time to fix the internal code thoroughly since then. |
What are you intending to do with Bertini 2? Are you aware that the software is experimental? If you're looking for a mature system for numerical algebraic geometry, please use Bertini 1. Though it lacks a Python interface, it's much more stable than Bertini 2. There are a number of other packages I could also recommend, too. |
A bit of context may be helpful: My most recent work on B2 was Summer 2021, when a student and I implemented straight-line-programs as an alternative way to evaluate systems. But I never made the switch over to use them by default, and B2 continues to have precision issues due to the breaking changes in boost::multiprecision. Alas, I ended up at a teaching university, and the community at large didn't pick up the torch for Bertini 2 when I stopped having 40 hours a week to devote to it as I did when I was a postdoc... I would welcome help on B2, if you're into it. |
Actually I have Bertini1.6 up and running, wrapped by Julia. I was just looking for python interface. I'm quite new to Bertini (and starting getting involved in computational algebraic geometry in general) but i would love to help with it as far as I can |
python3 test/test_all.py returns the following error:
Traceback (most recent call last):
File "test/test_all.py", line 33, in
import classes.test_classes
File "~/b2/python/test/classes/test_classes.py", line 31, in
import classes.mpfr_test as mpfr_test
File "~/b2/python/test/classes/mpfr_test.py", line 33, in
import pybertini as pb
File "~/.local/lib/python3.8/site-packages/pybertini/init.py", line 52, in
import pybertini.system as system
File "~/.local/lib/python3.8/site-packages/pybertini/system/init.py", line 50, in
import _pybertini.system
ModuleNotFoundError: No module named '_pybertini'
The text was updated successfully, but these errors were encountered: