easybuild.tools.toolchain.utilities module¶
Toolchain utility module
- Easy access to actual Toolchain classes
- search_toolchain
Based on VSC-tools vsc.mympirun.mpi.mpi and vsc.mympirun.rm.sched
author: | Stijn De Weirdt (Ghent University) |
---|---|
author: | Kenneth Hoste (Ghent University) |
-
easybuild.tools.toolchain.utilities.
get_toolchain
(tc, tcopts, mns=None, tcdeps=None, modtool=None)¶ Return an initialized toolchain for the given specifications. If none is available in the toolchain instances cache, a new one is created.
Parameters: - tc – dictionary specifying toolchain name/version
- tcopts – dictionary specifying toolchain options
- mns – module naming scheme to use
- tcdeps – toolchain dependencies (i.e. toolchain components)
- modtool – ModulesTool instance to use
-
easybuild.tools.toolchain.utilities.
search_toolchain
(name)¶ Obtain a Toolchain instance for the toolchain with specified name, next to a list of available toolchains. :param name: toolchain name :return: Toolchain instance (or None), found_toolchains