utilities
Toolchain utility module
Easy access to actual Toolchain classes search_toolchain
Based on VSC-tools vsc.mympirun.mpi.mpi and vsc.mympirun.rm.sched
Authors:
- Stijn De Weirdt (Ghent University)
- Kenneth Hoste (Ghent University)
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.
PARAMETER | DESCRIPTION |
---|---|
tc |
dictionary specifying toolchain name/version
|
tcopts |
dictionary specifying toolchain options
|
mns |
module naming scheme to use
DEFAULT:
|
tcdeps |
toolchain dependencies (i.e. toolchain components)
DEFAULT:
|
modtool |
ModulesTool instance to use
DEFAULT:
|
search_toolchain(name)
¶
Obtain a Toolchain instance for the toolchain with specified name, next to a list of available toolchains.
PARAMETER | DESCRIPTION |
---|---|
name |
toolchain name
|
RETURNS | DESCRIPTION |
---|---|
Toolchain instance (or None), found_toolchains |