-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
Latte binary count
called latte-count
on archlinux
#38651
Comments
It works fine in https://sagecell.sagemath.org also running SageMath version 10.2 |
Thanks for trying this out! Do you know which version of LattE runs on sagecell? |
The problem comes from the fact that my |
@videlec: Nice find! It's worth it to update the title of this issue accordingly. |
count
called latte-count
on archlinux
@antonio-rojas @mkoeppe any idea how to solve this consistently? |
There are two issues here: first one is Sage accepting any executable named The second issue is the conda-installed Sage choosing the system |
This I can easily do. Thanks for the suggestion.
There is a priority of conda path over system paths. However, in my setup, LattE is not installed in conda. |
OK, that makes sense then. I had interpreted "With latte installed in SageMath 10.2 in a conda environment" as you had installed latte from within sage. |
#38678 does implement However, it could have worked in the initial setup (sage from conda, LattE from the system) if there was a way for sage to "discover automagically" |
As much as I would personally benefit from it (as it would allow me to get rid of the only remaining permanent downstream patch), I really don't think it is sage's job to cater to all possible downstream variations in the naming of executables. That could easily become a mess if each distro does its own thing. The reasonable solution would be to convince upstream to rename its executables to something less generic. |
In my setup (see below for details), the program
count
that sage expects to be from LattE (integral points count in polytope) is actually a binary from llvm.Steps To Reproduce
With latte installed in SageMath 10.2 in a conda environment, the following computation fails
Expected Behavior
Same as
Actual Behavior
Additional Information
No response
Environment
Checklist
The text was updated successfully, but these errors were encountered: