Traceback (most recent call last):
File "/mnt/nfs/home/nai77/two_fluids/anelastic_MHD.py", line 172, in <module>
solver = problem.build_solver(timestepper)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/nfs/home/nai77/venv/dedalus/lib/python3.11/site-packages/dedalus/core/problems.py", line 98, in build_solver
return self.solver_class(self, *args, **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/nfs/home/nai77/venv/dedalus/lib/python3.11/site-packages/dedalus/core/solvers.py", line 565, in __init__
self.build_matrices(self.subproblems, ['M', 'L'])
File "/mnt/nfs/home/nai77/venv/dedalus/lib/python3.11/site-packages/dedalus/core/solvers.py", line 131, in build_matrices
subsystems.build_subproblem_matrices(self, subproblems, matrices)
File "/mnt/nfs/home/nai77/venv/dedalus/lib/python3.11/site-packages/dedalus/core/subsystems.py", line 81, in build_subproblem_matrices
subproblem.build_matrices(matrices)
File "/mnt/nfs/home/nai77/venv/dedalus/lib/python3.11/site-packages/dedalus/core/subsystems.py", line 520, in build_matrices
eqn_blocks = eqn[name].expression_matrices(subproblem=self, vars=vars, ncc_cutoff=solver.ncc_cutoff, max_ncc_terms=solver.max_ncc_terms)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/nfs/home/nai77/venv/dedalus/lib/python3.11/site-packages/dedalus/core/arithmetic.py", line 190, in expression_matrices
arg_matrices = arg.expression_matrices(subproblem, vars, **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/nfs/home/nai77/venv/dedalus/lib/python3.11/site-packages/dedalus/core/operators.py", line 778, in expression_matrices
operator_mat = self.subproblem_matrix(subproblem)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/nfs/home/nai77/venv/dedalus/lib/python3.11/site-packages/dedalus/core/operators.py", line 3195, in subproblem_matrix
matrix = self._wrap_radial_matrix(regindex_in, regindex_out, ell, return_zeros=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/nfs/home/nai77/venv/dedalus/lib/python3.11/site-packages/dedalus/core/operators.py", line 3219, in _wrap_radial_matrix
return self.radial_matrix(regindex_in, regindex_out, ell)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/nfs/home/nai77/venv/dedalus/lib/python3.11/site-packages/dedalus/core/basis.py", line 4776, in radial_matrix
matrix[0, 0] = unit_amplitude
~~~~~~^^^^^^
ValueError: setting an array element with a sequence.
Exactly the same code runs fine on my own laptop and another HPC. I have successfully solved this problem by downgrading numpy to version 2.2.1.
Best regards,
Andrei Igoshev
--
You received this message because you are subscribed to the Google Groups "Dedalus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dedalus-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dedalus-users/3cd373d7-38b3-4128-9eac-5360d542af53n%40googlegroups.com.
git clone -b master https://github.com/DedalusProject/dedalus cd dedalus CC=mpicc pip3 install --no-cache --no-build-isolation .
You received this message because you are subscribed to a topic in the Google Groups "Dedalus Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dedalus-users/qMLb0nFwuL8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dedalus-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dedalus-users/CADZXxBh2JojGDuSjMmpSt3dOzRqo7_c6o%2BtKK3U8G8VAPAi9QQ%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/dedalus-users/CAMa8c%2BQkaCwELb6FPH76%2B%2BEWNO49JHPw8%3DtU-bjSaELTDpUGsg%40mail.gmail.com.