spmvtest2(1)
π spmvtest2 β the two-dimensional Laplacian SpMV glow-up π
okay bestie, so this is spmvtest2, one of the Utility Commands, and it's literally the moment where you find out how fast your sparse matrix-vector multiply is actually going. no cap.
β¨ SYNOPSIS β¨
spmvtest1 m n iter [matrix_type]
(not me showing you the synopsis exactly as it lives in the page β copy-paste faithful, periodt π )
πΈ DESCRIPTION πΈ
so here's the vibe: this program computes the matrix-vector multiply of a discretized two dimensional Laplacian of size mn, using the five point central difference scheme, and a vector (1, ..., 1)^T. iconic combo, fr fr.
then it measures the FLOPS performance as the average of iter iterations. that's the whole point. that's the main character moment. π«Ά
and if you need to, you can pass one of these values as matrix_type:
0β measure the performance for the available matrix storage formats π1-11β the number of the matrix storage format (yes, that's the actual number of the format, pick your fave)
quick vocab check because we're being thorough: m and n represent the numbers of the grid points in each dimension. slay.
π for more information, see the Lis User Guide. go read it, it's giving academic but make it useful.
π EXIT STATUS π
the following exit values are returned:
0β the process is normally terminated π everything ate, no crumbsunspecifiedβ an error occurred π we don't talk about it
π¦ SEE ALSO π¦
lis(3)lsolve(1)esolve(1)hpcg_kernel(1)hpcg_spmvtest(1)spmvtest1(1)spmvtest2b(1)spmvtest3(1)spmvtest3b(1)spmvtest4(1)spmvtest5(1)
and the link, obviously: http://www.ssisc.org/lis/ β¨
okay and for the sign-off bestie β this lil masterpiece is a Man Page, dated 26 Mar 2014, and it belongs to spmvtest2(1). vintage but still serving. mwah π π
π¦ where this page comes from
- fedora 43: lis-bin 2.0.21-13.fc41 Β· BSD
- fedora 43: lis-bin 2.1.11-1.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: lis-bin 2.0.21-13.fc41 Β· BSD
- fedora 44: lis-bin 2.1.11-1.fc44 Β· LicenseRef-Callaway-BSD
- nixos 26.05: lis 2.1.10
- nixpkgs unstable: lis 2.1.16
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms