Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fedora builds failing -- scipy error #3050

Open
ZedThree opened this issue Jan 6, 2025 · 2 comments
Open

Fedora builds failing -- scipy error #3050

ZedThree opened this issue Jan 6, 2025 · 2 comments

Comments

@ZedThree
Copy link
Member

ZedThree commented Jan 6, 2025

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.

@dschwoerer
Copy link
Contributor

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.

@dschwoerer
Copy link
Contributor

I am working on fixes in the scipy-1.14.1 branch - some of the changes probably should go to zoidberg ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants