Skip to content
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

Add package msolve 0.4.4 (multivariate polynomial system solver) #31664

Closed
mkoeppe opened this issue Apr 12, 2021 · 42 comments
Closed

Add package msolve 0.4.4 (multivariate polynomial system solver) #31664

mkoeppe opened this issue Apr 12, 2021 · 42 comments

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented Apr 12, 2021

https://msolve.lip6.fr/index.html

Upstream issues/PRs:

Depends on #33734
Depends on #34519

Upstream: Reported upstream. No feedback yet.

CC: @dimpase @yuan-zhou @isuruf @kiwifb

Component: packages: optional

Author: Matthias Koeppe

Branch/Commit: fa77041

Reviewer: Marc Mezzarobba

Issue created by migration from https://trac.sagemath.org/ticket/31664

@mkoeppe mkoeppe added this to the sage-9.4 milestone Apr 12, 2021
@yuan-zhou
Copy link

comment:1

https://msolve.lip6.fr/downloads/msolve-tutorial.pdf section 8 talks about their sage interface.

@dimpase
Copy link
Member

dimpase commented Apr 13, 2021

comment:2

It needs to be autoconfiscated, or cmake'd - working with something that only has a Makefile is not what we do. I'll ask an author I know about their plans in this respect.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jun 24, 2021

comment:3

What's the status here?

@dimpase
Copy link
Member

dimpase commented Jun 26, 2021

comment:4

it appears that autotools have been added, cf. https://gitlab.lip6.fr/safey/msolve

@dimpase
Copy link
Member

dimpase commented Jun 26, 2021

comment:5

I was able to build on macOS Homebrew with default options (except CC and CXX, clang) and solve a test example.
Unfortunately there are still no real tests in the repo.

@mkoeppe mkoeppe modified the milestones: sage-9.4, sage-9.5 Jul 19, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.5, sage-9.6 Dec 14, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.6, sage-9.7 Mar 5, 2022
@mezzarobba
Copy link
Member

comment:9

See also #33734 for using msolve in variety().

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Apr 25, 2022

Dependencies: #33734

@mkoeppe mkoeppe modified the milestones: sage-9.7, sage-9.8 Aug 6, 2022
@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe changed the title Add package msolve (multivariate polynomial system solver) Add package msolve 0.2.4 (multivariate polynomial system solver) Sep 11, 2022
@mkoeppe
Copy link
Contributor Author

mkoeppe commented Sep 11, 2022

Author: Matthias Koeppe

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Sep 11, 2022

comment:14

Where are their source tarballs?

@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe changed the title Add package msolve 0.2.4 (multivariate polynomial system solver) Add package msolve 0.4.4 (multivariate polynomial system solver) Sep 11, 2022
@mkoeppe
Copy link
Contributor Author

mkoeppe commented Sep 11, 2022

comment:16

https://gitlab.lip6.fr/safey/msolve/-/archive/v0.4.4/msolve-v0.4.4.tar.gz is just an archive, does not contain the bootstrapped artifacts

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Sep 11, 2022

ran "./autogen.sh && ./configure && make dist"

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Sep 11, 2022

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Sep 11, 2022

comment:17

Attachment: msolve-0.4.4.tar.gz

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Sep 11, 2022

comment:18

I'm getting

[msolve-0.4.4] Making all in src/neogb
[msolve-0.4.4] /usr/local/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..    -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -maes -mavx -mfma -mavx2 -mrdrnd -mbmi -mbmi2 -madx  -g -O2 -c -o libneogb_la-gb.lo `test -f 'gb.c' || echo './'`gb.c
[msolve-0.4.4] libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -maes -mavx -mfma -mavx2 -mrdrnd -mbmi -mbmi2 -madx -g -O2 -c gb.c  -fno-common -DPIC -o .libs/libneogb_la-gb.o
[msolve-0.4.4] gb.c:50:10: fatal error: 'f4sat.c' file not found
[msolve-0.4.4] #include "f4sat.c"    /* implemenation of saturation algorithm */
[msolve-0.4.4]          ^~~~~~~~~
[msolve-0.4.4] 1 error generated.
[msolve-0.4.4] make[5]: *** [libneogb_la-gb.lo] Error 1
[msolve-0.4.4] make[4]: *** [all-recursive] Error 1
[msolve-0.4.4] make[3]: *** [all] Error 2

