PSLABAD(l)
β¨ PSLABAD β LAPACK auxiliary routine (version 1.5) β¨
okay bestie, welcome to PSLABAD, a lil LAPACK auxiliary routine from the l (that's the local / scalar-ish family, iykyk) π
πΈ NAME πΈ
PSLABAD β takes as input the values computed by PSLAMCH for underflow and overflow, and returns the square root of each of these values if the log of LARGE is sufficiently large π
β¨ SYNOPSIS β¨
SUBROUTINE PSLABAD( ICTXT, SMALL, LARGE )
INTEGER ICTXT
REAL LARGE, SMALL
π PURPOSE π
So here's the vibe: PSLABAD takes as input the values computed by PSLAMCH for underflow and overflow, and returns the square root of each of these values if the log of LARGE is sufficiently large. π«Ά
This subroutine is intended to identify machines with a large exponent range, such as the Crays, and redefine the underflow and overflow limits to be the square roots of the values computed by PSLAMCH. It's needed because PSLAMCH does not compensate for poor arithmetic in the upper half of the exponent range, as is found on a Cray. no cap, that's just how it is π
In addition, this routine performs a global minimization and maximization on these values, to support heterogeneous computing networks. networking era fr fr πβ¨
π ARGUMENTS π
ICTXTβ (global input)INTEGERThe BLACS context handle in which the computation takes place. basically the group chat this whole operation happens in π¬SMALLβ (local input/local output)REALOn entry, the underflow threshold as computed byPSLAMCH. On exit, ifLOG10(LARGE)is sufficiently large, the square root ofSMALL, otherwise unchanged. she either glows up or stays exactly the same πLARGEβ (local input/local output)REALOn entry, the overflow threshold as computed byPSLAMCH. On exit, ifLOG10(LARGE)is sufficiently large, the square root ofLARGE, otherwise unchanged. same deal, iconic behavior β
heads up bestie: bothSMALLandLARGEare local input / local output β so every process in the context brings its own values, and the routine does that global minimization/maximization thing to keep everybody on the same page. π
LAPACK version 1.5 πΈ 12 May 1997 π β yeah she's an old queen but she still slays, mwah π bye bestie!! π¦
π¦ where this page comes from
- ubuntu jammy: scalapack-doc 1.5-11
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms