From 3188e8d9d098ba4f4bde0fc469a400c5320614ad Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Wed, 3 Jul 2024 16:43:24 +0200 Subject: [PATCH 1/2] Explain search for sub-toolchains in robot-paths EB not only searches for `*-GCC-*` but also for `*-GCCcore-*` if no file was found using the former --- docs/using-easybuild.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/using-easybuild.md b/docs/using-easybuild.md index 11bc03f47..b2ee8febd 100644 --- a/docs/using-easybuild.md +++ b/docs/using-easybuild.md @@ -528,6 +528,15 @@ For example, when looking for an easyconfig for `OpenMPI` version `4.1.4` and ve * `o/OpenMPI/OpenMPI-4.1.4-GCC-11.3.0-test.eb` * `OpenMPI-4.1.4-GCC-11.3.0-test.eb` +If no match is found sub-toolchains are also considered, +see [the toolchain diagram][common-toolchains#toolchains_diagram] for an overview of the toolchain hierarchy. +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: + +* `OpenMPI/4.1.4-GCCcore-11.3.0-test.eb` +* `OpenMPI/OpenMPI-4.1.4-GCCcore-11.3.0-test.eb` +* `o/OpenMPI/OpenMPI-4.1.4-GCCcore-11.3.0-test.eb` +* `OpenMPI-4.1.4-GCCcore-11.3.0-test.eb` + !!! note Sometimes easyconfig files are needed even when the modules for the dependencies are already available, From c7567cdcc160bc4eca0617a194fa4db4f1022803 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Thu, 4 Jul 2024 09:36:35 +0200 Subject: [PATCH 2/2] Also explain the non-recursive search --- docs/using-easybuild.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/using-easybuild.md b/docs/using-easybuild.md index b2ee8febd..eaea7c45c 100644 --- a/docs/using-easybuild.md +++ b/docs/using-easybuild.md @@ -537,6 +537,15 @@ In this case the following filepaths (also relative to each entry in the robot s * `o/OpenMPI/OpenMPI-4.1.4-GCCcore-11.3.0-test.eb` * `OpenMPI-4.1.4-GCCcore-11.3.0-test.eb` +!!! note + + The search for those paths is **not recursive**. + I.e. for `--robot-path=/my/robot_path` the filepath `/my/robot_path/easyconfigs/OpenMPI` and similar is **NOT** considered. + You would need to set `--robot-path=/my/robot_path/easyconfigs` instead. + Note that you likely want to include the default search path by including a colon (see [below][robot_search_path_prepend_append]), + like `--robot-path=/my/robot_path/easyconfigs:`. + + !!! note Sometimes easyconfig files are needed even when the modules for the dependencies are already available,