[MacPorts] #53154: qhull seems to fail systematically when called from octave

MacPorts noreply at macports.org
Sun Dec 25 10:29:34 CET 2016


#53154: qhull seems to fail systematically when called from octave
---------------------+--------------------------
 Reporter:  pierard  |      Owner:
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.3.5
 Keywords:           |       Port:  octave qhull
---------------------+--------------------------
 The following example is given on the octave page
 [https://www.gnu.org/software/octave/doc/v4.0.3/Convex-Hull.html]:


 {{{
 x = -3:0.05:3;
 y = abs (sin (x));
 k = convhull (x, y);
 }}}


 when I try it, I get an error:


 {{{
 QH6164 qhull internal error (qh_qhull): temporary sets not empty(2)

 While executing:  | qhull Qt
 Options selected for Qhull 2015.2 2016/01/18:
   run-id 1815947927  Qtriangulate  _pre-merge  _zero-centrum  _max-width
 6
   Error-roundoff 2.5e-15  _one-merge 1.2e-14  _near-inside 6.2e-14
   Visible-distance 4.9e-15  U-coplanar-distance 4.9e-15  Width-outside
 9.8e-15
   _wide-facet 3e-14
 Last point added to hull was p1.

 At error exit:

 Convex hull of 121 points in 2-d:

   Number of vertices: 61
   Number of facets: 61

 Statistics for:  | qhull Qt

   Number of points processed: 61
   Number of hyperplanes created: 120
   Number of distance tests for qhull: 1007

 error: convhulln: qhull failed
 error: called from
     convhull at line 59 column 7
 }}}

 I tried various inputs, and I always got similar errors, so it is not
 related to the particular choice of input for qhull. I don't find a lot of
 information on the web. But perhaps the one found on [http://octave-bug-
 tracker.gnu.narkive.com/qbqa1lLX/delauney3-fails] could be useful:
 "miscompiled qhull is not uncommon (it's sensitive to flags), so
 maybe that's the source of your problem." I hope a solution will be found
 soon, as this is a critical part for many scripts.

--
Ticket URL: <https://trac.macports.org/ticket/53154>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list