There's a function called get_toolchain_hierarchy that's required for minimal toolchains and could be leveraged. You could probably stitch something together using that and a list of the top-level toolchains...needs a PR though.
On 14 Feb 2017 8:13 pm, "Kenneth Hoste" <kenneth.ho...@ugent.be<mailto:kenneth.ho...@ugent.be>> wrote: On 06/02/2017 17:58, Maxime Boissonneault wrote: Hi all, Is there a way for easybuild to tell me what are the toolchains which it currently sees as installed on the system ? Note that we have a custom naming scheme, and that we hide toolchains to users. Well, there are several options, although none of them are probably the answer you are looking for. EasyBuild will symlink modules back to modules/all based on the moduleclass, so (at least with the default module naming scheme) you could use something like: find $EASYBUILD_PREFIX/modules/toolchain | sed 's@.*/\(.*/.*\)@\1@g' Another way is to compose a list of all toolchain easyconfigs, and then use "eb -D <list of easyconfigs> | grep '\[x\]' ". Although that would also include all toolchain components (and their dependencies). Maybe it helps if you provide some more context? Why do you need this exactly? regards, Kenneth ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------