Skip to content

Commit b0dc373

Browse files
authored
Merge pull request #258 from Flamefire/patch-1
Explain search for sub-toolchains in robot-paths
2 parents f5ad2fd + c7567cd commit b0dc373

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/using-easybuild.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,24 @@ For example, when looking for an easyconfig for `OpenMPI` version `4.1.4` and ve
528528
* `o/OpenMPI/OpenMPI-4.1.4-GCC-11.3.0-test.eb`
529529
* `OpenMPI-4.1.4-GCC-11.3.0-test.eb`
530530

531+
If no match is found sub-toolchains are also considered,
532+
see [the toolchain diagram][common-toolchains#toolchains_diagram] for an overview of the toolchain hierarchy.
533+
In this case the following filepaths (also relative to each entry in the robot search path) are considered if none of the above was found:
534+
535+
* `OpenMPI/4.1.4-GCCcore-11.3.0-test.eb`
536+
* `OpenMPI/OpenMPI-4.1.4-GCCcore-11.3.0-test.eb`
537+
* `o/OpenMPI/OpenMPI-4.1.4-GCCcore-11.3.0-test.eb`
538+
* `OpenMPI-4.1.4-GCCcore-11.3.0-test.eb`
539+
540+
!!! note
541+
542+
The search for those paths is **not recursive**.
543+
I.e. for `--robot-path=/my/robot_path` the filepath `/my/robot_path/easyconfigs/OpenMPI` and similar is **NOT** considered.
544+
You would need to set `--robot-path=/my/robot_path/easyconfigs` instead.
545+
Note that you likely want to include the default search path by including a colon (see [below][robot_search_path_prepend_append]),
546+
like `--robot-path=/my/robot_path/easyconfigs:`.
547+
548+
531549
!!! note
532550

533551
Sometimes easyconfig files are needed even when the modules for the dependencies are already available,

0 commit comments

Comments
 (0)