spmvtest4(1)

πŸ“¦ version 2.1.11, in fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

πŸ’– 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:

http://www.ssisc.org/lis/

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