-
-
Notifications
You must be signed in to change notification settings - Fork 517
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 Normaliz optional package #13234
Comments
comment:2
It's probably better to build a dynamic library. |
comment:3
Replying to @dimpase:
The file
If I set switch |
comment:4
Winfried has also suggested to just remove this static option, I've updated the spkg and rewrote the installation script based on pyopenssl. |
comment:5
OK, it builds on MacOSX 10.6. (with Sage 5.4.rc0). However, if I try to use the provided in the spkg Macaulay2 package Normaliz, it does not seem to work. I cd to the directory containing Normaliz.m2, start a standalone M2 version 1.4 within Sage shell, and then I get
I don't know enough M2 to know how to deal with it. EDIT: it could be that this just means that a version of Normaliz is already present in this instance of M2 (and indeed, it is). So just ignore this, I guess. We'll sort it out when M2 Sage spkg will be ready. |
comment:6
As well, I don't know how to properly handle the Singular interface. Note that Normaliz provides an interface to Singular, in On the other hand, Singular spkg provides Regarding M2 support, it can wait, but this one definitely needs work. I'd be happy to have another look after this is implemented. |
comment:7
It seems to me that M2 just wants to have normaliz executable during installation, the interface package is included in M2 and does not have to be installed from normaliz one. So far my goal was just to have normaliz in sage/local/bin, but I'll look at the Singular library as well. I suspect it may be independent of the rest of normaliz - it is quite a compact program. |
comment:8
Replying to @novoselt:
not according to the following lines
in Singular/singular.lib So it is not something independent. |
comment:9
Added library copying - I misunderstood what was going on, I thought it was a library file as in "objective code", not "Singular module". |
comment:10
after installing the spkg, one can call
whereas according to Singular docs the output should be
|
Attachment: t.in.gz normaliz input for (x2,y2,z^3) |
comment:11
If I try running normaliz directly on the input (roughly) corresponding to this example of the monomial ideal (see attachment: t.in), I get results consistent with Singular docs, see the attachment: t.out. So this looks like an interface problem. |
normaliz output |
comment:12
Attachment: t.out.gz I also noticed that some normaliz.lib functions are not working as advertised, e.g.
instead of this. This is probably minor, as
If I then try the Singular input as above to compute
which makes little sense. I would not be surprised if this is an upstream (i.e. |
comment:13
Replying to @dimpase:
If I rather set |
Upstream: Reported upstream. No feedback yet. |
comment:15
I've added a patched based on the file sent to me by Christof Söger. Now I am getting
which seems to be consistent with Singular manual. |
Changed upstream from Reported upstream. No feedback yet. to Fixed upstream, but not in a stable release. |
Attachment: spkg-install.gz For reviewing only |
For reviewing only |
comment:16
Attachment: 01-adjust-size-of-input-matrix-fix.patch.gz OK, good - but could you please bump up the version to 2.8.p0, as this is not vanilla upstream. |
comment:17
I've made the spkg bumped up version (linked in the ticket description). |
This comment has been minimized.
This comment has been minimized.
Reviewer: Dmitrii Pasechnik |
comment:18
Thank you for a thorough review and quick responses despite my long pauses, it was a good spkg-exercise for me! |
comment:20
I just copied the spkg into the "optional" subdir on the server and mirrors. |
Merged: sage-5.6.beta0 |
Normaliz http://www.mathematik.uni-osnabrueck.de/normaliz/ is one of the dependencies of Macaulay2 (which is also an optional package), but can be of interest on its own as well.
Install the spkg from here
Upstream: Fixed upstream, but not in a stable release.
CC: @johnperry-math
Component: packages: optional
Author: Andrey Novoseltsev
Reviewer: Dmitrii Pasechnik
Merged: sage-5.6.beta0
Issue created by migration from https://trac.sagemath.org/ticket/13234
The text was updated successfully, but these errors were encountered: