DOE OSTI · code-167230
SetEnvironment
Abstract
SAND2025-11727O SetEnvironment software is a utility library module that uses ConfigParserEnhanced, also a library module, to read specifically formatted .ini files for setting the user's environment. It creates a consistent environment with an expected set of variables and module loads, which is important for testing. Environment variable operations include set, append, prepend, unset, remove, and others and uses the Python os.environ methods. The module operations are performed with a wrapper. Systems using the Lmod package can generate a module function, which can also perform module operations specified in the text file. Sandia National Laboratories is a multimission laboratory managed and operated by National Technology & Engineering Solutions of Sandia, LLC, a wholly owned subsidiary of Honeywell International Inc., for the U.S. Department of Energy’s National Nuclear Security Administration under contract DE-NA0003525.
Keep this discovery
Explore connections, maps & timelines
McLendon III, William, Gates, Jason, Harvey, Evan, Chauphan, Anderson. 2024-08-03. SetEnvironment. https://doi.org/10.11578/dc.20251016.16
Cite the original work for its findings. Save a collection to share your selection of sources.