Skip to content

check --probe-tools probes a local site's host; workstation tutorial - #306

Merged
HaoZeke merged 8 commits into
developfrom
feat/local-host-probe
Nov 26, 2026
Merged

HaoZeke merged 8 commits into
developfrom
feat/local-host-probe

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

On a local site every phase runs on the host that runs eb-pipeline, so check --probe-tools now looks at that host:

  • eb missing from PATH: WARN, with the install hint.
  • eb --version failing: WARN with its first line. EasyBuild's eb is a launcher that takes the first Python on PATH it accepts, and an init script that puts its own Python ahead of the venv leaves eb on PATH but unable to start. For that error the warning names EB_PYTHON.
  • No module tool: EASYBUILD_MODULES_TOOL, Lmod when unset, looked up through LMOD_CMD / MODULES_CMD or its program on PATH. Tools eb-pipeline does not know are left to EasyBuild.

All three are skipped when modules.init or modules.shell_init sets up the environment, and for slurm sites. They are warnings: EasyBuild can take its module tool from a config file eb-pipeline does not read.

New tutorial, Build with EasyBuild on your own machine: EESSI's Lmod, EasyBuild 5.4.2 in a venv, init --template workstation, check --probe-tools, a bundle easyconfig built through run, and its module loaded. Every command and output in it was run on one x86_64 host with EESSI mounted and no Slurm, including the wrong-order case the probe catches.

Checked on that host: cargo fmt --check, cargo clippy --all-targets -- -D warnings, cargo test --lib host:: (6), and the examples, docs and schema_and_plan suites.

A local scheduler runs every phase on the host that runs eb-pipeline,
so check --probe-tools can see a missing eb or module tool before a
build fails on it. The check is skipped when modules.init or
modules.shell_init sets the environment up, and for a module tool
EasyBuild names that eb-pipeline does not know.
eb is a launcher that picks the first Python on PATH it accepts, so an
init script that puts a Python without EasyBuild ahead of the venv's
leaves eb on PATH and unable to start. check --probe-tools now runs it
and warns with its first line, and names EB_PYTHON for the launcher's
Python error.
Install EasyBuild beside EESSI's Lmod, write the workstation site file,
check the machine with check --probe-tools, build a bundle easyconfig
and load its module. Every command and output was run on one host with
EESSI mounted and no Slurm; the order of the Lmod and venv steps is the
one that keeps eb on the venv's Python.
A site file with no module tool to drive, such as one machine with
EasyBuild from pip, wrote [modules] init = [] to say nothing. Absent, the
table and the key now mean the same: no module loaded, no wrapper.
@HaoZeke
HaoZeke merged commit adac1c3 into develop Nov 26, 2026
8 checks passed
@HaoZeke
HaoZeke deleted the feat/local-host-probe branch November 26, 2026 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant