BOUT-dev
BOUT-dev copied to clipboard
Fedora builds failing -- scipy error
2/8 Test #53: MMS-spatial-fci ..................***Failed 1.34 sec
/home/test/BOUT-dev/build/tests/MMS/spatial/fci/runtest:167: SyntaxWarning: invalid escape sequence '\i'
label="{} $l_\inf$".format(method_orders[nslice]["name"]),
Making FCI MMS test
starting Bfield stuff
done Bfield stuff
Traceback (most recent call last):
File "/home/test/BOUT-dev/build/tests/MMS/spatial/fci/runtest", line 78, in <module>
zb.write_maps(
~~~~~~~~~~~~~^
grid, field, maps, new_names=False, metric2d=conf.isMetric2D(), quiet=True
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/lib/python3.13/site-packages/zoidberg/zoidberg.py", line 285, in write_maps
par_pgrids = [StructuredPoloidalGrid(p.R, p.Z) for p in par_pgrids]
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/zoidberg/poloidal_grid.py", line 301, in __init__
self._spl_r = RectBivariateSpline(xinds, zinds, R_ext)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.13/site-packages/scipy/interpolate/_fitpack2.py", line 1602, in __init__
nx, tx, ny, ty, c, fp, ier = dfitpack.regrid_smth(x, y, z, xb, xe, yb,
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
ye, kx, ky, s)
^^^^^^^^^^^^^^
_dfitpack.error: (mx>kx) failed for hidden mx: regrid_smth:mx=3
Just the one test. Not a particularly enlightening error message, but I'm going to guess scipy was updated recently.
I am not sure it is the scipy update, or the zoidberg update. This seems to be solveable by specifying kx - which is probably not needed for real grids, but only for tests (nx <= 3 seems to be causing issues)
I am working on a few fixes for zoidberg and bout++, also enabling zoidberg in the non-fedora cases, as this is not at all fedora specific, but just the only CI run with zoidberg installed.
I am working on fixes in the scipy-1.14.1 branch - some of the changes probably should go to zoidberg ...