New commits:

d24ad0fbuild/pkgs/msolve: New

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Sep 11, 2022

comment:21

Attachment: msolve-0.4.4+sage-2022-09-11.tar.gz

I've created a fork in https://github.com/sagemath/msolve because the upstream gitlab instance is compartmentalized

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 11, 2022

Changed commit from d24ad0f to c2d83ec

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 11, 2022

Branch pushed to git repo; I updated commit sha1. New commits:

c2d83ecbuild/pkgs/msolve: Use msolve-0.4.4+sage-2022-09-11

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Sep 11, 2022

comment:23

Builds for me on macOS. Haven't tested anything else.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Sep 11, 2022

Upstream: Not yet reported upstream; Will do shortly.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Sep 11, 2022

comment:24

Can't even report an Issue in upstream's gitlab instance.
https://gitlab.lip6.fr/users/sign_in

@mezzarobba
Copy link
Member

comment:25

Replying to Matthias Köppe:

Can't even report an Issue in upstream's gitlab instance.
https://gitlab.lip6.fr/users/sign_in

They have a github mirror at https://github.com/algebraic-solving/msolve which seems to accept issues.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Sep 12, 2022

comment:26

Thanks!

@mkoeppe

This comment has been minimized.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Sep 12, 2022

Changed upstream from Not yet reported upstream; Will do shortly. to Reported upstream. No feedback yet.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 12, 2022

Changed commit from c2d83ec to e7ff1da

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 12, 2022

Branch pushed to git repo; I updated commit sha1. New commits:

e7ff1dabuild/pkgs/msolve/SPKG.rst: Point to upstream github

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Sep 15, 2022

Changed dependencies from #33734 to #33734, #34519

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 15, 2022

Changed commit from e7ff1da to 21c3c97

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 15, 2022

Branch pushed to git repo; I updated commit sha1. New commits:

367b862#34519 fix msolve interface
ea64d4a#34519 msolve: real solving with ℓ > 1
9055d30#34519 msolve: varieties over finite fields
1d70b04#34519 msolve._variety() -> msolve.variety()
14fc8e7#34519 _run_msolve()
bc01223#34519 Gröbner bases using msolve
c298818Merge #34519
dd08bb1Link to msolve spkg page
21c3c97src/sage/rings/polynomial/msolve.py: Use absolute filename of msolve

@mezzarobba
Copy link
Member

comment:32
  • Rebased everything on top of Fix + extend msolve interface #34519 because I had force-pushed there before noticing you had a branch based on it.
  • Did you push the tarball you created anywhere? I don't see it in the github releases of your fork, and make dist on your msolve branch does not seem to be enough to generate it.

New commits:

d5565cf#34519 msolve: varieties over finite fields
7b09d5d#34519 msolve._variety() -> msolve.variety()
7db5678#34519 _run_msolve()
e43bc6e#34519 Gröbner bases using msolve
b5adcc9#34519 update doc on msolve
d2cede6build/pkgs/msolve: New
95e2e54build/pkgs/msolve: Use msolve-0.4.4+sage-2022-09-11
e552a50build/pkgs/msolve/SPKG.rst: Point to upstream github
91d69ccLink to msolve spkg page
fa77041src/sage/rings/polynomial/msolve.py: Use absolute filename of msolve

@mezzarobba
Copy link
Member

Changed commit from 21c3c97 to fa77041

@mezzarobba
Copy link
Member

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Sep 16, 2022

comment:33

Replying to Marc Mezzarobba:

Thank you.

  • Did you push the tarball you created anywhere? I don't see it in the github releases of your fork

See checksums.ini.

To test, no manual action is needed. Just use ./configure --enable-download-from-upstream-url, and installing the package will download the tarball

@mezzarobba
Copy link
Member

comment:34

Ok, thank you!

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Sep 16, 2022

comment:35

Thank you!

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Sep 16, 2022

Reviewer: Marc Mezzarobba

@vbraun
Copy link
Member

vbraun commented Sep 27, 2022

Changed branch from public/31664-msolve_package to fa77041

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants