Skip to content

Option sparsesolve is not functional #367

Description

@tukss

When compiling with the Cray compiler I noticed warnings that we are using the error variable before defining it in the methods LU_DECOMPOSE_MATRICES, LU_SOLVE_SPARSE, and LU_DECOMPOSE_SPARSE. This is true because the actual calls to pardiso are commented. I don't think we would get correct results if sparsesolve is set at the moment, although it's possible that this particular code path is never reached.

Do we need the sparsesolve option? If yes, maybe we should add an #ifdef usepardiso around the calls to pardiso (after uncommenting them, of course) and let the methods abort with an error if the code is compiled without usepardiso. I'm happy to make a PR with these changes, but I'll only do it if we actually need the sparsesolve.

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