spmvtest2(1)

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

πŸ’– 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 crumbs
  • unspecified β€” an error occurred 😭 we don't talk about it

πŸ¦‹ SEE ALSO πŸ¦‹

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