Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Compatible PRanges between FESpaces and linear systems

Abierto
#137 5 comentarios 2 reacciones 1 asignado Ver en GitHub

@JordiManyer ya está trabajando en esto.

Desde el 30/11/2023.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

enhancement

Here are some notes on the issue:

  • In some specific scenarios (which are not as rare), owned rows of the matrix contain column identifiers from dofs which are NOT available in the local FESpaces. This means that we will never be able to 100% match the PRanges from the PSparseMatrix and the DistributedFESpace. (See Alberto's note)
  • Moreover, when we assemble ghost rows we also include some column ids which are NOT needed to multiply the matrix by a column vector. We need this extra rows as cache for in-place assembly, but these extra ghosts should not be included when communicating during matrix-vector product.
  • On top of this, it would be advantageous to reorder the dofs in the local FESpaces so that the dof layout contains owned ids first, then ghost ids. This is how we do things in the linear system, and would bring us on par with other softwares like PETSc.

Given these observations, we concluded the following:

  • We need to re-order the ids in the local FESpaces. Hopefully, after doing so, LocalView type wont be needed anymore.
  • We need to create a new type FECompatiblePSparseMatrix, that contains
    • The usual matrix
    • Caches for the ghosts values that the matrix column PRange needs
    • Separate PRanges for matrix-vector multiplication and for assembly
Lenguaje dominante
Julia
Estrellas
150
Forks
28
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de gridap/GridapDistributed.jl

Todos los issues de gridap/GridapDistributed.jl

Issues similares

Más issues de Julia

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.