Opened 5 years ago

Last modified 3 years ago

#22684 closed defect

pynormaliz fails to build on 32bit system — at Version 4

Reported by: tmonteil Owned by:
Priority: major Milestone: sage-8.0
Component: packages: optional Keywords: days86, sdl
Cc: mkoeppe, ​vdelecroix, Winfried Merged in:
Authors: Thierry Monteil Reviewers:
Report Upstream: N/A Work issues:
Branch: u/tmonteil/pynormaliz_fails_to_build_on_32bit_system (Commits, GitHub, GitLab) Commit: c3a81c0657ac87c1f3d1e15f5c30de416cb77809
Dependencies: Stopgaps:

Status badges

Change History (5)

Changed 5 years ago by tmonteil

comment:1 Changed 5 years ago by mkoeppe

The new upstream version 1.5 has some 32/64-bit work. Could you test this?

comment:2 Changed 5 years ago by mkoeppe

  • Description modified (diff)

comment:3 Changed 5 years ago by tmonteil

  • Branch set to u/tmonteil/pynormaliz_fails_to_build_on_32bit_system

comment:4 Changed 5 years ago by tmonteil

  • Authors set to Thierry Monteil
  • Commit set to c3a81c0657ac87c1f3d1e15f5c30de416cb77809
  • Description modified (diff)
  • Keywords days86 added
  • Status changed from new to needs_info

Updating pynormaliz requires an update of normaliz, which installs and self-checks correctly, but i get the following doctest failure:

**********************************************************************
File "backend_normaliz.py", line 500, in sage.geometry.polyhedron.backend_normaliz.Polyhedron_normaliz.integral_points
Failed example:
    len(P.integral_points())                                 # optional - pynormaliz
Exception raised:
    Traceback (most recent call last):
      File "/opt/sagemath/sage-source/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 503, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/opt/sagemath/sage-source/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 866, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.geometry.polyhedron.backend_normaliz.Polyhedron_normaliz.integral_points[14]>", line 1, in <module>
        len(P.integral_points())                                 # optional - pynormaliz
      File "/opt/sagemath/sage-source/local/lib/python2.7/site-packages/sage/geometry/polyhedron/backend_normaliz.py", line 578, in integral_points
        for g in PyNormaliz.NmzResult(cone, "ModuleGenerators"):
    interface_error: std::bad_alloc
**********************************************************************

New commits:

645811e#22684 update normaliz to 3.2.1.
c3a81c0#22684 update PyNormaliz to 1.5.
Last edited 5 years ago by tmonteil (previous) (diff)
Note: See TracTickets for help on using tickets.