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

Reply via email to