Skip to content

Question - Large Matrices - Limitations #190

@saisandeepdammati

Description

@saisandeepdammati

Howdy!

I am trying to solve a higher-order elliptic equation using LU decomposition on a 3D uniform grid. The grid is N^3 in size with 'N' being the number of cells along on direction and the grid is uniformly distributed across several MPI processors. On decomposing the elliptic equation using finite difference, it results in a sparse matrix A of size (N^3 x N3), b matrix of size [N^3 x 1] and solution matrix, x of size [N^3 x 1]. I am want to solve this system using SuperLU_dist, however, I see an issue when N becomes large say N^3 = 2048^3. The sparse matrix 'A' in SuperLU, has member variables (say fst_row) of type int and the max value that one can store in a 4 byte int is 2 billion. In a sparse matrix of size N^3 = 2048^3, the number of rows in A can be easily more than 2 billion and lead to integer overflow. I have the following questions:

  1. Is there a work around for this? In particular, can 'fst_row' variables in 'A' be changed to say long int?

  2. Can SuperLU_dist handle sparse matrix sizes in the range of (2048^3 x 2048^3) to (8192^3 x 8192^3)?

Thank you very much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions