Skip to content

An iterative sparse matrix dense vector multiplication solver with MPI

Notifications You must be signed in to change notification settings

harunsasmaz/I-SpMV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Iterative SpMV solver

Author: Harun Sasmaz

Iterative Sparse Matrix - Dense Vector Multiplication program with 1D row partition.

Unsymmetric COO format matrices are used to read by mmio.h and are converted to CSR format.

Used MPI version: mpich v3.2.1

There are three parts:

Part I:

Partition by equal rows to each process.

Part II:

Hybrid MPI + OpenMP implementation

Part III:

Load balanced row partitioning

Compile:

First go to the part you want to test, then call "make"

You can swap one of the part with serial code and test serial version.

Test:

mpirun -np <NUM_PROCS> build/spmv <test_matrix> <iteration_count>

You can also use provided <submit_job.sh> batch file.

Results:

Provided results are obtained by the matrices at;

https://sparse.tamu.edu/Janna/Cube_Coup_dt6

https://sparse.tamu.edu/Janna/Flan_1565

About

An iterative sparse matrix dense vector multiplication solver with MPI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published