Hi all, when I try to install the latest yt from source, I get a gcc compilation failure: yt/utilities/lib/image_samplers.cpp: In function ‘PyObject* __Pyx_Coroutine_Send(PyObject*, PyObject*)’: yt/utilities/lib/image_samplers.cpp:36240:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’? 36240 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value); | ^~~~~~~~~~~ | _PyGen_yf yt/utilities/lib/image_samplers.cpp:36245:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’? 36245 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value); | ^~~~~~~~~~~ | _PyGen_yf yt/utilities/lib/image_samplers.cpp: In function ‘PyObject* __Pyx_Generator_Next(PyObject*)’: yt/utilities/lib/image_samplers.cpp:36329:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’? 36329 | ret = _PyGen_Send((PyGenObject*)yf, NULL); | ^~~~~~~~~~~ | _PyGen_yf Has anyone seen this? I'm using GCC 11.2 and python 3.10. Mike -- Michael Zingale Professor of Physics and Astronomy Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800 *phone*: 631-632-8225 *e-mail*: michael.zingale@stonybrook.edu *web*: https://zingale.github.io github: https://github.com/zingale <http://github.com/zingale>
No, I have not ever seen this. This is odd. It strikes me as entirely possible that it's either using an old version of the generated code that needs to be re-run (maybe? That I'm not sure about) or possibly it's getting the wrong includes. This is definitely new to me! Which version of Cython? On Thu, Mar 3, 2022 at 3:10 PM Michael Zingale via yt-users <yt-users@python.org> wrote:
Hi all, when I try to install the latest yt from source, I get a gcc compilation failure:
yt/utilities/lib/image_samplers.cpp: In function ‘PyObject* __Pyx_Coroutine_Send(PyObject*, PyObject*)’: yt/utilities/lib/image_samplers.cpp:36240:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’? 36240 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value); | ^~~~~~~~~~~ | _PyGen_yf yt/utilities/lib/image_samplers.cpp:36245:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’? 36245 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value); | ^~~~~~~~~~~ | _PyGen_yf yt/utilities/lib/image_samplers.cpp: In function ‘PyObject* __Pyx_Generator_Next(PyObject*)’: yt/utilities/lib/image_samplers.cpp:36329:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’? 36329 | ret = _PyGen_Send((PyGenObject*)yf, NULL); | ^~~~~~~~~~~ | _PyGen_yf
Has anyone seen this?
I'm using GCC 11.2 and python 3.10.
Mike
-- Michael Zingale Professor of Physics and Astronomy
Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800 phone: 631-632-8225 e-mail: michael.zingale@stonybrook.edu web: https://zingale.github.io github: https://github.com/zingale
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org https://mail.python.org/mailman3/lists/yt-users.python.org/ Member address: matthewturk@gmail.com
I nuked build/ and it persistent. I was on cython 0.29.24 but I just updated to 0.29.28. Looks like I got past that, now I'm having unyt issues since unyt needs an old SymPy. So maybe I'm past that crash. Going to downgrade some packages to see if I can finish building. On Thu, Mar 3, 2022 at 4:12 PM Matthew Turk <matthewturk@gmail.com> wrote:
No, I have not ever seen this. This is odd. It strikes me as entirely possible that it's either using an old version of the generated code that needs to be re-run (maybe? That I'm not sure about) or possibly it's getting the wrong includes. This is definitely new to me! Which version of Cython?
On Thu, Mar 3, 2022 at 3:10 PM Michael Zingale via yt-users <yt-users@python.org> wrote:
Hi all, when I try to install the latest yt from source, I get a gcc
compilation failure:
yt/utilities/lib/image_samplers.cpp: In function ‘PyObject*
__Pyx_Coroutine_Send(PyObject*, PyObject*)’:
yt/utilities/lib/image_samplers.cpp:36240:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’? 36240 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value); | ^~~~~~~~~~~ | _PyGen_yf yt/utilities/lib/image_samplers.cpp:36245:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’? 36245 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value); | ^~~~~~~~~~~ | _PyGen_yf yt/utilities/lib/image_samplers.cpp: In function ‘PyObject* __Pyx_Generator_Next(PyObject*)’: yt/utilities/lib/image_samplers.cpp:36329:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’? 36329 | ret = _PyGen_Send((PyGenObject*)yf, NULL); | ^~~~~~~~~~~ | _PyGen_yf
Has anyone seen this?
I'm using GCC 11.2 and python 3.10.
Mike
-- Michael Zingale Professor of Physics and Astronomy
Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800 phone: 631-632-8225 e-mail: michael.zingale@stonybrook.edu web: https://zingale.github.io github: https://github.com/zingale
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org https://mail.python.org/mailman3/lists/yt-users.python.org/ Member address: matthewturk@gmail.com
yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org https://mail.python.org/mailman3/lists/yt-users.python.org/ Member address: michael.zingale@stonybrook.edu
-- Michael Zingale Professor of Physics and Astronomy Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800 *phone*: 631-632-8225 *e-mail*: michael.zingale@stonybrook.edu *web*: https://zingale.github.io github: https://github.com/zingale <http://github.com/zingale>
okay, I'm in business now. Looks like I just needed the latest cython. On Thu, Mar 3, 2022 at 4:14 PM Michael Zingale < michael.zingale@stonybrook.edu> wrote:
I nuked build/ and it persistent. I was on cython 0.29.24 but I just updated to 0.29.28. Looks like I got past that, now I'm having unyt issues since unyt needs an old SymPy. So maybe I'm past that crash. Going to downgrade some packages to see if I can finish building.
On Thu, Mar 3, 2022 at 4:12 PM Matthew Turk <matthewturk@gmail.com> wrote:
No, I have not ever seen this. This is odd. It strikes me as entirely possible that it's either using an old version of the generated code that needs to be re-run (maybe? That I'm not sure about) or possibly it's getting the wrong includes. This is definitely new to me! Which version of Cython?
On Thu, Mar 3, 2022 at 3:10 PM Michael Zingale via yt-users <yt-users@python.org> wrote:
Hi all, when I try to install the latest yt from source, I get a gcc
compilation failure:
yt/utilities/lib/image_samplers.cpp: In function ‘PyObject*
__Pyx_Coroutine_Send(PyObject*, PyObject*)’:
yt/utilities/lib/image_samplers.cpp:36240:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’? 36240 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value); | ^~~~~~~~~~~ | _PyGen_yf yt/utilities/lib/image_samplers.cpp:36245:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’? 36245 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value); | ^~~~~~~~~~~ | _PyGen_yf yt/utilities/lib/image_samplers.cpp: In function ‘PyObject* __Pyx_Generator_Next(PyObject*)’: yt/utilities/lib/image_samplers.cpp:36329:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’? 36329 | ret = _PyGen_Send((PyGenObject*)yf, NULL); | ^~~~~~~~~~~ | _PyGen_yf
Has anyone seen this?
I'm using GCC 11.2 and python 3.10.
Mike
-- Michael Zingale Professor of Physics and Astronomy
Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800 phone: 631-632-8225 e-mail: michael.zingale@stonybrook.edu web: https://zingale.github.io github: https://github.com/zingale
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org https://mail.python.org/mailman3/lists/yt-users.python.org/ Member address: matthewturk@gmail.com
yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org https://mail.python.org/mailman3/lists/yt-users.python.org/ Member address: michael.zingale@stonybrook.edu
-- Michael Zingale Professor of Physics and Astronomy
Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800 *phone*: 631-632-8225 *e-mail*: michael.zingale@stonybrook.edu *web*: https://zingale.github.io github: https://github.com/zingale <http://github.com/zingale>
-- Michael Zingale Professor of Physics and Astronomy Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800 *phone*: 631-632-8225 *e-mail*: michael.zingale@stonybrook.edu *web*: https://zingale.github.io github: https://github.com/zingale <http://github.com/zingale>
I believe that unyt's reliance on an old sympy *may* just be waiting for a new release to address. On Thu, Mar 3, 2022 at 3:17 PM Michael Zingale via yt-users <yt-users@python.org> wrote:
I nuked build/ and it persistent. I was on cython 0.29.24 but I just updated to 0.29.28. Looks like I got past that, now I'm having unyt issues since unyt needs an old SymPy. So maybe I'm past that crash. Going to downgrade some packages to see if I can finish building.
On Thu, Mar 3, 2022 at 4:12 PM Matthew Turk <matthewturk@gmail.com> wrote:
No, I have not ever seen this. This is odd. It strikes me as entirely possible that it's either using an old version of the generated code that needs to be re-run (maybe? That I'm not sure about) or possibly it's getting the wrong includes. This is definitely new to me! Which version of Cython?
On Thu, Mar 3, 2022 at 3:10 PM Michael Zingale via yt-users <yt-users@python.org> wrote:
Hi all, when I try to install the latest yt from source, I get a gcc compilation failure:
yt/utilities/lib/image_samplers.cpp: In function ‘PyObject* __Pyx_Coroutine_Send(PyObject*, PyObject*)’: yt/utilities/lib/image_samplers.cpp:36240:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’? 36240 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value); | ^~~~~~~~~~~ | _PyGen_yf yt/utilities/lib/image_samplers.cpp:36245:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’? 36245 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value); | ^~~~~~~~~~~ | _PyGen_yf yt/utilities/lib/image_samplers.cpp: In function ‘PyObject* __Pyx_Generator_Next(PyObject*)’: yt/utilities/lib/image_samplers.cpp:36329:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’? 36329 | ret = _PyGen_Send((PyGenObject*)yf, NULL); | ^~~~~~~~~~~ | _PyGen_yf
Has anyone seen this?
I'm using GCC 11.2 and python 3.10.
Mike
-- Michael Zingale Professor of Physics and Astronomy
Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800 phone: 631-632-8225 e-mail: michael.zingale@stonybrook.edu web: https://zingale.github.io github: https://github.com/zingale
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org https://mail.python.org/mailman3/lists/yt-users.python.org/ Member address: matthewturk@gmail.com
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org https://mail.python.org/mailman3/lists/yt-users.python.org/ Member address: michael.zingale@stonybrook.edu
-- Michael Zingale Professor of Physics and Astronomy
Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800 phone: 631-632-8225 e-mail: michael.zingale@stonybrook.edu web: https://zingale.github.io github: https://github.com/zingale
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org https://mail.python.org/mailman3/lists/yt-users.python.org/ Member address: matthewturk@gmail.com
okay cool. I downgraded for now. On Thu, Mar 3, 2022 at 4:18 PM Matthew Turk <matthewturk@gmail.com> wrote:
I believe that unyt's reliance on an old sympy *may* just be waiting for a new release to address.
On Thu, Mar 3, 2022 at 3:17 PM Michael Zingale via yt-users <yt-users@python.org> wrote:
I nuked build/ and it persistent. I was on cython 0.29.24 but I just
updated to 0.29.28. Looks like I got past that, now I'm having unyt issues since unyt needs an old SymPy. So maybe I'm past that crash. Going to downgrade some packages to see if I can finish building.
On Thu, Mar 3, 2022 at 4:12 PM Matthew Turk <matthewturk@gmail.com>
wrote:
No, I have not ever seen this. This is odd. It strikes me as entirely possible that it's either using an old version of the generated code that needs to be re-run (maybe? That I'm not sure about) or possibly it's getting the wrong includes. This is definitely new to me! Which version of Cython?
On Thu, Mar 3, 2022 at 3:10 PM Michael Zingale via yt-users <yt-users@python.org> wrote:
Hi all, when I try to install the latest yt from source, I get a gcc
compilation failure:
yt/utilities/lib/image_samplers.cpp: In function ‘PyObject*
__Pyx_Coroutine_Send(PyObject*, PyObject*)’:
yt/utilities/lib/image_samplers.cpp:36240:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’? 36240 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value); | ^~~~~~~~~~~ | _PyGen_yf yt/utilities/lib/image_samplers.cpp:36245:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’? 36245 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value); | ^~~~~~~~~~~ | _PyGen_yf yt/utilities/lib/image_samplers.cpp: In function ‘PyObject* __Pyx_Generator_Next(PyObject*)’: yt/utilities/lib/image_samplers.cpp:36329:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’? 36329 | ret = _PyGen_Send((PyGenObject*)yf, NULL); | ^~~~~~~~~~~ | _PyGen_yf
Has anyone seen this?
I'm using GCC 11.2 and python 3.10.
Mike
-- Michael Zingale Professor of Physics and Astronomy
Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800 phone: 631-632-8225 e-mail: michael.zingale@stonybrook.edu web: https://zingale.github.io github: https://github.com/zingale
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org https://mail.python.org/mailman3/lists/yt-users.python.org/ Member address: matthewturk@gmail.com
yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org https://mail.python.org/mailman3/lists/yt-users.python.org/ Member address: michael.zingale@stonybrook.edu
-- Michael Zingale Professor of Physics and Astronomy
Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800 phone: 631-632-8225 e-mail: michael.zingale@stonybrook.edu web: https://zingale.github.io github: https://github.com/zingale
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org https://mail.python.org/mailman3/lists/yt-users.python.org/ Member address: matthewturk@gmail.com
-- Michael Zingale Professor of Physics and Astronomy Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800 *phone*: 631-632-8225 *e-mail*: michael.zingale@stonybrook.edu *web*: https://zingale.github.io github: https://github.com/zingale <http://github.com/zingale>
participants (2)
-
Matthew Turk
-
Michael Zingale