Changes between Version 39 and Version 42 of Ticket #25097


Ignore:
Timestamp:
09/18/18 21:27:11 (3 years ago)
Author:
mkoeppe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25097

    • Property Milestone changed from sage-8.2 to sage-8.4
    • Property Commit changed from 79bda61224ade0f7003b17e6539c2c2f4ce451f8 to de64a4ad06db3f26bce3b535e7d0022023097b77
  • Ticket #25097 – Description

    v39 v42  
    11'''Easy setup within sage:'''
    22 - check out this branch
    3  - `./sage -f normaliz && ./sage -f pynormaliz pyqnormaliz`
     3 - Follow instructions regarding upstream/ from #25090
     4 - `(cd upstream && wget https://files.pythonhosted.org/packages/c8/b5/4066a92b9599958964d936a4370061e12485413b5007a5fdfcc16834b9e0/PyQNormaliz-1.1.tar.gz)`
     5 - `./sage -f normaliz pynormaliz pyqnormaliz`
    46
    5 (For this you need to have pynormaliz in your upstream directory, see #25090)
    67
    78'''Things that work in sage:'''
    8  - Setting up a polyhedron over a number field, writing a QNormaliz input file as a side effect.  ( sqrt5 + 1, 0, 4], [2, -sqrt5 - 1, 0, 4], [sqrt5 + 1, 0, 2, 4], [sqrt5 + 1, 0, -2, 4], [-2, sqrt5 + 1, 0, 4], [-2, -sqrt5 - 1, 0, 4], [-sqrt5 - 1, 0, 2, 4], [0, 2, -sqrt5 - 1, 4], [0, -2, -sqrt5 - 1, 4], [-sqrt5 - 1, 0, -2, 4]], 'cone': []})
     9 - Setting up a polyhedron over a number field, writing a QNormaliz input file as a side effect.  (#25090 added writing Normaliz output files in the rational case.)
     10{{{
     11sage: P = Polyhedron(vertices=polytopes.icosahedron().vertices(), backend='normaliz', verbose='out.in')
     12# Calling PyNormaliz.NmzCone(**{'subspace': [], 'vertices': [[0, 2, sqrt5 + 1, 4], [0, -2, sqrt5 + 1, 4], [2, sqrt5 + 1, 0, 4], [2, -sqrt5 - 1, 0, 4], [sqrt5 + 1, 0, 2, 4], [sqrt5 + 1, 0, -2, 4], [-2, sqrt5 + 1, 0, 4], [-2, -sqrt5 - 1, 0, 4], [-sqrt5 - 1, 0, 2, 4], [0, 2, -sqrt5 - 1, 4], [0, -2, -sqrt5 - 1, 4], [-sqrt5 - 1, 0, -2, 4]], 'cone': []})
    913# Wrote equivalent Normaliz input file to out.in
    1014sage: !cat out.in
     
    4448
    4549'''To do:'''
    46  - Wait for fixes in PyQNormaliz, then read results from PyQNormaliz.
     50 - Read results from PyQNormaliz.
    4751 (Result of discussion of mkoeppe, gh-sebasguts): `PyQNormaliz`... use strings to transport arbs and lists for everything else. We do not use `sage.libs.arb` etc. so we can keep PyQNormaliz standalone.
    4852
    4953
    50 '''Normaliz side of things:'''
    51  - clone from https://github.com/mkoeppe/Normaliz/tree/enfnormaliz2018 (not necessary anymore; see #25090)
    52  - run script `install_normaliz_with_opt.sh` to install FLINT, ARB, ANTIC (unreleased), E-ANTIC (unreleased) (see scripts for which specific versions are pulled)
    53  - then can test with `Qsource/Qnormaliz Qtest/test-nf/dodecahedron-v.in && cat Qtest/test-nf/dodecahedron-v.out`
    54 
    5554'''To do on the Normaliz side:'''
    5655 - merge with Vincent's master branch of e-antic
     56 - some updates to install scripts