spmvtest4(1)
π spmvtest4(1) β utility commands era π
okay bestie, so this one is spmvtest4, a whole SpMV kernel benchmark for sparse matrix storage formats, and it lives in section 1 of the manual (utility commands, iykyk). it's giving "let me time your sparse math" and honestly? iconic.
β¨ NAME β¨
spmvtest4 β SpMV kernel benchmark for sparse matrix storage formats π¦
πΈ SYNOPSIS πΈ
spmvtest4 matrix_filename_list iter [block]
π DESCRIPTION π
so here's the vibe. this program reads the matrix data from all the files listed in matrix_filename_list, and then it computes the multiplies of matrices in all the available matrix storage formats by a vector (1, ..., 1)^T. yes bestie, a vector of all ones, we love a low-effort vector π
the FLOPS performance gets measured as the average of iter iterations. so you tell it how many times to run, and it averages it out. no cap, that's the whole measurement situation.
about the input: the Matrix Market format is the one that's supported for matrix_filename. periodt.
and if you need it β and only if necessary β the block size of the BSR and BSC formats can be specified by block. that's optional, hence the square brackets in the synopsis. π«Ά
for more information, go read the Lis User Guide. it's right there, go off π
π EXIT STATUS π
the following exit values are returned, and yes you should care:
0β the process is normally terminated β¨unspecifiedβ an error occurred π
ngl, "unspecified" is doing a lot of heavy lifting there, but that's literally what it says, so.
π SEE ALSO π
go read these too, bestie, they're all in the family:
lis(3)lsolve(1)esolve(1)hpcg_kernel(1)hpcg_spmvtest(1)spmvtest1(1)spmvtest2(1)spmvtest2b(1)spmvtest3(1)spmvtest3b(1)spmvtest5(1)
http://math.nist.gov/MatrixMarket/
and that's the whole page, bestie π this one's a man page, dated 26 Mar 2014 β yeah she's vintage, we stan an older queen π and if you ever forget where this page came from: it's the manual page for spmvtest4(1), utility commands division. slay, go benchmark something π§
π¦ 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