Opened 7 years ago

Last modified 4 years ago

#54609 new update

HORTON @2.0.1: update to 2.1.1

Reported by: l2dy (Zero King) Owned by: tczorro (Derrick)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: HORTON

Description


Change History (4)

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

HORTON 2.0.1 does not build.

Error compiling Cython file:
------------------------------------------------------------
...
# evaluate
#


def index_wrap(long i, long high):
    return evaluate.index_wrap(i, high)
                  ^
------------------------------------------------------------

horton/grid/cext.pyx:481:19: cimported module has no attribute 'index_wrap'

Maybe updating to 2.1.0 will help?

comment:2 Changed 6 years ago by dstrubbe (David Strubbe)

It compiles and runs successfully with cython 0.25.2.

WIth current cython, this patch makes it compile (but it seems to fail when running):

--- horton/grid/cext.pyx.orig   2018-07-03 17:19:32.000000000 -0700
+++ horton/grid/cext.pyx        2018-07-03 17:19:52.000000000 -0700
@@ -36,6 +36,7 @@
 cimport lebedev_laikov
 cimport becke
 cimport cubic_spline
+import evaluate
 cimport evaluate
 cimport ode2
 cimport rtransform
Last edited 6 years ago by dstrubbe (David Strubbe) (previous) (diff)

comment:3 Changed 6 years ago by dstrubbe (David Strubbe)

This is for 2.1.0. Patch inspired by https://github.com/cython/cython/issues/1738.

Last edited 6 years ago by dstrubbe (David Strubbe) (previous) (diff)

comment:4 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added
Summary: HORTON @2.0.1: update to 2.1.0HORTON @2.0.1: update to 2.1.1

HORTON 2.1.1 is out. Derrick, will you update the port? It's now 4 years out of date. You are listed as its maintainer. If you no longer wish to maintain your ports please let us know.

Note: See TracTickets for help on using tickets.