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

There is a bug in PETSc 3.21.1 that is affecting the Latest Test workflow #1063

Closed
swryan opened this issue May 1, 2024 · 0 comments · Fixed by #1064
Closed

There is a bug in PETSc 3.21.1 that is affecting the Latest Test workflow #1063

swryan opened this issue May 1, 2024 · 0 comments · Fixed by #1064
Assignees

Comments

@swryan
Copy link
Contributor

swryan commented May 1, 2024

Task Description

There is a bug in PETSc 3.21.1, that is affecting the Latest workflow and the nightly integration tests:

  File "/mdao/u/swryan/.conda/envs/dymos_20240501-003059/lib/python3.12/site-packages/openmdao/solvers/linear/petsc_ksp.py", line 489, in _get_ksp_solver
    jac_mat = PETSc.Mat().createPython([(lsize, size), (lsize, size)],
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "petsc4py/PETSc/Mat.pyx", line 1627, in petsc4py.PETSc.Mat.createPython
petsc4py.PETSc.Error: error code 83
[0] MatSetUp() at /home/conda/feedstock_root/build_artifacts/petsc_1714498151856/work/src/mat/interface/matrix.c:935
[0] MatSetUp_Python() at src/petsc4py/PETSc.c:381406
[0] Python context not set, call one of 
 * MatPythonSetType(mat, "[package.]module.class")
 * MatSetFromOptions(mat) and pass option -mat_python_type [package.]module.class
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

Successfully merging a pull request may close this issue.

2 participants