Mii: Difference between revisions

Jump to navigation Jump to search
Marked this version for translation
m (Added translation marker)
(Marked this version for translation)
Line 1: Line 1:
{{Draft}}
{{Draft}}
<translate>
<translate>
<!--T:1-->
<languages />
<languages />
A smart search engine for module environments.
A smart search engine for module environments.


<!--T:2-->
Mii works around an existing modules installation, efficiently searching and loading modules on-demand for users.
Mii works around an existing modules installation, efficiently searching and loading modules on-demand for users.


<!--T:3-->
Once Mii is loaded, modules will be quietly autoloaded for any unambiguous commands. Ambiguous commands will interactively ask for modules to load.
Once Mii is loaded, modules will be quietly autoloaded for any unambiguous commands. Ambiguous commands will interactively ask for modules to load.


<!--T:4-->
It features:
It features:
* Support for Lmod and Environment Modules installations
* Support for Lmod and Environment Modules installations
Line 16: Line 20:
* Optional JSON export format
* Optional JSON export format


<!--T:5-->
{{Callout
{{Callout
   |title=Important note
   |title=Important note
Line 22: Line 27:
}}
}}


= Activating Mii =
= Activating Mii = <!--T:6-->
To enable/load mii:
To enable/load mii:
{{Command
{{Command
Line 28: Line 33:
}}
}}


<!--T:7-->
Once Mii is loaded, it will start making suggestion. When a command is not found, for example:
Once Mii is loaded, it will start making suggestion. When a command is not found, for example:
{{Command
{{Command
Line 35: Line 41:
}}
}}


= Unambiguous commands =
= Unambiguous commands = <!--T:8-->
When a command or binary is known and unambiguous, it will be autoloaded:
When a command or binary is known and unambiguous, it will be autoloaded:
{{Command
{{Command
Line 44: Line 50:
}}
}}


= Ambiguous commands =
= Ambiguous commands = <!--T:9-->
When a command or binary is unknown or ambiguous, it will suggest a selection of potential candidates based on their relevance:
When a command or binary is unknown or ambiguous, it will suggest a selection of potential candidates based on their relevance:


<!--T:10-->
{{Command
{{Command
|blastn -version
|blastn -version
Line 73: Line 80:
[mii] loading StdEnv/2020 gcc/9.3.0 blast+/2.12.0 ...
[mii] loading StdEnv/2020 gcc/9.3.0 blast+/2.12.0 ...


<!--T:11-->
Lmod is automatically replacing "intel/2020.1.217" with "gcc/9.3.0".
Lmod is automatically replacing "intel/2020.1.217" with "gcc/9.3.0".




<!--T:12-->
Due to MODULEPATH changes, the following have been reloaded:
Due to MODULEPATH changes, the following have been reloaded:
   1) openmpi/4.0.3
   1) openmpi/4.0.3


<!--T:13-->
blastn: 2.12.0+
blastn: 2.12.0+
  Package: blast 2.12.0, build Sep 27 2021 15:23:34
  Package: blast 2.12.0, build Sep 27 2021 15:23:34
Line 84: Line 94:
As shown above, we selected one module (#1) out of the selection, and the command was then ran.
As shown above, we selected one module (#1) out of the selection, and the command was then ran.


= Search with Mii =
= Search with Mii = <!--T:14-->
You can search for binaries to discover which modules provides it. The results are sorted by relevance:
You can search for binaries to discover which modules provides it. The results are sorted by relevance:
{{Command
{{Command
Line 109: Line 119:
}}
}}


= Disabling Mii =
= Disabling Mii = <!--T:15-->
To disable mii:
To disable mii:
{{Command
{{Command
Line 115: Line 125:
}}
}}


== Re-enabling ==
== Re-enabling == <!--T:16-->
To re-enable mii:
To re-enable mii:
{{Command
{{Command
cc_staff
284

edits

Navigation menu