Repository navigation
check --probe-tools probes a local site's host; workstation tutorial - #306
Merged
Merged
Conversation
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.
This reverts commit f13e720.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On a
localsite every phase runs on the host that runs eb-pipeline, socheck --probe-toolsnow looks at that host:ebmissing from PATH: WARN, with the install hint.eb --versionfailing: WARN with its first line. EasyBuild'sebis a launcher that takes the first Python on PATH it accepts, and an init script that puts its own Python ahead of the venv leavesebon PATH but unable to start. For that error the warning names EB_PYTHON.All three are skipped when
modules.initormodules.shell_initsets up the environment, and forslurmsites. 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 throughrun, 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.