Skip to content

CHOLMOD error: problem too large #33

@kacperkan

Description

@kacperkan

I'm trying to reproduce the tutorial (here) of the paper "Large Steps in Inverse Rendering of Geometry" with a mesh that contains 2mln vertices and 21mln triangles. However, when running the Cholesky decomposition to solve the system (with 26mln nnz in total), I get the following error:

CHOLMOD error: problem too large. file: /project/ext/suitesparse-metis-for-windows/SuiteSparse/CHOLMOD/Include/../Core/cholmod_change_factor.c line: 536
CHOLMOD error: invalid xtype. file: /project/ext/suitesparse-metis-for-windows/SuiteSparse/CHOLMOD/Include/../Core/cholmod_factor.c line: 618
CHOLMOD error: argument missing. file: /project/ext/suitesparse-metis-for windows/SuiteSparse/CHOLMOD/Include/../Core/cholmod_transpose.c line: 897 

Why is this the case? Is the matrix too "dense" in the end? I've found this issue and one answer suggests changing the storage of indices to long int. However, I'm not sure if that would solve the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions