The pip installation on the gateway failed.
In fact, it succeeded, but there is an error at import time, suggesting something went wrong at compilation time.
The error message is somewhat similar to the first one obtained on ITER:
In [1]: import tofu
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/gw/switm/python/3.6.0.b3/lib/python3.6/site-packages/tofu/geom/_core.py in <module>()
29 try:
---> 30 import tofu.geom._def as _def
31 import tofu.geom._GG as _GG
AttributeError: module 'tofu' has no attribute 'geom'
During handling of the above exception, another exception occurred:
TypeError Traceback (most recent call last)
/gw/switm/python/3.6.0.b3/lib/python3.6/site-packages/tofu/geom/_GG.py in <module>()
14 try:
---> 15 from tofu.geom._GG03 import *
16 except Exception:
/gw/switm/python/3.6.0.b3/lib/python3.6/site-packages/tofu/geom/_GG03.pyx in init tofu.geom._GG03 (tofu/geom/_GG03.cpp:103443)()
----> 1 # cython: boundscheck=False
2 # cython: wraparound=False
3 # cython: initializedcheck=False
TypeError: C function tofu.geom._basic_geom_tools.compute_hypot has wrong signature (expected arrayobject *(__Pyx_memviewslice const , __Pyx_memviewslice const , struct __pyx_opt_args_4tofu_4geom_17_basic_geom_tools_compute_hypot *__pyx_optional_args), got arrayobject *(__Pyx_memviewslice, __Pyx_memviewslice, struct __pyx_opt_args_4tofu_4geom_17_basic_geom_tools_compute_hypot *__pyx_optional_args))
During handling of the above exception, another exception occurred:
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-fb62ffe09d58> in <module>()
----> 1 import tofu
/gw/switm/python/3.6.0.b3/lib/python3.6/site-packages/tofu/__init__.py in <module>()
70 from tofu.utils import save, load, load_from_imas, calc_from_imas
71 import tofu._plot as _plot
---> 72 import tofu.geom as geom
73 import tofu.data as data
74
/gw/switm/python/3.6.0.b3/lib/python3.6/site-packages/tofu/geom/__init__.py in <module>()
10 """
11
---> 12 from tofu.geom._core import PlasmaDomain, Ves, PFC, CoilPF, CoilCS, Config
13 from tofu.geom._core import Rays, CamLOS1D, CamLOS2D
14 from . import utils
/gw/switm/python/3.6.0.b3/lib/python3.6/site-packages/tofu/geom/_core.py in <module>()
34 except Exception:
35 from . import _def as _def
---> 36 from . import _GG as _GG
37 from . import _comp as _comp
38 from . import _plot as _plot
/gw/switm/python/3.6.0.b3/lib/python3.6/site-packages/tofu/geom/_GG.py in <module>()
15 from tofu.geom._GG03 import *
16 except Exception:
---> 17 from _GG03 import *
ModuleNotFoundError: No module named '_GG03'
The pip installation on the gateway failed.
In fact, it succeeded, but there is an error at import time, suggesting something went wrong at compilation time.
The error message is somewhat similar to the first one obtained on ITER: