Dear Dedalus developers,
Thanks for building this fantastic framework. I'm a newbie here. Currently, I want to learn and use Dedalus3 version in my future work. Now, I'm trying to reproduce this work, eq. 2.7 (
https://doi.org/10.1017/jfm.2022.865) with the IVP problem.
==============================
python3 Salt-finger_convection_using_single-mode_equations.py
/home/ducubuntu/miniforge-pypy3/envs/dedalus3/lib/python3.12/site-packages/numpy/core/getlimits.py:542: UserWarning: Signature b'\x00\xd0\xcc\xcc\xcc\xcc\xcc\xcc\xfb\xbf\x00\x00\x00\x00\x00\x00' for <class 'numpy.longdouble'> does not match any known type: falling back to type probe function.
This warnings indicates broken support for the dtype!
machar = _get_machar(dtype)
2024-06-17 21:18:22,182 subsystems 0/1 INFO :: Building subproblem matrices 1/1 (~100%) Elapsed: 0s, Remaining: 0s, Rate: 1.1e+01/s
Starting main loop
** On entry to ZTRSV parameter number 6 had an illegal value
** On entry to ZGEMV parameter number 2 had an illegal value
Traceback (most recent call last):
File "/mnt/d/ChangLiuLab_UConn/Double_diffusive_convection_using_Dedalus3/Salt-finger_convection/Horizontal-periodic/Salt-finger_convection_using_single-mode_equations.py", line 419, in <module>
solver.step(timestep)
File "/home/ducubuntu/miniforge-pypy3/envs/dedalus3/lib/python3.12/site-packages/dedalus/core/solvers.py", line 654, in step
self.timestepper.step(dt, wall_time)
File "/home/ducubuntu/miniforge-pypy3/envs/dedalus3/lib/python3.12/site-packages/dedalus/core/timesteppers.py", line 627,
in step
sp.LHS_solvers[i] = solver.matsolver(sp.LHS, solver)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ducubuntu/miniforge-pypy3/envs/dedalus3/lib/python3.12/site-packages/dedalus/libraries/matsolvers.py", line 141, in __init__
self.LU = spla.splu(matrix.tocsc(),
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ducubuntu/miniforge-pypy3/envs/dedalus3/lib/python3.12/site-packages/scipy/sparse/linalg/_dsolve/linsolve.py", line 438, in splu
return _superlu.gstrf(N, A.nnz, A.data, indices, indptr,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Factor is exactly singular
make: *** [Makefile:17: run_SME] Error 1
==============================
I think the issue relates to building equations with tau fields to fit boundary conditions. I may have created and implemented tau fields incorrectly. I hope someone can help me and find points I did not understand accurately in Dedalus3.
Best,
Duc