VecNrmP
February 12, 2026 ยท View on GitHub
recursive computation of the vector p-norm
This software is a supplementary material for the paper:
For building libpvn and this repository please invoke make help from the src subdirectory and see the examples in var/build_*.sh scripts.
They probably have to be tailored to each particular system.
If the GNU compilers come with a suffix, e.g., -15, then set the GNU variable to it.
There are several testers available:
src/laf_relerr.execomputes relative error bounds for the Algorithm L,src/crd_relerr.execomputes relative error bounds for the Algorithm C,src/reh_relerr.exe, combined with the scriptvar/rh_relerr.sh, computes relative error bounds for the Algorithm A,src/rhh_relerr.exe, combined with the scriptvar/rh_relerr.sh, computes relative error bounds for the Algorithm H,src/nrm2.exe, combined with the scriptsvar/seq.shandvar/qes.sh, runs the sequential 2-norm tests,src/nrm2.exe, combined with the scriptvar/cilk.sh, runs the OpenCilk-parallel 2-norm tests, andsrc/nrmp.exe, combined with the scriptsvar/parp.shandvar/ppar.sh, runs the OpenCilk-parallel p-norm tests.
This work has been supported in part by Croatian Science Foundation under the project IP-2014-09-3670 (MFBDA).