mirror of
https://github.com/envmodules/modules.git
synced 2026-06-10 00:56:30 +08:00
Add the ability to always record module name + version even if this version corresponds to the default one. By default, version number is omitted if it corresponds to the implicit or explicitly set default version. If MODULES_COLLECTION_PIN_VERSION environment variable is set to 1, version number is always recorded. When restoring a collection, we do not know for sure if it was saved with pinned versions or not, so module load and unload movements are determined on both simplified or raw module list. Results with less module to load or unload (means with more matches between module lists) are kept. Acknowledgment: this development has been made and funded within the framework of the PRACE Fifth Implementation Phase (PRACE-5IP) project (http://www.prace-ri.eu/). PRACE-5IP receives funding from the EU's Horizon 2020 research and innovation programme (2014-2020) under grant agreement no. 730913. Closes #89