Changelog¶
3.6.0 (2026-11-27)¶
Features¶
The internal helper
eb-local __vm-run --mode kvm|tcg --cpu-target TARGET -- COMMANDruns COMMAND inside a QEMU virtual CPU that presents an EESSI target, as the caller, in the caller’s working directory, and refuses, before COMMAND starts, when EESSI archdetect, archspec,gcc -march=native, the CPU vendor or/dev/fddo not name the target.--cpu-target TARGETbuilds an easyconfig for another CPU target than the build host’s, with--mask auto|cpuid|kvm|tcgchoosing the route. Thecpuidroute runs the build with CPUID faulting and a target/proc/cpuinfoin an unprivileged namespace, refuses to build unless EESSI archdetect, archspec, gcc and the CPUID vendor name the target, pins the GROMACS SIMD level to the target, audits the installed tree and records the route ineasybuild/eb-local-build-mode.json;doctor --cpu-targetreports what the host can present.--mask kvmand--mask tcgrun the build througheb-local __vm-run, and report its statuses 2, 125 and 126 as a refused request, a virtual machine that did not run and a guest CPU that did not read as the target.--mask-allow-archspec-mismatchpasses--allow-archspec-mismatchto the helper and lets the build’s preflight accept an archspec name other than the target’s, which an aarch64--mask tcgbuild needs because archspec readsaarch64under qemu-user.--variant perfand--variant debugbuild the named easyconfig with debug symbols and frame pointers, or unoptimised with debug symbols, as a module whose version ends in-perfor-debug;doctor --profilingreports whether perf may sample and debuggers attach, and finds perf, valgrind and gdb.eb-local audit-isa PATH --target TARGETrunsobjdumpon the ELF files under PATH. It reports each instruction that needs a CPU feature the EESSI target lacks, per file with counts. It covers x86-64 (AVX-512, AMX) and aarch64 (SVE, SVE2, BF16, I8MM). Packages that choose their instruction set at run time print as dispatch and do not fail the audit;--allow FILEreplaces that list. Exit 0 means clean, 1 means an instruction exceeds the target, and 2 means a usage or tool error.eb-local devprints the Cargo linker lines thateb-local ebalready runs. They live insrc/cargo-linker.sh: a hostCARGO_TARGET_*_LINKER,RUSTFLAGSand the rustc wrappers are dropped, and whenrustc -vVprints a host,CARGO_TARGET_<target>_LINKERis${CC:-gcc}. The Zig program embeds that file.
Fixes¶
A
--cpu-target aarch64/neoverse_v1oraarch64/a64fxbuild under--mask tcgstopped beforeebstarted withno mask profile. The preflight in the virtual machine now takes the vendor and compiler names of a target that has nocpuidprofile from the__vm-runtarget table.A failed sync or close while writing
eb-local.lockleaves the previous lock in place. A new lock is published only after its bytes are durable, and a failed write removes its temporary file.A failed sync or close while writing a submit script is an error, and that script is not handed to sbatch.
A signalled build keeps killing and reaping descendants until none remain or ten seconds pass, and if one remains it reports that, exits 1, and does not clean the logs.
Avoid reloading the EESSI stack and extension modules when applying a development lock while preserving extension loading for locks written before the install prefix exists.
Emit
drop_rpath_wrappersandrpath-wrappersafter loading locked modules ineb-local dev --locked, covering compiler families without abuildenvmodule such asllvm-compilerson EESSI 2026.06. Eachrpath-wrapperscommand is checked, andEB_LOCAL_DEV_PREFIXis exported only after those commands succeed.The scheduler read an apostrophe in a
#SBATCH--outputor--chdirpath as an opening quote, stopped on the unmatched quote and never submitted the job.eb-local submitnow double-quotes such a path.--profilenow selects the profile foreb-local profiles. It wins overEB_LOCAL_PROFILEanddefault_profile, and an unknown name is refused.--variantnow works only with a recipe build orsubmit. Other commands refuse it instead of running as if it were absent.audit-isastops withcannot resolve PATHwhen the working directory is gone and PATH is relative, and__vm-runreportscannot resolve the read-only share PATHand exits 125 in that case, where each reported out of memory or gave no reason.doctor.approved_prefixesrefuses a path with a parent component or a spelling of the root directory, soeb-local doctorand a build withbuild.clear_foreign_prefixesdo not treat that spelling as an approved prefix.eb-local __vm-run --mode kvm --cpu-target x86_64/amd/zen3refused with status 126 because the guest read asx86_64/amd/zen2: QEMU’s EPYC-Milan model has novaes, which EESSI archdetect requires. The zen3 guest now addsvaesandvpclmulqdq.eb-local submitkeeps every job script, prints the path it submits, and writes the new script beside one whose path is already taken.
Documentation¶
Document in
docs/howto/compile.mdthat the European Environment for Scientific Software Installations (EESSI) 2026.06 includesbuildenv/default-foss-2026.1and has nodefault-lfossordefault-intelbuild environment.Document in the command reference that
--variantis accepted before an easyconfig and beforesubmit.submitkeeps the option and puts it on the batch command. Another command refuses it.The README lists the check, rpath-wrappers, lmod-cache, modulerc, overlay and site commands and doctor –cvmfs and –mpi, says clean refuses without rtrash unless –delete is given, and says eb-local builds on a workstation as well as in a Slurm job.
Miscellaneous¶
CI builds a recipe on a GitHub-hosted runner with the EESSI mount and no Slurm, the path a user without a cluster takes.
Discover
eb-stack0.8.0 or newer fromPATHwhenEB_STACK_BINis unset, isolate host/etc/profile.d/lmod.shand/etc/eb-localsite files in a mount namespace with a user-namespace probe and bounded timeouts, and run the full Python suite with zero skips in thezigCI job.Extract the compiler family detection snippet used by
buildenvLinesinto a shared helper with no behavior change.Guard the remaining doctor tests that require no site file from host configuration, and cover them in the zero-skip isolation check.
Require
zsh,eb-stack, andunshareinZeroPythonSkipswhenEB_LOCAL_REQUIRE_TOOLSis set, and skip with a reason otherwise.Run the live EESSI 2026.06 checks in
tests/site/test_dev_locked_eessi.pyoutsidepython3 -m unittest discover -s tests.tests/siteis not a package, so the zero-skipzigjob does not collect them. Running the file fails when the Zig build or the EESSI init file is absent.The
arm-maskworkflow runs the aarch64 mask on a real Neoverse core (ubuntu-24.04-arm):getauxval,/proc/cpuinfoandgcc -mcpu=nativename the target under__mask-run, and a recipe builds foraarch64/neoverse_n1with EESSI mounted, the preflight and the ISA audit on.The
live-eessijob in thezigworkflow runstests/site/test_dev_locked_eessi.pyon an EESSI 2026.06 mount.
3.5.0 (2026-11-26)¶
Features¶
Build managed EasyBuild recipes automatically when Slurm is absent, or explicitly with
--workstation/storage.mode = "local", using securely opened private local workspace roots thatclean --workspacescan find after$TMPDIRchanges.Recipe overlays can add typed top-level easyconfig assignments without a Python hook.
EB_LOCAL_PIN_BUILDENV_PYTHON=1puts only the compatibility-layerpython3before a foreign interpreter whendevloads a build environment.eb-local devsetsJULIA_DEPOT_PATHandR_LIBS_USERunderEB_LOCAL_DEV_PREFIXwhen the caller has not set them. Julia’s depot keeps the bundled depots after it. R’s library uses R’s%p-library/%vlayout. An empty value is left as the caller set it.eb-local devsetsPYTHONUSERBASEunderEB_LOCAL_DEV_PREFIXwhen the caller has not set it, so pip’s user install stays on that CPU target. An empty value is left as the caller set it.eb-local devsets matching Go paths underEB_LOCAL_DEV_PREFIXonly when the caller has not set them, preserves empty and custom values, and records language directory state in the backward-compatible dev-v3 lifecycle record.eb-local envand a build unset install locations frominstall_vars, the same names in the same order asshare/env-scrub.json.
Fixes¶
A lock that cannot be released at the end of a successful
clean,uninstall,restore, build orlmod-cacheis reported aseb-local: cannot release the lock on PATH: [Errno N] text, and the command exits 1. After an earlier failure, including a failed write to standard output, the release error is dropped and the first failure’s message and exit status stand. A signal that stops the command, such as one received while a build cleans its logs, drops it too. The descriptor is closed either way.Check diagnostics name each installed binary or library and the NEEDED entry it cannot resolve.
Compiler wrappers record the directories of shared libraries linked by absolute path as run paths.
Development environments preserve wrapper run paths across CMake and Meson installs.
Five eb-local writers report a failed close or
fsyncas an error where they used to drop it.dev --envrcanddev --lockexit 2 witheb-local: cannot write NAME ([Errno N] text)when the close of a new.envrcoreb-local.lockfails. A build on a workstation stops withcannot record workstation workspace rootwhen that record cannot be synced or closed.doctor --workspacefails its probe when the close of the probe fails, where it used to report the probe as written. If the directory of thetimestampcannot be synced after the rename,lmod-cacheexits 1 and puts the cache back. The Network File System (NFS) and some quota setups report a lost write only at these calls.If
cleancannot write its list to standard output, it stops before it removes anything or makes the prefix lock. When there is nothing to clean,cleanforgets a recorded workstation workspace root that has no workspace only after it has written that, so a failed write changes nothing.If
restorecannot write its list to standard output, it stops before it restores anything or makes the prefix lock.If
uninstallcannot write its list to standard output, it stops before it removes anything or makes the prefix lock. If a module file or link for what it listed appears while it waits for the prefix lock,uninstallremoves nothing, so it leaves no dangling link behind.Isolate command-line tests in
tests/test_dev_cli_modes.py,tests/test_env_strict.py, andtests/test_list_doctor_cli.pyfrom a host/cvmfs/software.eessi.iomount using the shared helper intests/support.py.Keep the compiler-family scratch variables local when
rpath-wrappersfails duringeb-local dev.Move held lock descriptors out of standard-stream slots 0, 1, and 2 via
zig-commonsys.keepAboveStdiosoclean,uninstall,restore,build, andlmod-cachedo not write standard output into.lockfiles when invoked with standard output closed.Name every job
submitsends on standard output before it makes a directory or runssbatch, and submit nothing when that fails.Report standard output write errors on standard error and return exit status 1 across human-readable and shell-evaluation subcommands when standard output is full or closed.
Roll back newly created parent directories when recursive directory creation fails partway through in
lmod-cache,modulerc,overlay materialize, andrpath-wrappers.Stop dev-shell evaluation when the architecture guard fails, including in conditional callers and JSON or lock evaluation.
Warn in
eb-local doctorwhen an explicitly exported install variable for the shared software stack selects a different mode or path from the configured user or project destination.Write the
clean --jsondocument beforecleanremoves anything, and stop with nothing removed when it cannot be written. When that document is a refusal or says there is nothing to clean and cannot be written,cleankeeps the recorded workstation workspace roots it would have forgotten.buildsays what it runs before it makes the install prefix. It keeps the build workspace when it cannot write the report of redacted secrets.eb-local --explain ebnow emitsexportlines for the configuredEESSI_USER_INSTALLorEESSI_PROJECT_INSTALL,[eessi]variables,EBLOCAL_EB_SITE_TOOLCHAINS, andEBLOCAL_EB_SOURCEPATHso replaying the printed script in a clean shell matcheseb-local eb.eb-local devnow stops with the status ofrpath-wrapperswhen that command fails, before it setsEB_LOCAL_DEV_PREFIX.eb-local ebnow uses the configured user prefix or project, exports configured hook settings without replacing shell overrides, and keeps downloaded sources below the install prefix.eb-local envandeb-local devnow return failure before they change the shell when it has nomodulecommand.lmod-cachereports a failed close of the newtimestampand keeps the old one. When the directory of thetimestampcannot be written and the file is rewritten in place, a failed truncate,fsyncor close of it is reported, and a file put in its place after it was checked is refused and not changed. If a failed update already changed the file,lmod-cachewrites its previous bytes and times back through a duplicate of the descriptor that changed it, so a file renamed into its place is left alone. With--verify, a failed write or close of the candidatespiderT.luaorlmodrc.lua, or a failed close of the candidatetimestamp, is reported and the cache is not changed. Each of these exits 1 witheb-local: cannot write PATH: [Errno N] text. A previousspiderT.luathat cannot be read, or is larger than 64 MiB, is not replaced:lmod-cacheexits 1 witheb-local: cannot read PATH: REASON; the cache was not changed. A cache that was already replaced is put back through a new file that is renamed over it once it is written, synced and closed, and a cache with no previous one is removed. Each restore is tried once, and one that fails is reported after the error that started it, aseb-local: cannot restore PATH: REASONoreb-local: cannot remove PATH: REASON. A workstation build whose workspace-root record cannot be written, or whose registry or existing entry cannot be used, removes the workspace of the build before it exits 2. The record is written to a temporary file that is renamed over it only after the write,fsyncand close succeed, so a failure before the rename removes only the temporary file andclean --workspacesstill finds older workspaces under that root. A failed sync of the registry after the rename keeps the new entry, which names the same root as any entry it replaced.settleGroupkeeps waiting whilewait4reports a child in the signalled process group, so a child the/procscan misses is reaped instead of being orphaned whenstopre-raises the signal.
Documentation¶
The README describes builds on a workstation, laptop or CI runner without Slurm, and no longer says the shim passes an eb-local.conf.
Miscellaneous¶
A unit test pins that
eb-local lmod-cache, updating--timestampin place with standard input, output and error closed, keeps the duplicate it restores the timestamp through off descriptors 0, 1 and 2.Add shared Bash and zsh helpers for dev-shell lifecycle tests.
Drop the unreachable no-install-variable branch from
explainExtend, because configured defaults always populate the selected install variable.Let the test build fail standard output after the number of writes in
EB_LOCAL_TEST_STDOUT_WRITES.Pin
zig-commonto 3119105, thedevelopmerge of the checked stdout writer that addscli.Stdoutandcli.writeOut.Pin
zig-commonto3c3b1720, themaincommit that mergessys.keepAboveStdio, so it is available for lock descriptor placement.Pin
zig-commontoa45142a, thedevelopmerge ofzig-common#89, wherestate.RootLock.releasereturnssys.Error!void. eb-local takes noRootLock, so no call site changes. A failed write inlmod-cache,modulercandoverlay materializereports Python’s[Errno N] ...text, with the file it names, where it used to print the error name such asNoSpaceorAccessDenied;site,submitanddoctoradd that file name to the errno text they already printed.Run the tests that need the Zig build in the run through the shell shim as well, so
python3 -m unittest discover -s testswithoutEB_LOCAL_BINskips almost nothing.The SBOM test accepts a zig-common dependency pinned to a full commit as well as to a release tag.
The cooperative reap test records the worker’s
getppidinworker.reparentedonly after a pidfd reports that the leader has exited, and keeps the worker blocked on a fifo until that parent id is the eb-local process.Write
main.zigstandard output throughcli.Stdoutand keep a failed heap allocation insaya fatal out of memory exit.tests/hostile_fs.pyadds anoversized_filehelper that creates sparse or byte-filled files with mode0o600for oversized CLI input checks.tests/test_config_cli_modes.pyverifies thateb-localconfiguration loading rejects directory and FIFO inputs under a bounded timeout as well as dangling symlinks and malformed byte or oversized files.tests/test_dev_shell_lifecycle.pychecks thateb-local devkeeps non-wrapperPATHentries in order when dropping a recordedEB_LOCAL_RPATH_WRAPPERSdirectory.tests/test_hardening_cli.pyverifies thatfile:secret resolution rejects directory and FIFO paths under a bounded timeout as well as dangling symlinks and oversized inputs, and that log redaction leaves special files untouched while scrubbing byte-order mark and non-UTF-8 logs.tests/test_site_cli_modes.pyverifies thateb-local siteinput subcommands reject directory and FIFO paths under a bounded timeout alongside dangling symlinks and malformed byte or oversized files.
3.4.0 (2026-11-22)¶
Features¶
Add opt-in development environment replacement and leaving to the Zig front end.
The repository’s
eb-localPOSIX shell shim delegates every command to the Zig program, avoids delegating to shim copies and preserves an adjacenteb-local.conf. For Bash users, the default prefix moves from~/.local/eessito~/eessiwhile retaining an existing legacy install. User installs change from umask 022 to 077, so other users can no longer read them. An untrusted adjacent config is rejected instead of skipped, and child signals are re-raised rather than translated to status 128 plus the signal number.
Fixes¶
A build,
eb-local ebandeb-local doctorno longer refuse an installation prefix or a workspace on btrfs withno space left on device (... 0 free inodes). btrfs has no inode table and reports zero total and zero free inodes; such a file system is full only when it has no free bytes.doctor --workspacesays that the file system does not count inodes.Add the
init/modulesdirectory ofEESSIfor builds,eb-local envandeb-local devwhen a distribution’s Lmod has noEESSImodule on MODULEPATH, and say so ineb-local doctorinstead of failing.Avoid leaking open pipe descriptor
fd 3into child processes or stalling on background children whenenv --json,dev --json,dev --lock, ordev --locked --jsonevaluates shell setup lines.Build the Zig CLI before the shell test suite exercises the delegation shim.
Cancel contended
.eb-local/.lockwaits onSIGINT,SIGTERM,SIGHUP, andSIGQUITviacommon.state.lockExclusiveCancel, removing unused build workspaces before re-raising.Discover
config.tomlandeb-local.confin<checkout>directly from the Zig binary when running out of<checkout>/zig-out/bin/eb-local, without relying onEB_LOCAL_CONFIGfrom the shell shim.Doctor fails when a readable Lmod initializer does not define the module command a build requires.
Doctor refuses an install prefix that lies under a symbolic link naming shared scratch or the node-local root.
Doctor treats a workspace under a shared scratch root as shared when that root is a symbolic link.
Format filesystem diagnostics with
[Errno N] ...viastorage.describeErroracrossbuild,check,dev,clean, anddoctorto matchCOMPATnotes anddocs/reference/refusals.md.Forward
SIGINT,SIGTERM,SIGHUP, andSIGQUITtolmod-cachechild process groups and remove temporary verification and uncommitted cache directories before re-raising.Forward
SIGINT,SIGTERM, andSIGHUPfromGuard.runto the child process group acrossbuild,eb,submit, andclean, isolating non-TTY children in a dedicated process group while preserving single-signal terminalCtrl-Cdelivery.Hold the signal guard across
submittargets and unlink unsubmitted batch scripts when interrupted bySIGINT,SIGTERM,SIGHUP, orSIGQUIT.Initialize Lmod for the shell that evaluates eb-local env or eb-local dev, including clean zsh sessions.
Keep the delegation shim valid POSIX shell when it skips shim copies on PATH.
Preserve the loading executable’s compatibility-layer loader root and inherited
DT_RPATHacross transitive shared-library checks ineb-local check --recursive, preventing false host-libcreports on EESSI binaries. The inherited run paths are searched beforeLD_LIBRARY_PATH, as the loader does.Publish Lmod cache
timestampfiles atomically with pre-backdatedmtimeso concurrent readers never observetimestamp.mtime >= spiderT.lua.mtime.Refuse non-regular FIFO inputs and outputs without blocking in
overlay materialize, and validate output targets with exit code 2 in--dry-run.Reject dev locks whose CPU target contains empty,
.or..path components.Reject malformed module names passed as
listfilters.Remove
EB_LOCAL_CONFIGinjection from the repositoryeb-localshell shim so it strictly locates andexecs the Zig binary without mutating the environment.Report OS errno diagnostics and exit
1whenevereb-local lmod-cache(--dry-run,--prefix, or--modulepath) fails to write standard output to/dev/fullor a closed descriptor.Report OS errno diagnostics and exit
1whenevereb-local modulerc(--check,--dry-run, or write mode) fails to write standard output to/dev/fullor a closed descriptor.Serialize concurrent
lmod-cachewriters across cache and timestamp directories viacommon.state.lockExclusiveCancel, canceling contended waits cleanly on termination signals.Stage and lock
.eb-local.lockbefore publishingeb-local.XXXXXXXXbuild workspaces soclean --workspacescannot delete a build workspace waiting on.eb-local/.lock.Submit refuses an install prefix or working directory containing a newline that would split an #SBATCH directive.
Terminate
build_scriptandextend.scriptimmediately onSIGINTduring module and target setup instead of letting GNU Bash wait-and-cooperative-exit dropSIGINTwhen a foreground setup helper catchesSIGINTand exits normally.The RPATH wrappers that
devandrpath-wrappersput first read the arguments in a response file,@FILE, and add a run path for the directory of a shared library named by its full path. Meson and CMake put a long link line in a response file, and CMake and pkg-config often name a library by its path, so such a link recorded no run path for those libraries outsideLIBRARY_PATH; a compile in a response file, which the wrapper took for a link, no longer gets run path options.Try later Lmod initializers when an earlier readable initializer defines no
modulecommand.Use
common.proc.runinstead ofstd.process.runinstorage.probeWorkspacesodoctor --workspacenever opens and retains an un-CLOEXEC/dev/nulldescriptor viastd.Io.Threaded.Wait on reparented child-group
SIGCHLDevents viaPR_SET_CHILD_SUBREAPERandsignalfdwith a 500 ms deadline before escalating toSIGKILLinGuard.run, ensuring descendants flush logs and exit before secret redaction and lock release.eb-local dev --lockednow skips the modules ineb-local.lockwhen that file records an EESSI version and the shell’sEESSI_VERSIONis different.eb-local devuses nounset-safe expansions for an EESSI software target, so shells usingset -udo not abort when a module omits either target variable.
Documentation¶
A how-to guide, Build CUDA software against a site’s GPU modules, covers building on the GPU node a site module is visible on, giving programs a run path into a Python package’s library directory that its module leaves off
LIBRARY_PATH, checking the installation witheb-local check, and libraries an install step copies with the build’s run path.A new guide,
docs/howto/install-your-own-recipe.md, covers what a build of a recipe file of your own needs beyond a recipe EasyBuild ships: naming the file and the directory of its dependencies with--robot=DIR, giving sources with--sourcepath, a recipe for software published only as prebuilt libraries (Tarball, the system toolchain and whencheck_readelf_rpath = Falseis right), whatis already installed (module found), skippingmeans when the module is not in your prefix, the lock that makes two builds into one prefix run one after the other andEB_LOCAL_LOCK_TIMEOUT_MSfor the one that waits, and--ignore-locksafter a build that was killed.Document the opt-in development environment replacement and restoration model.
Miscellaneous¶
Tests pin that
eb-local doctorreports no finding for a path-list variable such asPYTHONPATHorR_LIBS_USERwhose whole value is empty, which the tools that read it treat as unset, while an empty entry inside a non-empty list, as in:,:DIRorDIR:, is still named.The execve-block builders over a std process environment map build through zig-common
env.Builder, whose set order and block shape they now use, instead of hand-rolled line assembly.Update the pinned
zig-commondependency fromv0.10.0tov0.12.0. The ELF scan warning for a path it cannot open now namesIsDirorNotRegularFileinstead ofInvalidArgumentfor a directory or a FIFO.
3.3.0 (2026-11-19)¶
Features¶
The site tasks for a setuptools, meson-python, and scikit-build-core extension read the built module with
readelfand pass when it has aDT_RPATHentry naming the stack library and noDT_RUNPATHentry. The task then imports the module with no modules loaded.devtries the build environment at the compiler’s own toolchain level,buildenv/default-NVHPC-VERSION,buildenv/default-intel-compilers-VERSIONorbuildenv/default-llvm-compilers-VERSION, when the family’s configured one is not installed, before it falls back to its own RPATH wrappers. A site that installs such a module needs nodev.buildenv_forsetting. A family set to none still goes to the wrappers without asking Lmod.eb-local doctornames a hostCARGO_TARGET_*_LINKER,CARGO_BUILD_RUSTC_WRAPPER,RUSTC_WORKSPACE_WRAPPER,R_MAKEVARS_USER,R_MAKEVARS_SITE, and a host entry ofJULIA_LOAD_PATH,JULIA_DEPOT_PATHorNODE_PATH.build.clear_foreign_prefixesdrops those when it is set, and stays off by default.RUSTFLAGSis a flag string, so it is not treated as a path.
Fixes¶
A site file may write a decimal integer with a single “” between two digits, so
1_000is one thousand. A leading zero, a doubled “” or a “_” at either end of the digits stays invalid.Ignore Zig
//line comments when parsingbuild.zig.zondependencies and fields intools/sbom.py.Site template placeholder errors in
src/sites.zignow report the 1-based line number alongside the template name.Split whitespace-separated patterns on
includelines insideelfcheck.parseLdSoConfso multi-patternld.so.confdirectives are not skipped.The release workflow publishes the shell completions and man pages as
eb-local-X.Y.Z-share.tar.gz. For 3.2.0 thesharedirectory made the upload step fail after the binaries, their software bills of materials andSHA256SUMSwere attached, so that release has no completions archive.Treat
fusemounts backed bycvmfs2(andfuse.cvmfs) as valid CernVM File System (CVMFS) mounts ineb-local-readiness, avoiding false warnings on hosts runningcvmfs-fuse3.acquireBoundedLock,acquireOptionalLock, andtryLockFreeinsrc/storage.zignow checkfstatand refuse non-regular lockfiles such as FIFOs instead of locking or treating them as free.cvmfs.readFilenow usesfsx.openRegularwhen reading CernVM-FS client configuration files so non-regular entries such as a FIFO are skipped instead of blockingeb-local doctor --cvmfs.eb-local check(elfcheck.expandOrigin) now requires a non-word boundary after unbraced$ORIGIN(matchingld.so), leaving tokens such as$ORIGIN_extraunexpanded while still expanding$ORIGIN,$ORIGIN-extra, and${ORIGIN}_extra.eb-local config --getnow rejects invalidbuild.node_types.<NAME>andsecrets.<NAME>names with exit 2 andunknown configuration keyinstead of exiting 1 as unset.eb-local doctorandbuild.clear_foreign_prefixestreat every relative path-list entry and every empty one as outside the approved prefixes. An empty entry is reported as''. Julia’s own entries are kept: an empty entry ofJULIA_LOAD_PATHorJULIA_DEPOT_PATH, and a load-path entry starting with@.eb-local ebnow refuses a non-directory or uncreatableEESSI_USER_INSTALLpath with aneb-local:message and exit status 2 instead of failing inmkdir -pwith exit status 1.eb-localRPATH wrappers now search an emptyPATHentry as the current directory, including a trailing colon, asexecvpdoes.legacyToTomlnow rejects a leading UTF-8 BOM and validates every line (including comments) for NUL and non-UTF-8 bytes with its line number before stripping comments.
Documentation¶
Add
gfortran -O2 -fopenmpandmpifortbuild rows todocs/howto/compile.md.Expanded the EESSI compilation how-to with Python, uv, R, Rust, Julia, and Node.js package build commands that keep native links under the build environment wrappers.
Extend
docs/howto/install-what-eessi-lacks.mdto showeb-local eb -- "$recipe" --robotfor installing missing modules where there is no site file or Slurm job.Switch the CMake and configure prefix flag examples in
docs/howto/compile.mdto Org tilde code spans so the exported Markdown renders valid inline code.The how-to “Compile with Nix inside the dev shell” links a stack library from
nix-shellwithDT_RPATH. On Nix 2.35.6 that entry stays, including undernix-shell --pure, and a sandboxednix-buildfails withcannot find -lanswer.The run-paths page no longer says a program loses its run paths only when
gccandldare both bypassed. On x86_64, rustc 1.90 and later links with rust-lld, which those wrappers never see. The page says howeb-local ebpoints Cargo at the wrapped compiler, and what adevshell still has to set for Julia’s depot, a hostNODE_PATH, R’s Makevars and a Python virtual environment.tests/site/lang-dev-tasks.shruns each of those and then runs the program with no modules loaded.Update the
README.mdEasyBuild example fromGSL-2.8-GCC-15.2.0.eb(already provided by EESSI 2026.06) topigz-2.8-GCCcore-15.2.0.eb, matchingdocs/howto/install-software.md.Updated the
eb-without-a-site-filehow-to guide soeb-local doctorwithout a site file shows theinfo no site file sets storage.node_local_rootline that the built binary prints rather than the olderFAILline.Updated the
load-eessiandinstallhow-to guides so the strict-mode example evaluateseval "$(eb-local env --strict)"in the shell (which emits the missing-init error and exits 2) instead of invokingeb-local env --strictdirectly.
Miscellaneous¶
Added a CLI test verifying
eb-local check --prefixandeb-local check --devexit 2 when the target path is not a directory.Switch
lmodcache.installVerifiedineb-localto create its verification directory withzig-commonfsx.mkdtemp.The Zig workflow runs overlay bump and overlay plan against the eb-stack 0.8.0 release.
3.2.0 (2026-11-19)¶
Features¶
Add opt-in
--jsontolist,check,doctor,config,profiles, andsite list, printing one line of JSON withschema_version1 for scripts and automation.Adds
doctor --workspace PATHto exercise a build directory and report its file system, storage class, free capacity, mount execution policy and cache isolation without starting a build.Adds
eb-local overlay materialize, plusoverlay bumpandoverlay planthat forward toeb-stack packageby subprocess only. Overlays pin an upstream easyconfig digest and apply only declarative parameter, patch, and dependency edits.Adds
lmod-cache --verifyto compare a temporary candidate cache with uncached Lmod discovery and leave the installed cache unchanged when inventories differ or cannot be parsed.The new standalone
eb-local-readinesscommand checks the EESSI mount and verifies that local modules precede upstream modules onMODULEPATH.build.secrets, in a configuration file or a profile, andEB_LOCAL_BUILD_SECRETS, for one build, name the secrets a build gets: the build reads only those, so a secret it does not get never reacheseb, and one that cannot be read no longer stops it. Without either, every build gets every secret, as before. A name that no secret in force has is an error saying where it was set.eb-local configshows the setting,config --envcarries it,--explainsays which secrets reacheb, anddoctorsays FAIL only for a secret builds get, and otherwise warns. The documentation has a how-to page.eb-local --explain RECIPEprints the script a build runs, after the variables eb-local sets for it and aset --line with its arguments. It printed a separate rendering of that script, which could differ from it: its guard line did not stop when the guard failed. A build’s first line names the command:eb-local: what this runs: eb-local --explain RECIPE ....eb-local --explain RECIPE, and a build started outside a Slurm job, print ansbatchline for each node type the site file lists, which runs the same build as a batch job on that node type. The job runs what a job ofeb-local submitruns, in the directory eb-local ran in, and writes its output there.eb-local check --module NAME/VERSION,--devand--prefix DIRaudit every ELF file in those installations, the dev tree or a directory. A file that is not ELF is skipped.--quietprints a file only when it has a problem.eb-local check --recursiveaudits resolvedDT_NEEDEDshared libraries transitively alongside the target ELF files.eb-local clean --jsonprints a structured summary of cleaned logs, sources, and build workspaces.eb-local config --get KEYprints the resolved value of one configuration key for scripts and hooks.eb-local dev --envrc MODULE...writes the line that evaluates thatdevto.envrcin the working directory, between marker lines it owns, and updates it on a later run without touching other lines. With direnv the build environment then follows the directory, in every shell direnv has a hook for.eb-local dev --lock MODULE...writeseb-local.lock: the stack, the EESSI version, the CPU and accelerator target and every loaded module with its version, in load order.eb-local dev --lockedloads exactly that list from a purged shell, refuses a lock of another stack, and loads none of it on a different CPU target. Node types that share a CPU target share a lock.eb-local dev --purerunsmodule purgeand unsetsLD_LIBRARY_PATH,LD_PRELOADandLD_AUDITbefore the stack loads, so modules and loader variables the shell already had do not reach the build environment.eb-local dev --strictchecks that the EESSI init file exists before loading modules and build environments.eb-local devnames the host’s CA bundle inSSL_CERT_FILEandCARGO_HTTP_CAINFOwhen the host has none at/etc/ssl/certs/ca-certificates.crt, socargoandcurlfrom EESSI reach HTTPS servers on RHEL-family hosts. A value the shell already set is kept.eb-local doctor --cvmfschecks the CernVM-FS repository this shell would read. It reports whether the mount is present, stale, or returning an input/output error, the HTTP proxy in force and whether that value came from the process environment, and the result ofcvmfs_config probeandcvmfs_config chksetupwhen that program is onPATH.--cvmfs-parallel Nordoctor.cvmfs_parallelreads repository metadata from N tasks inside an allocation, throughsrunwhen it is onPATH. A build does not run these checks.eb-local doctor --mpireports whetherfi_infoanducx_infoare onPATH, and any Slurm CPU or memory bind. Inside an allocation it compiles and runs a two-rank hello for each transport named bydoctor.mpi_transports(ofiorucx) and reports theOMPI_MCA_pmlandOMPI_MCA_mtlvalues used for that run only. A build does not set those values.eb-local doctor --strictexits 1 whenever diagnostic checks emitwarnlines as well asFAIL.eb-local doctorreportsPERL5LIB,PYTHONPATH,R_LIBS*,CMAKE_PREFIX_PATH,PKG_CONFIG_PATHand compiler-wrapper variables that resolve outside the EESSI repository, the install prefix anddoctor.approved_prefixes. It also reports the timezone/etc/localtimeresolves to, a bind of that file, and a host library directory a container runtime injected.build.clear_foreign_prefixesandEB_LOCAL_BUILD_CLEAR_FOREIGN_PREFIXESdrop those entries from a build; both stay off unless set.eb-local doctorsays whether eessi-arch-guard is onPATHand, inside a job with EESSI loaded, which CPU target it selects, which builds,envanddevthen use. It asks the guard as a build does, with--strict --shelland a private directory that it removes after; a guard that cannot select a target is awarn.eb-local env --jsonandeb-local dev --jsonprint the change their lines make to the environment (setandunset, as one line of JSON) in place of the lines, so a shell that cannot evaluate POSIX text, such as nushell, can apply it. The reference has a nushell wrapper.eb-local env --strictandEB_LOCAL_ENV_STRICT=1prepend a check that the EESSI init file exists before the load lines. The load-eessi how-to names it for hosts where CVMFS is not mounted yet.eb-local list --missingprints the sortedNAME/VERSIONmodules absent from the loaded CPU target.eb-local lmod-cache --prefixwalks every CPU target’smodules/alltree (and nested accelerator module trees), then runs Lmod’supdate_lmod_system_cache_filesfor each, matching EESSI’s publisher cache refresh.--dry-runlists the targets; single-target--modulepathmode is unchanged.eb-local lmod-cachewrites Lmod’sspiderT.luafor the module directories it is given, and a timestamp one second older, so Lmod trusts the cache. Aspiderthat fails leaves both files unchanged.eb-local modulerc --checkreports whether requested directives would update.modulerc.lua.eb-local modulerc --jsonprints structured JSON describing directives, target file, and drift status.eb-local modulercidempotently writes operator-selected Lmod defaults, aliases and hidden versions, with a--dry-runpreview.eb-local overlay materialize --checkcompares generated outputs against disk and exits 1 on drift without writing.eb-local overlay materialize --dry-runvalidates an overlay and lists its output paths without creating them.eb-local site checkvalidates a site configuration file as a site layer without installing it.eb-local uninstall --targetlimits removal and dependent checks to one CPU target tree.eb-local uninstall --usage-log FILEaskseb-keep-logs used --prefix PREFIX --require-none FILEand removes nothing when that command exits 2. Without--usage-log, uninstall is unchanged.eb-local now generates bash, zsh and fish completion scripts and a man page from the live command help in CI and release builds, so shell integration and command docs are shipped from one source of truth.
Fixes¶
A SIGTERM sent to eb-local alone, as
kill PIDsends it, now stops the build: eb-local passes it on to EasyBuild, as it does SIGINT, SIGHUP and SIGQUIT, andeb-local ebdoes the same. eb-local cleans the logs once EasyBuild has exited, so a secret in the lines EasyBuild writes as it stops is removed too; before, a SIGTERM to the whole process group could leave one there. A build stopped with Ctrl-C now ends with eb-local dying of SIGINT, like one stopped with SIGTERM.A build and
eb-local ebcheck where EESSI-extend will install once it has loaded, and stop with exit 2, beforeebruns, whenEASYBUILD_INSTALLPATHis outside the tree the install variable selects,<prefix>/versionsfor a build, or whenEASYBUILD_INSTALLPATH_SOFTWAREorEASYBUILD_INSTALLPATH_MODULESis set. Before, a site Lmod hook that set an install path, or anEESSI_CVMFS_REPOwith a character such as-, which EESSI-extend matches as a Lua pattern, sent the install and its logs outside the prefix eb-local had checked and cleans of secrets while eb-local said it was installing into that prefix, andeb-local ebpassed a leftoverEASYBUILD_INSTALLPATH_MODULESon to EasyBuild, splitting an install between two trees. Both now say when loading EESSI-extend sets or unsets an install variable, as a site load hook does too late for its own load. A build names each install variable it clears from the caller’s shell, and the refusal of more than one install variable byeb-local ebnames each with its value and what EESSI-extend would do with them: with a user and a project variable, a private user install.A build that cannot load the stack module or EESSI-extend shows Lmod’s reason, such as an unknown module, under
eb-local: could not load <module>:. A build dropped everything a load wrote to stderr, so a module missing fromMODULEPATHand a load hook that failed both read onlycould not load. A load that works stays quiet.A build that does not get a secret no longer gets the variable its
env:source names. Before, the secret stayed out ofeb’s environment, but its value reachedeband the programs it runs under the source’s name, and the logs were not cleaned of it.eb-local --explainsays that the variable stays out too. A variable a secret may not set, such asPATH, stays, since the build needs it.A build,
envanddevin a shell without a module command source EESSI’s own Lmod, from the initeb-local ebsources, when the host has no Lmod init of its own. On a host whose only Lmod is EESSI’s, a build stopped witheb-local: no module command foundandeval "$(eb-local env)"printedmodule: command not found, whileeb-local doctorsaid that nothing stopped a build.doctornow names the init a build sources, and with a site file fails when none of the three can be read; the build’s message names them too.A refused secret source says what is wrong with it:
env:takes a variable name,file:an absolute or~/path, and animvault:entry may not be empty or start with-. Before, each of these drew the message for a value written in place of a source, whichfile:tokenandnimvault:-xare not.A site-wide XALT preload (
LD_PRELOADnaming onlylibxalt_init.so) is aninfoline indoctor, not awarn, and a build drops it without a warning, sodoctor --strictno longer fails for every user of such a site.An empty
~/.local/eessino longer replaces the default prefix~/eessi; only one that holds an install (versions/or.eb-local/) stays in use, so a user with an empty old directory no longer sees the pre-3.0 notice on every command.Enforce
max_depthbefore descending into an installationeasybuilddirectory insecrets.redactTree.Escape leading
.and'characters inesc_roffso roff control lines inside manpage help text are preserved literally.Fall back to
/cvmfs/software.eessi.ioineb-local-readinesswhenEESSI_CVMFS_REPOis empty while still rejecting--repo "".Fall back to
mainwhenDOCS_SOURCE_REForGITHUB_SHAis empty indocs/tools/zig_api.zig.Honor
EESSI_CVMFS_REPOineessi_runpathandfrom_eessiinsidetests/site/dev-tasks.shinstead of hardcoding/cvmfs.Ignore negative CPU identifiers in
mpi.sharedCpuso failedsched_getcpuresults are not reported as shared CPU bindings.JSON output emits one U+FFFD per maximal ill-formed UTF-8 subpart via
zig-common’spytext.decodeReplace.Lmod init discovery in
eb-localandeb-local doctornow requires a readable regular file so a directory at an earlier init path is skipped instead of sourced.Parse
build.zig.zondependency blocks independently of indentation and field order intools/sbom.py.RPATH wrappers now collapse repeated slashes in
EESSI_EPREFIXand library search directories before filtering/lib,/lib64,/usr, and compat paths.Reap child probes in batches in
cvmfs.parallelProbesotasksabove 8 does not overflowpids.Refuse empty
--prefixor--repoarguments with exit status2ineb-local-readinessinstead of resolving""to the working directory.Refuse empty
--project=anddev --buildenv=operands with exit code 2 ineb-local, matching--project ""and--buildenv "".Reject non-regular
.modulerc.luaentries such as FIFOs before reading inmodulerc.runinstead of blocking.Reject reopening a dotted-key table with a
[table]header or extending an explicit[table]via dotted keys intoml.parse.Require a terminating NUL byte in
PT_INTERPsegments duringelfcheck.parseinstead of returning an unterminated string.Require three strict ASCII octal digits for
\oooescapes instorage.unescapeinstead of accepting+,-, or_viaparseInt.Require valid UTF-8 in
sites.validValueso non-UTF-8--setvalues and placeholder defaults are rejected before writing TOML.Resolve
pigzinstallation and module paths withfindintests/site/rtrash-job.shso two-component and three-component EESSI CPU targets both match.Return exit status
2instead of1wheneb-local modulercfails to read an existing.modulerc.lua, distinguishing I/O refusals from--checkdrift (1).Return exit status
2instead of1wheneb-local overlay materialize --checkfails to read an existing materialized recipe orprovenance.toml.Return exit status
2instead of1wheneb-local overlay materializecannot read--overlayor--base, avoiding collision with--checkdrift status1and matchingcheckandsite check.Sanitize fixed-size arrays recursively in
jsonout.utf8Safeso non-UTF-8 string elements encode as JSON strings rather than byte arrays.Sanitize non-identifier characters in the Bash completion function name generated by
tools/cli_assets.pyso scripts load cleanly in POSIX mode.Scope
eb-local overlay materialize[dependencies.replace]edits to actual dependency tuples insidedependencies = [...]rather than matching arbitrary substrings inside prose or comments.Skip run-path and
--disable-new-dtagsinjection whenldwrappers run an incremental-ilink.Strip optional surrounding quotes from values read by
settingintests/site/build-job.shso TOML and legacy site files both parse cleanly.Strip trailing slashes from
EESSI_CVMFS_REPOin theextendlauncher script so error messages andPATHmatchextend.initPath.Support TOML 1.0
"""multi-line basic strings (opening newline trimming and line-ending backslashes) insrc/toml.zigso multi-linerationalefields parse without changing overlay examples.TOML
\uand\Uescapes now require strict ASCII hexadecimal digits, rejecting+signs and_separators.The command reference names its
--explainand--explain ebsections as code; Org’s exporter wrote their--as an en dash. A test fails on any character reference Org writes into a page.The frozen 1.x Bash script now handles
--versionbefore any Slurm checks, soeb-local --versionandeb-local --helpboth exit successfully outside a job allocation.The header line of
eb-local listno longer ends in two spaces; its rows already did not.The refusals of a build’s node-local mount and install prefix, by a build,
eb-local cleanandeb-local doctor, now say what was refused and why, what the command then did not do, and, on the next line, what to change: the setting, with its value and where it was set aseb-local configshows it, or the variable, option or command. Before, most said only that the allocation’s node-local root “must be an owned writable directory” or that paths “must use durable owned storage”, without the path, the setting or the reason. A workspace that cannot be made in a mount that passed the checks names the error the kernel gave, and a setting in a 1.xeb-local.confis shown with its own line. The documentation has a page listing each refusal.Track active symlink expansion bounds in
storage.canonicalso revisited non-cyclic symlinks resolve likereadlink -m.Track triple-quoted strings and bracket depth in
eb-local overlay materializeso[replace],[patches], and[dependencies]only match top-level easyconfig assignments rather than lines inside docstrings or nested expressions.Treat a trailing slash in an
eb-local list NAME/filter as a package prefix match rather than requiring an extra slash afterNAME/.Treat an empty
EB_LOCAL_DOCS_OUTenvironment variable as unset indocs/export.elinstead of exporting into the working directory.Validate
default_profileas a string across every configuration file even when--profileorEB_LOCAL_PROFILEoverrides it, instead of silently ignoring a non-string value.--config=FILEnames a configuration file, as--config FILEdoes. A build passed it toeband read the usual files,envrefused it, andeb-local --config=FILE configran a build of a recipe calledconfig. An empty value after=, as in--project=, is refused as an empty one after a space is; an empty--project=made the current directory the project.--jsonoutput encodes non-UTF-8 paths and text as UTF-8 replacement strings rather than integer arrays.cmdBuildnow removes the newly created build workspace directory and includes the OS errno viastorage.describeErrorwhen creating workspace subdirectories fails.config.loadnow rejects emptyprefixandprojectstrings in configuration files instead of lettingprefix = ""resolve to the current working directory.config.validSecretNamenow refusesSHELLOPTSandBASHOPTSalongsideBASH_ENVandENVso secret entries cannot inject shell startup options into build commands.cvmfs.readProxynow recognizesexportfollowed by a tab as well as spaces beforeCVMFS_HTTP_PROXYin client configuration files.cvmfs.readProxynow treats an emptyCVMFS_HTTP_PROXY=""orCVMFS_HTTP_PROXY=assignment as clearing any earlier file-configured proxy instead of preserving the previous value.cvmfs.readProxynow trims surrounding spaces and tabs inside quotedCVMFS_HTTP_PROXYvalues so" DIRECT "resolves as direct mode and whitespace-only values clear earlier settings.devwith theLLVMmodule no longer letsclanglink without run paths. The module setsEBROOTLLVM, not the variable ofllvm-compilers, sodevloads the GCC build environment, whose wrappers do not coverclang; a programclanglinked failed when it started, anddevsaid nothing. Whichever build environment loads,devnow puts RPATH wrappers first for eachclang,clang++,flang,flang-newandld.lldthat no wrapper covers, and says so, as the 3.0.0 note promised that a program never links without run paths.eb-local rpath-wrappers --unwrappedprints those lines alone.doctor --workspacereportsexecute=failedinstead of aborting when anoexecmount blocks probe execution.eb-local --explain eb [--] [eb options]prints the scripteb-local ebruns, after aset --line with its arguments, and runs nothing; it ran the launcher.--explainwith any command other than a build orebis refused with exit 2, where it was ignored and the command ran:eb-local --explain clean --deletedeleted logs, andeb-local --explain submitsubmitted jobs.eb-local --explainand outside-job refusal messages now use ANSI-C$'...'single-line quoting when paths or arguments contain newlines so generated# sbatch ...comment lines never spill uncommented lines.eb-local --helpnamesdev --buildenv MODULEandclean --no-logs, which the program took without listing them, and says thatebtakes none of--profile,--projectand--config, which it refuses.eb-local check --devnow verifies that paths built fromEESSI_VERSION,EESSI_SOFTWARE_SUBDIR, andEESSI_ACCELERATOR_TARGETremain strictly inside<prefix>/dev.eb-local check --jsonnow suppresses human-readable stdout lines even when--quietis omitted, emitting one valid JSON report line on stdout when problems or unreadable files are found.eb-local check --modulenow deduplicates installation roots before auditing ELF files, so repeating a module argument no longer audits files twice or doublesproblem_countandelf_count.eb-local checknow deduplicates positional file arguments and symlink aliases by canonical path, so repeating a file or passing a symlink to an already-checked binary no longer audits it twice or doubleself_countandproblem_count.eb-local checknow expands$ORIGINand${ORIGIN}inDT_NEEDEDentries that contain/, so plain and--recursivechecks resolve and audit those shared libraries.eb-local checknow rejects repeated--prefixflags with exit code 2 instead of silently discarding earlier--prefixvalues.eb-local checknow resolvesincludepatterns and directory entries in<root>/etc/ld.so.confrelative to the ELF loader’s compatibility-layer root instead of the host filesystem or current working directory.eb-local checknow trims trailing slashes fromEESSI_SOFTWARE_SUBDIRbefore checking run paths against the current target tree.eb-local checknow trims trailing slashes onEESSI_EPREFIXbefore checking whether an ELFPT_INTERPloader sits inside the EESSI compatibility layer.eb-local cleanandeb-local uninstallsayclean.trash is none, with where it was set, when that setting keeps them from removing anything without--delete; they saidrtrash is not installedeven with rtrash onPATH.eb-local cleannow rejects combining--no-logswith--logs-older-thanand rejects repeated--logs-older-thanflags with exit code 2.eb-local cleanremoves read-only directory trees and reports accurate removal counts and exit status on partial failures.eb-local cleanwaits on the prefix lock while cleaning logs or sources and retains workspaces locked by active builds.eb-local config --get eessi.<NAME>now exits 1 with empty stdout when the configured[eessi]entry is empty, matching all other scalar keys and the documented--getcontract.eb-local configgives eachbuild.targetsentry the line that sets it; every entry showed the line of the[build.targets]header.eb-local confignow rejects repeated--getflags with exit code 2 instead of silently discarding earlier--getkeys.eb-local doctor --cvmfsnow strips inline#comments and unquotesCVMFS_HTTP_PROXYvalues when trailing comments are present in CernVM-FS client configuration files.eb-local doctor --mpinow builds its two-rank hello in a private temporary workspace under$TMPDIRor/tmpinstead of.zig-cache/in the current working directory, leaving the working directory clean and working when it is read-only.eb-local doctor --mpinow writeshello.cviaatomicWriteand reports write failures as a warning instead of mapping filesystem errors toOutOfMemory.eb-local doctor --workspacenow reportsFAILand exits 1 when the workspace mount has zero free bytes or zero free inodes.eb-local doctorandbuild.clear_foreign_prefixesnow resolve both paths and approved prefixes through symbolic links, keeping entries inside symlinked approved prefixes while flagging and scrubbing symlinks that point outside them.eb-local doctorno longer warns aboutEASYBUILD_INSTALLPATHandEASYBUILD_PREFIXin a shell that raneval "$(eb-local env)". Once the prefix exists,envloads EESSI-extend, which sets both for that prefix, anddoctorcalled them left over from an earlier session. They still draw the warning when EESSI-extend is not loaded or the install path is outside<prefix>/versions.eb-local doctornow canonicalizesMODULEPATHentries before checking whether they live under the resolved installation prefix, avoiding false warnings when the prefix is reached through a symbolic link.eb-local doctornow checks prefix free bytes and free inodes and inspects the nearest existing ancestor when a user prefix has not been created yet, reporting read-only, unwritable, and full filesystems asFAIL.eb-local doctornow rejects repeated--workspaceflags with exit code 2 instead of silently discarding earlier--workspacevalues.eb-local doctornow selects the last covering/etc/localtimeentry in/proc/self/mountinfowhen reporting host timezone bind mounts.eb-local doctornow verifies that the EESSI init file is a readable regular file instead of reportingokwhen the path is a directory or unreadable.eb-local doctorreads each secret as a build would, without showing its value, and says FAIL when one cannot be read: a build reads every secret before it starts, so one missing source stops every build, including builds that do not use it. Before,doctorended with “Nothing above stops a build.” and the next build stopped on the secret. It warns, as a build does, about a secret too short to be removed from logs.eb-local doctorsays thateb-local ebstops whenEESSI_PROJECT_INSTALLnames no directory, since EESSI-extend then refuses to load; it saidokand named the variable as the project installeb-local ebwould make. As for its other checks ofeb-local eb, that is aFAILwithout a site file and awarnwith one.eb-local doctorsays when the shell has a module command but no directory onMODULEPATHholdsstack.module, and names themodule useline that adds EESSI’s module directory: aFAILwith a site file, awarnwithout one. Before, it said that nothing stops a build, and each build stopped at once withcould not load EESSI/2026.06, since a build keeps the shell’s module command andMODULEPATH.eb-local doctorwithout a site file checks whateb-local ebneeds, the EESSI init and at most one install variable, and no longer exits 1 because builds in a job need a site file. The exit status changes only in that case: with a site file, what stops onlyeb-local ebis a warning.eb-local eb -- --helprunseb --help: every argument after--goes to EasyBuild, as the help says.--helpand-hprinted eb-local’s help instead, and--project,--profileand--configstopped the command, wherever they came. Before--,eb-local eb --helpstill prints eb-local’s help.eb-local ebno longer setsWORKING_DIR=/tmpwhen it is unset, so EESSI-extend uses its own default,/tmp/$USER, and EasyBuild builds under/tmp/$USER/easybuild. With/tmp/easybuildshared, the first user’s build made it with umask 077, and every other user’seb-local ebon that node failed withPermission denied.eb-local ebnow checks that the EESSI init script is a readable regular file and exits 2 before sourcing it.eb-local ebnow dropsBASH_ENV,ENV,SHELLOPTS, andBASHOPTSbefore invoking bash, matchingeb-local <recipe>so caller startup scripts and shell options do not run inside the launcher shell.eb-local ebnow normalizes repeated and trailing slashes on the expected install root andEASYBUILD_INSTALLPATHbefore comparing them, soEESSI_USER_INSTALL,EESSI_PROJECT_INSTALL,EESSI_SITE_SOFTWARE_PATH, andEESSI_SOFTWARE_PATHvalues with a trailing slash match Lmod’s normalized install path.eb-local ebsays what to change when the EESSI init is missing, as its other refusals do: setEESSI_CVMFS_REPOorEESSI_VERSIONif EESSI is elsewhere. It said onlyeb-local: missing INIT.eb-local list --jsonnow populatesmissing_on_nodeandhintwhenEESSI_SOFTWARE_SUBDIRselects a CPU target with no installed tree yet, matchingeb-local list --missingand the text output.eb-local list --jsonrecords--jsonas an output flag rather than a module name filter.eb-local listnow trims trailing slashes fromEESSI_SOFTWARE_SUBDIRbefore matching CPU target trees, solistandlist --missingrecognize the current node whenEESSI_SOFTWARE_SUBDIRends with/.eb-local lmod-cache --prefixnow falls back tostatAtwhen directory entries reportDT_UNKNOWN, allowing CPU and accelerator target discovery on filesystems withoutd_typesupport.eb-local lmod-cache --prefixnow validates--eessi-versionas a single directory name and rejects.,.., and path separators with exit code 2 before walking<prefix>/versions.eb-local lmod-cache --verifynow clearsBASH_ENV,ENV,SHELLOPTS, andBASHOPTSbefore invokingbashto inspect module inventories, preventing caller shell startup hooks from corrupting verification output.eb-local lmod-cache --verifynow installs the verifiedspiderT.luaviaatomicWriteand rolls back the cache file and any newly created cache directory if updating--timestampfails.eb-local lmod-cacheexits 2 without updating caches when--prefixis combined with single-target options.eb-local lmod-cachenow exits 2 when--spideris passed with--prefix, or when--eessi-versionor--update-cmdis passed without--prefix, matching the existing validation for--modulepath,--cache-dir,--timestamp,--verify, and--dry-run.eb-local lmod-cachenow opens the timestamp file withO_NOFOLLOW, refusing symbolic links without clobbering their targets and rolling back any newly written cache file.eb-local lmod-cachenow writesspiderT.luaviaatomicWriteand rolls back the cache file and any newly created cache directory when writing or updating the timestamp fails.eb-local modulerc --checkand--dry-runnow refuse a symbolic-link.modulerc.luawith exit code 2 instead of reading through it, matching the write path’s symlink refusal.eb-local modulercnow refuses an existing.modulerc.luacontaining NUL bytes with{path}:{line}: the file holds a NUL byteand exit status 2 instead of writing or printing NUL bytes.eb-local modulercnow refuses symbolic links at.modulerc.luabefore opening them in write mode as well as--checkand--dry-run.eb-local modulercnow trims surrounding spaces and tabs when matching existing lines, preventing duplicate directives when.modulerc.lualines carry leading indentation or trailing whitespace.eb-local modulercnow validates--default,--hide, and both sides of--alias NAME=MODULEwithconfig.validModule, rejecting invalid module names with exit code 2.eb-local modulercnow writes.modulerc.luaviaatomicWriteand cleans up any newly created module tree directory on failure, refusing to replace symlinks and leaving no.newtemporary file behind.eb-local overlay materialize --checknow refuses symbolic links atmaterialized-<base>orprovenance.tomlwith exit code 2 instead of reading through them.eb-local overlay materializemeasures leading indentation directly so trailing spaces or carriage returns on easyconfig lines stay valid.eb-local overlay materializeno longer treats==comparisons in easyconfigs as parameter or array assignments.eb-local overlay materializenow consumes all continuation lines of multi-line parameter assignments when[replace]substitutes a parameter.eb-local overlay materializenow escapes backslashes, control characters, and consecutive or trailing quotes insideprovenance.tomlrationaleand string fields, ensuring valid TOML output.eb-local overlay materializenow exits 2 when an overlay file contains unknown top-level keys or unknown subkeys under[dependencies], catching typos instead of silently writing an unedited easyconfig.eb-local overlay materializenow includes the overlay file path and line number on every parse or schema refusal.eb-local overlay materializenow inserts commas before any trailing inline#comment when appending todependenciesorpatches, avoiding bare leading commas in materialized easyconfigs.eb-local overlay materializenow reports stdout write errors on stderr instead of exiting1silently.eb-local overlay materializenow writes both outputs viaatomicWriteand rolls back the materialized easyconfig and any newly created output directory if writingprovenance.tomlfails.eb-local overlay materializeomits duplicate commas when appending entries to easyconfig lists that already end with a comma.eb-local overlay materializereports the failing parameter, dependency, or list diagnostic on stderr when an overlay edit fails to apply.eb-local overlay materializeskips Python string literals and comments when matching easyconfig list brackets.eb-local overlayforwards every argument after--directly toeb-stack.eb-local overlayrejects unknown options and misplaced flags before--with exit 2 instead of silently discarding them.eb-local profilesin text mode now counts printed profiles instead of checkingrows.items.len, sono profiles are definedis printed only when zero profiles exist.eb-local rpath-wrappersnow formats directory setup and wrapper write failures throughstorage.describeError, reporting OS errno descriptions alongside the failing wrapper path.eb-local rpath-wrappersnow strips all trailing slashes from library directories andEESSI_EPREFIXbefore filtering compatibility-layer paths and emitting-rpathflags.eb-local site installnow refuses a directory--totarget before checking--forceand suggests passing a file path such asDIR/config.toml.eb-local site installnow refuses live and dangling symbolic link targets up front with exit 2 instead of prompting for--force.eb-local site showandeb-local site installnow exit 2 when a site template contains an unclosed or invalid{{...}}placeholder instead of silently writing literal{{...into the output configuration.eb-local site showandsite installname every placeholder that has no default, in one message, in the order the template writes them.slurmtherefore asks for--set node_local_root=VALUEand--set shared_scratch=VALUEtogether.eb-local site showandsite installname the template and its line when a rendered value does not load, as intemplate slurm:10: storage.node_local_root must be one absolute path without a trailing slash. They named the file install would write,config.tomlbeside the program by default, which is the site file in use, though neither command had written it.eb-local sitenow formats read and write fallback errors withstorage.describeErrorso diagnostics include OS errno text alongside the target path.eb-local sitenow rejects repeated--toflags with exit code 2 instead of silently overwriting earlier--totargets.eb-local submit --onnow deduplicates repeated node-type names, so listing the same node type more than once generates and submits one job per target.eb-local submitnow double-quotes#SBATCH --outputand#SBATCH --chdirdirective values when the path contains spaces or quotes sosbatchdoes not split them on whitespace.eb-local submitnow includes OS errno descriptions viastorage.describeErrorwhen creating.eb-local/jobsor.eb-local/logsfails.eb-local submitnow rejects unknown flags before the recipe name with exit code 2 instead of forwarding them as the recipe name, while still passing flags after the recipe toeb.eb-local submitnow stops immediately and propagates the signal whensbatchorsubmitis interrupted by a signal, matching the other attached commands instead of submitting remaining targets and exiting 1.eb-local uninstall --deletenow formats removal failures withstorage.describeErrorso permission and filesystem errors include the OS errno description.eb-local uninstallandeb-local restoreacquire the prefix lock when modifying installations and release it on every exit path.eb-local uninstalldeduplicates repeated module arguments so installations and module files are removed cleanly on the first pass.eb-local uninstallnow detects single-quoteddepends_on('...')andload('...')dependency lines in Lua modulefiles alongside double-quoted calls.eb-local-readinessnow checks that--mountinfois a regular file and handles non-UTF-8 bytes cleanly withFAILand exit status 1 instead of hanging on a FIFO or crashing withUnicodeDecodeError.eb-local-readinessnow compares canonical mount target lengths so a covering mount at a shorter real path overrides an earlier mount entry using a longer symlink alias.eb-local-readinessnow resolves symbolic links withos.path.realpathwhen comparing--prefix,--repo, mount points, andMODULEPATHdirectories.eb-local-readinessnow selects the latest covering mount entry inmountinfowhen multiple mounts share the same target path, matchingstorage.mountOfwhencvmfsoverlaysautofs.eb-localaccepts--logs-older-than=DAYSinclean, matching--project=DIRanddev --buildenv=MODULEalongside the Zig binary.eb-localaccepts=VALUEforms for--for,--set,--to, and--logs-older-thanas documented.eb-localaligns itsenvoption refusal diagnostic withsrc/main.zigso invalidenvarguments emit the same stderr line on both front ends.eb-localapproves$XDG_CACHE_HOME/eb-localfor RPATH wrappers even whenHOMEis unset.eb-localbuilds now check free bytes and free inodes on the install prefix filesystem before creating a job workspace and stop with exit code 2 when either is 0.eb-localchecks guardedSIGINTandSIGTERMarrivals before forking child processes and removes unused pre-launch workspaces when signalled beforeebstarts.eb-localchecks log directory writability before building and removes the workspace when durable directory setup fails.eb-localevaluatesvalid_module,--logs-older-than,SLURM_JOB_ID, and workspace regexes underLC_ALL=Cviac_matchso Unicode letters and digits underLANG=en_US.UTF-8are refused likesrc/main.zigandsrc/config.zig.eb-localignoresSIGXFSZwhile replacing log files during secret redaction soRLIMIT_FSIZEfailures reportEFBIGand sibling logs continue redacting.eb-localnames the log or installation directory and OS error reason when top-level secret redaction fails.eb-localnames the target path and OS error reason when installation prefix, log, mountinfo, or submit-job file operations fail.eb-localparseseb-local.conflines in a single pass before value validation by splitting on the first=, reportingline N: cannot read the lineonly when=is omitted andline N: unknown settingfor unrecognized keys to matchlegacyToTomlinsrc/config.zig.eb-localprefixes--buildenvvalidation refusals with--buildenv:to matchsrc/config.zig.eb-localprints its version when--versionis the first argument (matchingsrc/main.zig), refusing--versionafter subcommands or--envwith exit2and forwarding it toebin build mode.eb-localprints one warning and proceeds unlocked whenflockreturnsENOLCK,ENOTSUP,EOPNOTSUPP, orENOSYS.eb-localquotes the project path in itsmkdir -phint for a missing project directory the way the Zig binary does.eb-localrecognizes--envonly inside thebuildbranch before any positional recipe argument so non-build subcommands reject extra--envflags with their existing refusals matchingsrc/main.zig.eb-localrecognizesenv,dev, andcleansubcommands when--projectprecedes them so Bash option ordering matches the Zig binary.eb-localrejects combining--no-logswith--logs-older-thanincleanwith exit2, matching the Zig binary.eb-localrejects duplicate keys ineb-local.confafter syntax parsing and before value validation with Zig’s exactlineand TOML key diagnostic ('<toml_key>' is set twice (first on line <N>)).eb-localrejects repeated--logs-older-thanoptions incleanwith exit2(clean takes one --logs-older-than), while refusing empty--logs-older-than=first to matchjoined()before the duplicate check insrc/main.zig.eb-localreports unreadable log directories and preserves OS error details in secret-redaction warnings while continuing to redact sibling logs.eb-localserializes concurrent builds on the same prefix throughstorage.acquireBoundedLockwith a boundedflockwait, stderr notice, and timeout exit 2.eb-localuses one shared helper (opt_value) for--project,--buildenv, and--logs-older-thanso separated and joined empty or omitted values print<opt> needs a value(exit 2), matchingsrc/main.zig.eb-localvalidateseb-local.confvalues grouped by TOML table in first-appearance order and formats diagnostics as<file>:<line>: <toml_key> ..., matchingsrc/config.zig.eb-localvalidates legacyeb-local.confpaths, mount patterns, and filesystem types throughc_matchso Unicode characters underLANG=en_US.UTF-8are refused likesrc/config.zig.elfcheck.isHostPathnow collapses repeated leading slashes before matching/lib,/lib64, and/usr, soeb-local checkcatches host libraries resolved through paths such as//usr/lib64.elfcheck.parsenow uses checked integer addition when matchingDT_STRTABbounds againstPT_LOADsegments so wrapping ELF headers are rejected as damaged.env --strict,EB_LOCAL_ENV_STRICT=1, anddev --strictnow emit anelif [[ ! -f $init || ! -r $init ]]guard in the strict prelude so a non-regular or unreadable EESSI init path exits 2 instead of proceeding tomodule load.extend.initPathnow trims trailing slashes fromEESSI_CVMFS_REPObefore building the/versions/.../init/lmod/bashpath reported byeb-local doctorandeb-local eb.gccBuildenvnow matches GCC toolchain names at/and string boundaries asllvmToolchaindoes, recognizingbuildenv/foss-...,foss/..., andGCCcore/...build environments.jsonout.emitnow checkscommon.sys.writeAllon stdout, printseb-local: cannot write JSON output (...)to stderr, and exits 1 when writing fails (such as onENOSPC).jsonout.utf8Safenow uses Zig 0.17ptr.attrs.@"const"and sanitizes mutable and sentinel-terminatedu8slices instead of failing comptime field lookup onptr.is_const.lmod-cache --verifynow accepts Lmod terse category headers, status markers and alias lines.lmod-cache --verifyremoves empty newly created cache directories on failure and exits 127 whenmoduleis missing.lmodcache.moduleDirsnow deduplicates repeated directories in--modulepathwhile keeping first-seen order sospiderreceives each module tree once.mpi.parseRanksnow parsesrank,size,cpu, andcpusfields starting athello rank=instead of from the start of the line.openConfignow formats configuration and template open failures withstorage.describeError, reporting OS errno messages alongside the target path.rpath.writenow refuses a symlinked or foreign-ownedeb-localparent directory before creating or writing compiler RPATH wrappers.rpath.writenow writes compiler wrappers before writing the.eb-local-rpathmarker and removes any newly created wrapper directory on failure, so failed runs leave no poisoned marker directory behind.secrets.resolvenow reports OS errno descriptions viastorage.describeErrorwhenfile:ornimvault:secret sources fail to open, read, or run.secrets.resolvenow requiresHOMEto be non-empty and absolute when expandingfile:~/...secret sources andnimvault.vaultpaths starting with~/.sites.rendernow validates default values in{{name:default}}placeholders withvalidValue, rejecting defaults that are empty or break out of TOML strings.src/rpath.zigincludes--help=*among info-only compiler flags in its generated wrapper script soLIBRARY_PATHand-Lrun paths are not appended to--help=targetqueries.src/rpath.zigsetslink=0in its generated wrapper script for LLVM and Intel info-only queries (-help,--help-hidden,-version,-dumpmachine,-print-*) and non-linking actions (--analyze,--precompile,--preprocess,-emit-ast,-emit-pch) even when combined with--target=....storage.lockTimeoutMsnow requiresEB_LOCAL_LOCK_TIMEOUT_MSto consist strictly of ASCII digits, rejecting leading+signs and_separators.storage.undernow treats/as an ancestor of any absolute path instead of returningfalsewhenpathis not"/".toml.parsenow rejects a leading UTF-8 BOM cleanly, reports the exact line number for NUL and non-UTF-8 bytes, and reports unclosed single-line strings on CRLF endings.toml.parsenow rejects unescaped0x7f(DEL) bytes inside basic and literal strings as control characters, matching TOML 1.0 andsites.validValue.tools/cli_assets.pyextracts subcommands and sub-actions fromeb-local --helpwithout leaking description prose into generated shell completions.tools/cli_assets.pywrites each completion and manpage asset through a staged temporary file that rejects symlinks and rolls back earlier writes on failure. Filesystem errors print acli_assets:diagnostic on stderr and exit1instead of raising an unhandled traceback.
Documentation¶
“Build for every node type” in the README uses one set of node types,
cpuandgpu, in its[build.targets]example and in itssubmit --on gpucommand. The command named a target the example lacked, and exited 2.A build or
eb-local ebthat stops on an install path EESSI-extend moved, or on an install variable a load sets, names the page “Where EESSI-extend installs” by its address, https://stackhands.github.io/eb-local/explanation/install-variables.html, rather than a section of the README.Add
docs/orgmode/reference/readiness.orgto documenteb-local-readinessoptions, output prefixes, and exit codes, register it in the reference index, and note the--prefixrequirement infind-what-is-wrong.org.Add the missing doc comment for
lmodcache.Optionsso the declaration lint and CI tests pass.Aligned the
--jsonoption summary andlist/configJSON descriptions indocs/orgmode/reference/cli.organddocs/reference/cli.mdwith the JSON schemas and emitted fields.An inline source block in an Org page, such as
src_sh{eb-local env}, comes out as code in the pagedocs/export.elwrites. It came out empty: Org’s Babel exported its results by default, and a batch export runs nothing.Clarify in the
doctorsection ofdocs/orgmode/reference/cli.organddocs/reference/cli.mdthat--jsonexits 1 whenfailedistrue(eitherFAILor a warning under--strict).Document
--strict(andEB_LOCAL_ENV_STRICT=1with exit status 2) in theenvsection ofdocs/orgmode/reference/cli.organddocs/reference/cli.md.Document that
eb-local lmod-cache --verifyexits 127 whenmoduleis missing and 1 on inventory failures.Document the EESSI, Lmod, and CernVM-FS environment variables read by
eb-localinenvironment.org.Document the
doctor --cvmfs,--cvmfs-parallel, and--mpiflags in thecli.orgsynopsis, update the post-v3.1.0 additions summary, and listlmod-cacheexit 1 cases.Documents the recipe overlay file format, the overlay command, and a how-to for rebasing site recipe changes.
Every
pubdeclaration in the source has a doc comment, so each entry in the API reference says what the declaration is for, and a test fails when one is added without.List
SHELLOPTSandBASHOPTSamong the refused secret variable names in the configuration reference (docs/orgmode/reference/configuration.organddocs/reference/configuration.md), matchingsrc/config.zig.Match the exact
eb-local lmod-cachemissing-mode error message inrefresh-the-module-cache.org.The CLI reference now states that it documents
main, and it records that no flags were removed or renamed sincev3.1.0.The README has a how-to for a site Lmod hook. Build, source and temporary paths from a hook work; an install path from a hook bypasses eb-local’s checks and its cleaning of secrets from logs; and a default install prefix cannot come from a load hook, so a site that wants one sets it in the environment and as
prefixin its site file. The README also says why the default prefix is$HOME/eessi.The README opens with when
module load EESSI-extendandebare enough, and the four things eb-local adds.The README says why
dev’s programs get their run paths: the modules setLIBRARY_PATHand the build environment’sgccandldwrappers read it when the program links, so the order the modules load in does not matter, and one realgccorldahead of the wrappers does no harm. It no longer gives keeping a compiler’sgccorldbehind the wrappers as the reason the build environment loads last, and says “RPATH entries” where it said “RUNPATH”: the cluster test found DT_RPATH entries.The README’s
eb-local listtranscript is aconsoleblock, so the documentation builds with warnings as errors again: as anshblock, the apostrophe in its output stopped the highlighter, andsphinx -Wfailed.The configuration reference says that
eb-local doctorreads every secret, aseb-local config --checkdoes, and that a build that does not get a secret fromenv:VARIABLErunsebwithout VARIABLE.The configuration reference shows a user file with profiles and what
eb-local profilesandeb-local --profile gpu configprint for it. It also notes thateb-local configshows each[eessi]value. The README’s Configuration section points to the reference, the environment variables and the site file how-to in place of repeating them.The documentation has a Contributing page, with the tests, the news fragments, the site acceptance scripts in
tests/site/, how to build the pages and how to write one, and a Changelog page that showsCHANGELOG.md. The README’s Test section points at the Contributing page.The documentation has a page on where EESSI-extend installs under each install variable and each mix of them, as the module did under Lmod, on the trap a variable left from an earlier session sets, and on what eb-local checks. Pages besides the README are written in Org under
docs/orgmodeand exported to the MyST pages Sphinx builds withemacs --batch -Q -l docs/export.el, which needs only the Markdown backend Org has; a test checks the committed pages against a fresh export where Emacs is installed.The documentation has four sections, each with an index page: tutorials, how-to guides, explanation and reference. The front page is written from
docs/orgmode/index.org, as the other pages are, and says where to read for what. The tutorial is eb-stack’s, which the tutorials page links.The explanation “Where a build puts things, and why” holds the README’s “Where things go”: what goes in the workspace and what in the prefix, why the work happens on a node-local mount of the job’s own, why installs, sources and logs stay in the prefix, and why the default prefix is
$HOME/eessi, with the notice a pre-3.0$HOME/.local/eessigets.The explanation “eb-local and eb-stack” says what each tool does, that an eb-stack EESSI-extend target runs eb-local with
EB_LOCAL_EESSI_EXTEND=1while eb-local never runs eb-stack, why the split falls at one build, and which tool a task needs; how eb-stack plans and finds gaps stays in its own documentation.The find-what-is-wrong how-to says release 3.1.0 does not ship
eb-local-readiness, and installs the script from a pinned main commit or a checkout instead of a missing release URL.The generated how-to pages for install and find-what-is-wrong are refreshed from their Org sources with
docs/export.el, so the committed Markdown matches what the documentation export test checks.The help, the README, the 3.0.0 release note and the refusal of
eb-local ebsay that at most one ofEESSI_USER_INSTALL,EESSI_PROJECT_INSTALL,EESSI_SITE_INSTALLandEESSI_CVMFS_INSTALLmay be set, where they said exactly one: with none set, the command runs and the module installs under$HOME/eessi.The how-to “Build for every node type” lists the node types in the site file, prints and runs the
sbatchlineeb-local --explaingives for each, checks the jobs, and coverseb-local submituntil 4.0.0. The tests that ran the README’s node types andsubmitcommands now run those of the page, and check that thesbatchline it runs is one--explainprints. The README points to the page.The how-to “Clean up after builds, and remove what you installed” covers
eb-local clean, the workspace a failed build keeps,eb-local uninstallandeb-local restore, with what each prints; the reference has the details the README had.The how-to “Compile your code against EESSI” builds a program with
eb-local devfor one node type, checks it witheb-local check, runs it from a job script, and lists the other kinds of code and compilersdevhandles; its failure table includes the unbound variable EESSI’s Lmod init stops aset -uscript on. The page “Run paths, and one build per CPU target” says why a program built so needs noLD_LIBRARY_PATH, why the wrappers recordRPATH, and why each CPU target needs its own build. The reference lists each problemeb-local checkreports. The README points to both pages.The how-to “Find what is wrong with a build or a module” reads
eb-local doctorandeb-local list, and the CPU targets a module is built for; the reference lists whatdoctorchecks. A test checks eachdoctorline the how-to guides show against the messages in the code.The how-to “Install eb-local” has the steps to install a release, with its checksums and attestations, or to build from source, what the main branch has that release 3.1.0 lacks, and what to do when a step fails. The README points to it, and the reference describes the frozen 1.x Bash script.
The how-to “Install software on top of EESSI with EasyBuild” finds a recipe with
eb-local eb -- --search, builds it in an allocation, loads it, builds into a project directory for a group, checks the result witheb-local list, and says what each failure means, including the reason Lmod gives when a module does not load. The reference says which Lmod init a build sources, and the page on run paths which CPU target eessi-arch-guard gives a build. The README points to the how-to.The how-to “Install the modules EESSI lacks, found with eb-stack” runs eb-stack’s gap on a list of a site’s modules against EESSI’s module tree and EasyBuild’s easyconfigs, and installs the recipes it names with one
eb-localbuild each, pointing to eb-stack’s guides for what the gap means.The how-to “Load EESSI and the software you installed” loads EESSI and EESSI-extend with
eb-local envin a shell and in a job script, for a user prefix or a project, carries the settings into a job or a container witheb-local config --env, and checks the result witheb-local doctor. The README’s section on the configuration as variables points to it.The how-to “Run EasyBuild through EESSI-extend without a site file” installs with
eb-local ebinto your home, another directory or a project, and from a program that passes only eb’s arguments; the reference has the install modes and the details the README had, and says that the printed build script runs withWset to a workspace a build made.The how-to “Set a site’s EasyBuild defaults and default prefix” holds the README’s site Lmod hook, with checks of the paths it gives EESSI-extend loaded by hand,
eb-local eband a build, and a login script that sets another default prefix and creates it, since EESSI-extend refuses a user directory that does not exist; a test runs that script and checks thatdoctoraccepts the prefix it sets.The how-to “Write the site file for a cluster” renders the
slurmtemplate with a site’s values, installs it beside the program, adds what the template has no placeholder for, keeps a site’s own template, checks the result witheb-local configand witheb-local doctorin a job, and says what each refusal on the way means. A test runs thesite list,site showandsite installcommands it shows and compares their output with the page. The README points to it.The new explanation page “What happens to a secret” says when a build reads a secret, which builds get it, where its value goes and how the logs are cleaned of it. It also covers what a stopped build and a kept workspace leave behind, and how nimvault runs. The README’s Secrets section points to it.
The no-site-file how-to now shows the
doctoroutput that release 3.1.0 and main print (FAIL no site file sets storage.node_local_root, so builds cannot run) and explains that this is expected whileeb-local ebstill works without a site file; install docs now also say that./eb-local --versionin a checkout is the frozen Bash compatibility script, not the installed Zig binary.The reference describes the
eb-localcommand: its synopsis, the usageeb-local --helpprints, its options, each command with its own options, and the exit statuses. A test fails when the page’s copy of the usage differs from what the program prints, or when the page leaves out an option or a command.The reference describes the configuration files: where eb-local looks for them, which owners and permissions it accepts, the order of the layers, how a profile is chosen, and each setting with its value, default and meaning. A test fails when a setting
eb-local configshows has no row on the page, or when the page’s default differs from what it prints.The reference has the API of each component, written from the doc comments as the site is built: a page for each source file, with each
pubdeclaration linked to its source line, and the Zig autodoc site atapi/, whichzig build docsmakes. Building the documentation now needs Zig 0.17.1 onPATH. “Edit this page” opens a page’s Org source.The reference lists the environment variables eb-local reads, with the setting each one replaces, and the variables
eb-local env,eb-local devand a build set or clear. A test fails when the page leaves out anEB_LOCAL_*variable the program reads, names one it does not, or leaves out a variable a build sets orenvunsets.The reference says that
env --strictanddev --strictend the shell that evaluates their lines when the EESSI init file is absent, and thatEESSI_VERSIONandEESSI_CVMFS_REPOchoose only the Lmod init file forenvanddev: the stack those lines load isstack.module.Updated
docs/orgmode/reference/refusals.organddocs/reference/refusals.mdso the workspace creation failure example shows([Errno 28] No space left on device)as printed by the built binary.Updated the
write-a-site-filehow-to page so its symlink refusal row matches the messageeb-local site installprints (FILE is a symbolic link; pass a regular file path).docs/export.elwrites no blank at the end of a line. Org’s Markdown indented the empty lines of a list item, such as those around a code block in a numbered step, and the whitespace hook then changed the written page, which no longer matched its Org source.
Removals¶
A user build no longer passes
--umask=022to eb. It runs with the umask EESSI-extend sets for a user install, 077, and the sticky bit, aseb-local ebdoes, so the modules in$HOME/eessihave the same permissions whichever of the two built them. Installs made before keep their modes. To share installs, use--project; where others must read a user install, pass--umask=022among eb’s options.The Bash script
eb-local, 1.x, is frozen: it gains no commands, and it is removed in 4.0.0, as is the test suite’s default run against it. Its help says so. The eb-local program has its commands and reads the sameeb-local.conf.The
nimvault:secret source is deprecated, warns on each build that uses it, and is removed in 4.0.0;file:andenv:serve any vault.The worked example of a real site’s file is gone from
examples/sites/; a site keeps its own site file in a repository of its own, and installs it witheb-local site install FILEas before.examples/sites/example.tomlis a worked example for a site that does not exist. The release notes of earlier releases no longer name the site.[build.targets]in the site file is now[build.node_types], as the documentation calls its entries; a target is already a CPU target ineb-local listandeb-local check. eb-local reads the old name until 4.0.0 and warns where it does, and refuses a file that has both.eb-local configshows the entries asbuild.node_types.NAME.eb-local submitis deprecated and is removed in 4.0.0; it says so when it runs, and otherwise works as before.eb-local --explain RECIPEprints thesbatchline for each node type the site lists;[build.node_types]stays.
Miscellaneous¶
A test checks each
eb-local:line the how-to guides show against the messages in the code, so a reworded message fails until the guides show the new words.Add black-box CLI tests for
eb-local checkflag and refusal parity intests/test_check_cli_flags.py.Add black-box CLI tests for
eb-local cleanfilters, age bounds, and refusals intests/test_clean_cli_modes.py.Add black-box CLI tests for
eb-local configmodes,--get,--env, and--checkintests/test_config_cli_modes.py.Add black-box CLI tests for
eb-local devmodule validation and warnings intests/test_dev_cli_modes.py.Add black-box CLI tests for
eb-local doctoroption validation, environment warnings, and init checks intests/test_doctor_cli_modes.py.Add black-box CLI tests for
eb-local ebandEB_LOCAL_EESSI_EXTENDintests/test_eb_cli_modes.py.Add black-box CLI tests for
eb-local envand--envintests/test_env_cli_modes.py.Add black-box CLI tests for
eb-local listfilters, multi-version labels, and refusals intests/test_list_cli_modes.py.Add black-box CLI tests for
eb-local lmod-cachemodes and path validation intests/test_lmod_cache_cli_modes.py.Add black-box CLI tests for
eb-local modulercerror handling and JSON idempotency intests/test_modulerc_cli_errors.py.Add black-box CLI tests for
eb-local overlayaction dispatch andeb-stackforwarding intests/test_overlay_eb_stack_cli.py.Add black-box CLI tests for
eb-local profilesintests/test_profiles_cli.py.Add black-box CLI tests for
eb-local restoreintests/test_restore_cli.py.Add black-box CLI tests for
eb-local rpath-wrappersintests/test_rpath_wrappers_cli.py.Add black-box CLI tests for
eb-local sitesubactions, template rendering, and refusals intests/test_site_cli_modes.py.Add black-box CLI tests for
eb-local submitmodes and partial failures intests/test_submit_cli_modes.py.Add black-box CLI tests for
eb-local uninstalloptions,--delete, and refusals intests/test_uninstall_cli_modes.py.Add black-box CLI tests for default recipe build refusals,
--explain,help, and--versionintests/test_build_cli_modes.py.Added CLI regression tests in
tests/test_lmod_cache_cli_modes.pyusingtests/hostile_fs.pyto verify thateb-local lmod-cacherefuses read-only cache directories, directory or dangling-symlink collisions at output paths, andENOSPCon a full tmpfs cleanly.Added CLI regression tests in
tests/test_modulerc_cli.pyusingtests/hostile_fs.pyto verify thateb-local modulercrefuses read-only trees, directory or dangling-symlink collisions at.modulerc.lua, andENOSPCon a full tmpfs cleanly.Added CLI regression tests in
tests/test_rpath_wrappers_cli.pyusingtests/hostile_fs.pyto verify thateb-local rpath-wrappersrefuses read-only parents, directory or dangling-symlink collisions at wrapper paths, andENOSPCon a full tmpfs cleanly.Added a CLI test covering
eb-local restorewhenrtrash list --jsoncontains duplicate entries for the same path.Added a CLI test in
RefusalWordingcovering symlink, non-directory, and absent-mountinfo refusals for the node-local mount.Added a CLI test verifying
[eessi]rejects reservedEESSI_*install and site-toolchain variable names with exit status 2.Added a CLI test verifying
eb-local cleanexits 2 with thertrash put exitedmessage and leaves targets intact whenrtrash putfails.Added shared hostile-destination test helpers in
tests/hostile_fs.py(enter_full_tmpfs,readonly_dir, anddangling_symlink) with unit coverage intests/test_hostile_fs.py.Adds an example OpenMPI site overlay template under
examples/overlays/.Adds command-line tests for digest-pinned materialization and the default byte-identical path when an overlay has no edits.
Prove that disabling foreign-prefix clearing produces byte-identical default build output.
The
eb-local ebtests check that no default prefix is made in$HOME/eessi, the directory EESSI-extend installs into, as well as in$HOME/EESSI, the one its help text names. Four of them looked only at$HOME/EESSI, and passed with a launcher that made$HOME/eessi.The test that each Org source has its page in a table of contents compares both lists in one order, so a page whose name extends another’s, such as
install-softwarebesideinstall, no longer fails it.The tests use the example site’s node types, and CI looks for every name on the documentation’s list.
eb-localdelegates shell word quoting tozig-common’spytext.shellQuote.eb-localpinszig-commonv0.10.0inbuild.zig.zon, addingfsx.mkdtempalongsidefsx.normPathandfsx.absPath.prek run --all-filesruns the hooks inprek.toml: whitespace and end-of-file fixes, YAML and TOML checks,zig fmt --check, shellcheck and codespell;prek installruns them on each commit.storage.describeErrormaps system errors to kernel errno text for shared diagnostics.tests/site/build-job.shages the log directory itscleancheck makes, as well as the log in it.cleantakes a directory among the logs once neither it nor anything in it is newer than the cutoff, so the check found nothing to clean and failed twice. The command reference and the clean-up guide say that a directory’s own time counts.tests/test_overlay_cli.pyverifies thateb-local overlay materializerefuses read-only output directories and dangling symlinks while rolling back partial outputs on symlink or out-of-space tmpfs failures.tests/test_rpath_wrappers_cli.pyextendstest_wrappers_bypass_llvm_intel_nonlinking_flagsto run every LLVM and Intel non-linking flag through the generated wrapper and confirm forwardedargvlines omit-rpathand--disable-new-dtags.tests/test_rpath_wrappers_cli.pymoves the--help=*RPATH wrapper check onto its shared fake-compiler fixture.tests/test_sites_cli.pyverifies thateb-local site installexits2with an out-of-space diagnostic and keeps the destination directory free of partial files when writing to a full tmpfs.zig build testruns the command-line suite without-Dtest-ops=true: the suite gets a debug build of its own with the test seams, where it failed 33 tests against a binary without them.zig build -Dtest-ops=true test, as CI runs it, still runs the suite against the binary it builds.eb-local builds on zig-common 0.9.0, as eessi-arch-guard does. Cleaning secrets from a log now keeps a GPFS NFSv4 ACL on the file, which the rewrite dropped, and a program eb-local runs and reads, such as nimvault, gets
/dev/nullor its pipe on a standard stream eb-local was started without, so its errors no longer land in what eb-local reads from it.
3.1.0 (2026-11-16)¶
Features¶
eb-local doctorreports, one line each, what would stop a build or a module load: the site file, the prefix and its permissions, install variables and loader variables left in the shell, the allocation’s node-local mount, EESSI andMODULEPATH, and rtrash. It exits 1 when a line says FAIL and changes nothing.eb-local list [NAME[/VERSION]...]shows the modules installed in the prefix with a column per CPU target, and, with EESSI loaded, the ones this node’s target lacks.eb-local submit [--on NAME,...] [--print] RECIPE [eb options]sends one batch job per node type the site file lists in[build.targets](a name and its sbatch options, site file only), each running this eb-local with the same recipe and configuration, so a module is built for every CPU target.eb-local configshows the targets.
3.0.0 (2026-11-16)¶
Features¶
The default install prefix is
$HOME/eessi, EESSI-extend’s own default, soeb-local,eb-local eband EESSI-extend loaded by hand share one tree. An existing$HOME/.local/eessi, the earlier default, stays in use while$HOME/eessidoes not exist, with a warning;prefixchooses either for good.[eessi]in the site file, your file or a profile setsEESSI_*variables for the EESSI module and its hooks;env,devand builds export them before the stack loads,eb-local configshows them, andconfig --envprints them as themselves. The install and target variables eb-local sets itself, and the toolchain listbuild.site_toolchainssets, are refused.devpicks the build environment for the compilers the modules bring in: GCC, CUDA,llvm-compilers(lfoss),intel-compilersor NVHPC. When Lmod has none for that family, RPATH wrappers for the compilers and linkers onPATHstand in, so a program never links without run paths.dev.buildenv_fororEB_LOCAL_DEV_BUILDENV_FOR_<FAMILY>names a site’s own build environment per family,config --envleaves the defaultdev.buildenvout so the choice survives the round trip, andeb-local rpath-wrappersprints the wrapper lines on their own.eb-local --explain RECIPE [eb options]prints the commands a build runs, as shell lines with its checks as comments, and creates and runs nothing; it works outside an allocation.eb-local check FILE...reads a program or library and reports what stops it running on this node withoutLD_LIBRARY_PATH: another architecture, the host’s loader or libraries under EESSI,RUNPATHinstead ofRPATH, run paths into another CPU target’s tree, and libraries not found or found only throughLD_LIBRARY_PATH.eb-local devsetsEB_LOCAL_DEV_PREFIXto<install-prefix>/dev/<EESSI version>/<CPU target>, with the GPU target appended when EESSI found one, so hand builds install per target by default.eb-local ebsources the EESSI init, loadsEESSI-extendand runseb, with no site file and no Slurm job. At most one ofEESSI_USER_INSTALL,EESSI_PROJECT_INSTALL,EESSI_SITE_INSTALLandEESSI_CVMFS_INSTALLmay be set, and a present empty value counts as set. A non-empty user prefix is created; a project, site or cvmfs prefix is not. With none of the four set, nothing is exported: the module installs under$HOME/eessi(its help text says$HOME/EESSI). The process umask is 077, 002 or 022 for those modes, and EasyBuild keeps the umask, the sticky bit and the hooks the module sets.EB_LOCAL_EESSI_EXTEND=1selects the same launcher when every argument belongs toeb.eb-local site showandeb-local site installtake a site’s own template file as well as a built-in template: a NAME with a slash, such as./site.toml, is read as a template, with the same placeholders and checks. The file is read only when it is a regular file, not a symbolic link, not writable by group or others.storage.node_local_mount(node_local_mountin a 1.xeb-local.conf) names each allocation’s mount belowstorage.node_local_root: one file name, with%ufor the user and%j, which it must hold, for the job id. The default,%u.%j, is the layout eb-local required until now, so a site file without the key works as before;eb-local configshows the setting, and theslurmtemplate takes it as a placeholder.
Fixes¶
A
shared_scratchpath is taken literally. A glob character in it is no longer expanded, so the named tree is what a build refuses and a neighbour that happens to match is not.A build does not pass
BASH_ENV,ENV,SHELLOPTS,BASHOPTS,LD_LIBRARY_PATH,LD_PRELOADorLD_AUDITtoeb. A startup file cannot run in the build, a trace cannot print it, and host libraries cannot be selected ahead of the toolchain.A build stopped by a signal is cleaned up, including its logs, and eb-local then dies from that signal. A shell or Slurm sees the signal instead of exit 128+n and does not continue the job. An ignored signal, as with nohup, stays ignored.
A build workspace is mode 0700 even when the process umask would clear those bits. mkdir was applying the umask, and a umask of 0777 left a directory this process could not enter.
A build,
envanddevruneessi-arch-guardwhen it is onPATH, after loading EESSI and before EESSI-extend, in the Zig build and the Bash script, so software installs for the CPU target Slurm tasks get. On a Sapphire Rapids CPU withoutwaitpkg, EESSI detectsx86_64/intel/sapphirerapidsand the guard selectsx86_64/intel/icelake; a build fromsallocinstalled into the sapphirerapids tree, and ansruntask on the same node could not load the module. A build stops when the guard cannot select a target.A file named with
--configorEB_LOCAL_CONFIGthat root or the program’s owner owns replaces only the site file; your file was not read either, so its profiles, default profile and secrets were lost.eb-local helpand the README now say what a named file replaces.A later
devremoves the RPATH wrapper directory a previousdevput first onPATH, so a build environment loaded afterwards is the one that compiles.A project install (
--project,project) keeps the umask EESSI-extend sets for one, 002. eb-local passedeb --umask=022and made.eb-local/with the caller’s umask, so a second member’s build failed with EACCES on EasyBuild’s lock, the logs or the sources. It now makes what it creates in a project directory with umask 002 and passes no--umask; a user install keeps--umask=022.A site file must be owned by root or by the program’s owner, as the code already required; the README and the code’s comment said one you own was used too. A refused configuration file now says who may own it.
A symbolic link whose target does not exist yet is resolved the way
readlink -mdoes, so a dangling link from the installation prefix onto shared scratch is refused before a workspace is made.Removing a build workspace, and the empty directories clean leaves behind, stays on that file system. A mount point inside the tree is left in place, as
rm --one-file-systemdoes.Secret redaction removes the longer of two overlapping values whole, matches percent-encoding in either hex case, and uses a marker that does not contain the value. An installation log nested too deep to search is reported for the easybuild tree as well as the log tree.
Secret values are removed from the copy of the log EasyBuild keeps in an installation, which it compresses (
easybuild/*.log.bz2under EESSI-extend): a log ending in.bz2,.gz,.xzor.zstis decompressed withbzip2,gzip,xzorzstdfromPATH, cleaned and compressed again. The read-onlyeasybuild/EasyBuild leaves no longer stops the check, and a log that cannot be checked or rewritten is named.The lfoss warning no longer fires for a site build environment whose name has no LLVM toolchain in it; it covers a chosen GCC build environment only, and knows lmpflf.
The lines that say how to eval
envordevrepeat the config file, profile, project and buildenv that produced them, shell-quoted, so the hint is the environment that was printed.The shell conditions shellcheck SC2015 flagged are
ifstatements, and the build cleanup function is called on the way out as well as from the EXIT trap, so SC2317 is not silenced with a disable comment.cleanages each file and directory at the top of the logs as a whole, by the newest time in it, in both the binary and the Bash script. EasyBuild copies a build’s easyconfig, easyblocks and hooks intoreprod_<time>_<pid>/keeping their own older times, socleanremoved those copies from a build made the same day and left the rest of the directory. A directory goes to the trash withrtrash put -r, and the counts say items rather than files.config --envexports an empty[eessi]value, which is how a profile clears a setting from the site file.config --envprints empty settings too, andEB_LOCAL_PROFILEempty, so the lines select no profile. A job that sourced them where the files are still in place got the default profile back beneath them, with its modules and secrets, and a value the chosen profile cleared, such as the allocation hint, came back from the file that set it. An emptyEB_LOCAL_DEV_MODULES,EB_LOCAL_BUILD_ALLOCATION_HINT,EB_LOCAL_NIMVAULT_PROGRAMorEB_LOCAL_NIMVAULT_VAULTnow empties its setting instead of being ignored.configprints every setting when the project directory is missing, not a directory or writable by others, and then warns; it stopped before printing anything, so the profile that named the directory could not be read.config --checkreads the secrets too and exits 1. Every other command still stops.devloads each module once, where it is first named indev.modulesor on the command line, and a chosen build environment (dev.buildenvor--buildenv) only last: a module named in both, or twice, was printed twice. Lmod loads a repeated module once, so this changes the printed lines, not what is loaded.devrecognises an lfoss or intel module by theEBROOTname EasyBuild writes, where a hyphen in the software name becomesmin.eb-local config --envprintsEB_LOCAL_PREFIXandEB_LOCAL_PROJECTas the absolute pathenvuses, with~/expanded and symbolic links resolved, so sourcing the lines from another directory follows the same tree.eb-local restore NAME/VERSIONbrings back from the trash whatuninstallmoved there, for every CPU target, and takes write permission away again, as EasyBuild leaves an installation. A link EasyBuild made to the module file frommodules/<class>/comes back after the file.uninstallmade every file writable beforertrash put, sortrash restorebrought an installation back writable; it now makes only the directories writable, which rtrash needs to move a directory and to empty the trash, and the files keep their read-only modes.envanddevnow exportbuild.site_toolchainsafter the stack loads, as a build does, soebrun by hand accepts those toolchains too.env,devand a build load the stack and EESSI-extend in twomodule loadcalls, in the Zig build and the Bash script. Lmod 9.4.5 finds every module of a load before it loads any, and EESSI-extend is onMODULEPATHonly once EESSI is loaded, so the single call exited 1 and loaded nothing unless EESSI was already loaded.uninstallremoves the links EasyBuild makes to a module file frommodules/<class>/NAME/VERSION.lua, with the module file, and theNAMEdirectories they leave empty. It left them dangling; naming the module again now removes a link an earlieruninstallleft.zig build -Dtest-ops=true testno longer shows a passing command-line suite as a failed command: the suite step inherits stdio, so unittest’s report reaches the terminal as it is, and the step runs every time instead of being skipped while the binary is unchanged, which left an edited test unrun.zig build -Dtest-ops=true teststarted in a subdirectory such assrc/runs the command-line suite: the suite step runs in the build root, where-s testsfinds it, instead of wherezig buildwas started, where unittest stopped withStart directory is not importable: 'tests'.
Documentation¶
The README and the help give the order in which the site file is found,
default_profile,EB_LOCAL_KEEP_WORK=1, why the modules go on thedevline, and theeb-local.confthe 1.x script reads; the stackhands table lists eb-pipeline, and.gitignorethe Zig build and package directories.The README says what a cluster test showed: loading the build environment before or after the libraries gives the same run paths; it has to be loaded, and
devloads it last only so that no other compiler’sgccorldcomes ahead of its wrappers.The README’s per-target build example names a partition placeholder rather than a site’s partition, and says the build environment compiles with
-march=native.The README, the help and
eb-local.conf.exampledescribe no particular site: their examples use a neutral one (node-local mounts under/local, shared scratch/scratchand/work, partitioncpu, a project under/path/to/project), and the help no longer names the tool eb-local replaced at one site.
Removals¶
The site template written for one particular site is no longer built into eb-local, whose built-in templates are for no particular site; it is now a worked example under
examples/sites/, with the same settings.eb-local site install NAMEfor it becomeseb-local site install examples/sites/FILE, run from a checkout of eb-local. A site file already installed needs no change.
Miscellaneous¶
News fragments in
changelog.d/, assembled intoCHANGELOG.mdby towncrier at release, as in the other stackhands repositories.The acceptance scripts in
tests/site/name no partition or node feature, which go on thesbatchline, and find the allocation’s mount fromnode_local_rootandnode_local_mountin the site file, so they run at any site.
2.4.0¶
eb-local uninstallkeeps a module that another installed module loads (depends_onorloadin its Lua module file) and lists the dependents; naming them in the same command removes them all.A project directory (
--project,project) writable by others is refused, and one without the setgid bit gets a warning namingchmod g+s.Releases carry a CycloneDX 1.6 SBOM per binary (
eb-local-VERSION-ARCH-linux-musl.cdx.json), written bytools/sbom.pyfrombuild.zig.zonand attested withactions/attest-sbom.
2.3.0¶
eb-local site list | show NAME | install NAME: site file templates built into the program,slurmand one for a particular site, with placeholders filled by--set KEY=VALUE.installwritesconfig.tomlbeside the program (or--to FILE), mode 644, only after the rendered file loads as a site file; it replaces a file only with--forceand never writes through a symbolic link.eb-local config --envprints the settings in force asexport EB_LOCAL_...lines;EB_LOCAL_SECRET_<NAME>=SOURCEsets a secret’s source and is checked as the[secrets]table is.[nimvault] programandvault(EB_LOCAL_NIMVAULT_PROGRAM,EB_LOCAL_NIMVAULT_VAULT): nimvault runs asget ENTRY --vault DIR, so a build started inside another git repository does not read that repository’s vault. A nimvault entry starting with-is refused.
2.2.0¶
build.site_toolchainsin the site file lists NAME/VERSION toolchains that EESSI’s hooks accept besides foss and lfoss; a build exports them asEESSI_SITE_TOP_LEVEL_TOOLCHAINS_<EESSI version>, replacing a value the caller exported. A user file or a profile cannot set it (#3).devwarns when a named module belongs to the lfoss hierarchy (llvm-compilers,lompi,lfbf,lfoss) and the build environment wraps only the GCC compilers, and points at--buildenv(#2).Global options may come before the command:
eb-local --profile gpu devran as a build of an easyconfig nameddev.README: a program built with
devbelongs to one CPU target (#4); a copy-paste install of the release binary with its checksum.CI: every action pinned to a commit SHA, read-only tokens, dependabot.
2.1.2¶
uninstallwith rtrash passes-r:rtrash putfollows rm(1) and refused the installation directories, so 2.1.1 trashed the module files and left the installations. Installations now go first, in their own call, so a refusal leaves every module file in place. Found by running against rtrash 0.1.4 on a production cluster; the test double now refuses a directory without-ras rtrash does.
2.1.1¶
Fixes from an adversarial review of 2.1.0:
Only a site file (owned by root or by the account that installed eb-local) may set
[storage]; a file of your own named with--configorEB_LOCAL_CONFIGis a user file, and the site file is always read. Shared scratch and node-local trees are compared after resolving symbolic links, and the installation’sversionsand.eb-localtrees must not lead onto them.Secrets: the log directory is made private (0700) for a build that has them; the copy of the log EasyBuild keeps in an installation’s
easybuild/is cleaned too; base64 and percent-encoded forms of a value are removed with it; a value too short to remove, and a log too large or too deep to check, is reported.uninstalllooks only at installations (beside their module files, per CPU target), never descends into installed software, and refuses any path through a symbolic link.The build command keeps the signal dispositions it was started with, so
nohup eb-local ...survives a hangup.cleanchecks for rtrash or--deletebefore it removes anything, and says how many workspaces it removed.Paths are made canonical as
readlink -mdoes (link/..is the parent of the link’s target).The TOML reader refuses arrays nested more than 32 deep and files of more than 10000 keys and items.
2.1.0¶
eb-local uninstall NAME/VERSION...: an installation and its module file, for every CPU target under the installation directory, made writable (an EasyBuild installation is read-only, sorm -rffails on it) and moved to the trash with rtrash, or deleted with--delete;--dry-runlists them. A symbolic link is never followed.
2.0.0¶
eb-local in Zig, one static binary per architecture; the Bash script stays in the repository as the reference implementation, and the command-line suite runs against both.
eb-local dev [MODULE...]: the lines that load EESSI, the named modules and a build environment last, sogcc,mpicc,make, CMake and meson build programs that run withoutLD_LIBRARY_PATH. Checked on a production cluster for C with FFTW and OpenMP, MPI, CMake against GSL, a Python venv with a compiled package, and an R package.eb-local env: the lines that make your installed modules visible;--envkeeps working. Before the first install the stack is loaded alone, because EESSI-extend refuses a missing install directory and Lmod then undoes the whole load.Layered TOML configuration: the site file, a site profile, your file, your profile,
EB_LOCAL_*variables and options, witheb-local configshowing where each setting came from andeb-local profileslisting the profiles. Storage settings come only from the site file. Every key, type and module name is checked, in every profile, with file and line. A 1.xeb-local.confis read as before.Secrets from the environment, owner-only files or nimvault, named in the configuration and never written in it; read only for a build, passed only to
eb, never printed (eb-local config --checkreportsokor why not), and removed from the logs written during the build.A successful build removes its node-local workspace; a failed one keeps it and says where.
eb-local cleanmoves old logs (and, asked, sources) to the trash with rtrash, deletes only with--deletewithout it, removes an allocation’s leftover workspaces, and never follows a symbolic link out of the installation directory.Output for
evalis shell-quoted and module names are checked, so it means the same whatever the input.Documentation: https://stackhands.github.io/eb-local/.
1.3¶
The node-local root and the shared scratch trees come from
eb-local.conf; without a node-local root, a build stops before it creates anything.
1.2¶
The workspace is bound to the current user and allocation.
1.1¶
The node-local allocation requirement is shown in the build hint; the owned installation environment is selected after EESSI-extend is unloaded.
1.0¶
The first release: build and install with EasyBuild on top of EESSI 2026.06 into a directory you own, with a project mode and
--env.