Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

SetEnvironment

Software ·
DOI:https://doi.org/10.11578/dc.20251016.16· OSTI ID:code-167230 · Code ID:167230
 [1];  [1];  [1];  [1]
  1. Sandia National Lab. (SNL-CA), Livermore, CA (United States); Sandia National Lab. (SNL-NM), Albuquerque, NM (United States); Sandia National Laboratories (SNL), Albuquerque, NM, and Livermore, CA (United States)
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.
Site Accession Number:
SCR #3019.0
Software Type:
Scientific
License(s):
BSD 3-clause "New" or "Revised" License
Programming Language(s):
Python
Research Organization:
Sandia National Laboratories (SNL-NM), Albuquerque, NM (United States)
Sponsoring Organization:
USDOE

Primary Award/Contract Number:
NA0003525
DOE Contract Number:
NA0003525
Code ID:
167230
OSTI ID:
code-167230
Country of Origin:
United States

Similar Records

GenConfig
Software · Wed Nov 06 19:00:00 EST 2024 · OSTI ID:code-162087

DetermineSystem
Software · Tue Oct 29 20:00:00 EDT 2024 · OSTI ID:code-162074

QUiNN
Software · Wed Jan 04 19:00:00 EST 2023 · OSTI ID:code-111714

Related Subjects