urn:noticeable:projects:cbzeG7wTvAIqj21zbUmxEnvironment Modules Updatescea-hpc.github.io/modules2020-08-31T18:47:24.315ZCopyright © Environment ModulesNoticeablehttps://storage.noticeable.io/projects/cbzeG7wTvAIqj21zbUmx/newspages/UPOFxJbXsysxyt1L7iHB/01h55ta3gsp13j52cdnky8js2v-header-logo.pnghttps://storage.noticeable.io/projects/cbzeG7wTvAIqj21zbUmx/newspages/UPOFxJbXsysxyt1L7iHB/01h55ta3gsp13j52cdnky8js2v-header-logo.png#b70e0burn:noticeable:publications:cJyLLA0skKg6lAWLrmdy2020-08-31T18:44:00.001Z2020-08-31T18:47:24.315Z Modules 4.5.3 releasedVersion 4.5.3 of Modules has just been released. It provides fixes for the few issues recently spotted. The changes introduced in this bugfix release are: Install: take into account the --build, --host, --target, --enable-dependency...<p>Version 4.5.3 of Modules has just been released. It provides fixes for the few issues recently spotted.</p> <p>The changes introduced in this bugfix release are:</p> <ul> <li>Install: take into account the <code>--build</code>, <code>--host</code>, <code>--target</code>, <code>--enable-dependency-tracking</code> and <code>--disable-dependency-tracking</code> configure options to transmit them to the <code>configure</code> scripts of Modules Tcl extension library and Modules compatibility version. (fix issue #354)</li> <li>Install: ignore some regular options of an Autoconf <code>configure</code> script that are useless for this project but usually implied in build macros (like RPM <code>%configure</code> macro).</li> <li>Install: ignore unsupported <code>--enable-*</code> and <code>--with-*</code> options on <code>configure</code> script rather raise an error and add support to define environment variable and build system type as <code>configure</code> script arguments to comply with <a href="https://www.gnu.org/prep/standards/html_node/Configuration.html?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-4-5-3-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.cJyLLA0skKg6lAWLrmdy&amp;utm_medium=newspage" target="_blank" rel="noopener">GNU configuration recommendations</a>.</li> <li>Install: fix <code>modulecmd</code> pre-alternatives check in RPM spec file.</li> <li>Install: use <code>%make_build</code> and <code>%make_install</code> macros in RPM spec file.</li> <li>When <code>module switch</code> command is used in modulefile, do not state when processing it a conflict over switched-off module if its specification on the <code>module switch</code> command also matches switched-on module’s specification. Allow this way the replacement of any loaded version of a module for a specific one required by currently loading module. (fix issue #355)</li> <li>Correctly report failed attempts to load module requirements expressed with advanced version specifiers. (fix issue #356)</li> </ul> <p>The list of all changes made in this new version are described in the NEWS document. Details on the new features introduced in the 4.5 series are provided in the MIGRATING document.</p> <p><a href="http://modules.readthedocs.io/en/stable/MIGRATING.html?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-4-5-3-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.cJyLLA0skKg6lAWLrmdy&amp;utm_medium=newspage" target="_blank" rel="noopener">http://modules.readthedocs.io/en/stable/MIGRATING.html</a><br> <a href="http://modules.readthedocs.io/en/stable/NEWS.html?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-4-5-3-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.cJyLLA0skKg6lAWLrmdy&amp;utm_medium=newspage" target="_blank" rel="noopener">http://modules.readthedocs.io/en/stable/NEWS.html</a></p> <p>The tarball of this new version can be downloaded at:</p> <p><a href="http://downloads.sourceforge.net/modules/modules-4.5.3.tar.gz?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-4-5-3-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.cJyLLA0skKg6lAWLrmdy&amp;utm_medium=newspage" target="_blank" rel="noopener">http://downloads.sourceforge.net/modules/modules-4.5.3.tar.gz</a></p> <p>The zipball to install this new version on Windows platform can be downloaded at:</p> <p><a href="http://downloads.sourceforge.net/modules/modules-4.5.3-win.zip?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-4-5-3-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.cJyLLA0skKg6lAWLrmdy&amp;utm_medium=newspage" target="_blank" rel="noopener">http://downloads.sourceforge.net/modules/modules-4.5.3-win.zip</a></p> <p>If you encounter any issue, please let us know by creating a ticket on the project bug tracker at:</p> <p><a href="https://github.com/cea-hpc/modules/issues?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-4-5-3-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.cJyLLA0skKg6lAWLrmdy&amp;utm_medium=newspage" target="_blank" rel="noopener">https://github.com/cea-hpc/modules/issues</a></p> <p>Special thanks to to all the people who reported issues.</p> Xavier Delaruelle[email protected]urn:noticeable:publications:TzIg0A0yM9fQcn8Bycsk2020-07-30T12:48:00.001Z2020-08-31T18:44:45.031Z Modules 4.5.2 releasedVersion 4.5.2 of Modules has just been released. It provides fixes for the few issues recently spotted. The changes introduced in this bugfix release are: Init: list and source sub-commands do not take available modules as argument in...<p>Version 4.5.2 of Modules has just been released. It provides fixes for the few issues recently spotted.</p> <p>The changes introduced in this bugfix release are:</p> <ul> <li>Init: <code>list</code> and <code>source</code> sub-commands do not take available modules as argument in fish completion script.</li> <li>Init: fix option list for <code>search</code> sub-command in bash completion script.</li> <li>Fix double error counter increase when modulefile evaluation breaks.</li> <li>Install: adapt <code>configure</code> script to pass to the <code>configure</code> script of Modules compatibility version only a subset of the options it supports (most commonly used options).</li> <li>Install: raise an error when an unknown option is passed to <code>configure</code> script rather silently ignore it. (fix issue #348)</li> <li>Install: enable the definition of installation directory options of <code>configure</code> script with the <code>--option value</code> syntax in addition to the <code>--option=value</code> syntax. (fix issue #348)</li> <li>Doc: alphabetically sort sub-commands of <code>module-info</code> modulefile Tcl command in <code>modulefile(4)</code> document.</li> <li>Script: clean previously built environment-modules RPMs in <code>mrel</code>.</li> <li>Clearly separate quarantine variable definition from tclsh binary on <code>modulecmd.tcl</code> evaluated command call in <code>_module_raw</code> function for <em>sh</em>, <em>bash</em>, <em>ksh</em> and <em>zsh</em> shells. (fix issue #350)</li> <li>Doc: clarify in documentation index that Environment Modules should not be confused with language-specific modules. (contribution from Rob Hurt)</li> <li>Adapt conflict detection tests to ensure a module loaded by its full pathname will not detect itself as a conflict when declaring a reflexive conflict. (fix issue #352)</li> <li>Adapt the <code>mrel</code> and <code>mpub</code> commands to produce new Modules release from a <em>vZ.Y.x</em> git branch rather than from the repository main branch.</li> </ul> <p>The list of all changes made in this new version are described in the NEWS document. Details on the new features introduced in the 4.5 series are provided in the MIGRATING document.</p> <p><a href="http://modules.readthedocs.io/en/stable/MIGRATING.html?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-4-5-2-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.TzIg0A0yM9fQcn8Bycsk&amp;utm_medium=newspage" target="_blank" rel="noopener">http://modules.readthedocs.io/en/stable/MIGRATING.html</a><br> <a href="http://modules.readthedocs.io/en/stable/NEWS.html?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-4-5-2-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.TzIg0A0yM9fQcn8Bycsk&amp;utm_medium=newspage" target="_blank" rel="noopener">http://modules.readthedocs.io/en/stable/NEWS.html</a></p> <p>The tarball of this new version can be downloaded at:</p> <p><a href="http://downloads.sourceforge.net/modules/modules-4.5.2.tar.gz?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-4-5-2-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.TzIg0A0yM9fQcn8Bycsk&amp;utm_medium=newspage" target="_blank" rel="noopener">http://downloads.sourceforge.net/modules/modules-4.5.2.tar.gz</a></p> <p>The zipball to install this new version on Windows platform can be downloaded at:</p> <p><a href="http://downloads.sourceforge.net/modules/modules-4.5.2-win.zip?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-4-5-2-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.TzIg0A0yM9fQcn8Bycsk&amp;utm_medium=newspage" target="_blank" rel="noopener">http://downloads.sourceforge.net/modules/modules-4.5.2-win.zip</a></p> <p>If you encounter any issue, please let us know by creating a ticket on the project bug tracker at:</p> <p><a href="https://github.com/cea-hpc/modules/issues?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-4-5-2-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.TzIg0A0yM9fQcn8Bycsk&amp;utm_medium=newspage" target="_blank" rel="noopener">https://github.com/cea-hpc/modules/issues</a></p> <p>Special thanks to Rob Hurt for his code contribution on this release and to all the people who reported issues.</p> Xavier Delaruelle[email protected]urn:noticeable:publications:NUxs1Nx67Nc7ramlrtyM2020-06-01T16:33:00.001Z2020-08-31T18:48:22.935ZModules 4.5.1 releasedVersion 4.5.1 of Modules has just been released. It provides fixes for the few issues recently spotted. The changes introduced in this bugfix release are: Install: consistently output Makefile warning messages on stderr. Script: add...<p>Version 4.5.1 of Modules has just been released. It provides fixes for the few issues recently spotted.</p> <p>The changes introduced in this bugfix release are:</p> <ul> <li>Install: consistently output Makefile warning messages on stderr.</li> <li>Script: add the <code>mrel</code> script, that automates build of the Modules release files and performs tests over these distribution files to guaranty their correctness.</li> <li>Script: add the <code>mpub</code> script, that automates Modules new release publishing over git repositories and websites.</li> <li>Install: remove project-specific tools from git repository export thus from release distribution files.</li> <li>Disable pager when <code>clear</code> sub-command is called from <code>ml</code> shortcut command. (fix issue #338)</li> <li>In case a modulefile evaluation fails, environment context prior this failed evaluation is restored. Fix environment variable restoration mechanism to keep the link that monitors and updates environment variable array <code>env</code> in every Tcl sub-interpreters. (fix issue #340)</li> <li>Ensure environment variable change at the Tcl interpreter level is propagated to every sub-interpreters used to evaluate modulefiles or modulercs. (fix issue #342)</li> <li>Use absolute path to load Modules Tcl extension library. (fix issue #344 with contribution from Roy Storey)</li> <li>Fix formatting of error stack trace not to look for internal commands to withdraw if start-up stack pattern cannot be matched.</li> </ul> <p>The list of all changes made in this new version are described in the NEWS document. Details on the new features introduced in the 4.5 series are provided in the MIGRATING document.</p> <p><a href="http://modules.readthedocs.io/en/stable/MIGRATING.html?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-4-5-1-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.NUxs1Nx67Nc7ramlrtyM&amp;utm_medium=newspage" target="_blank" rel="noopener">http://modules.readthedocs.io/en/stable/MIGRATING.html</a><br> <a href="http://modules.readthedocs.io/en/stable/NEWS.html?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-4-5-1-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.NUxs1Nx67Nc7ramlrtyM&amp;utm_medium=newspage" target="_blank" rel="noopener">http://modules.readthedocs.io/en/stable/NEWS.html</a></p> <p>The tarball of this new version can be downloaded at:</p> <p><a href="http://downloads.sourceforge.net/modules/modules-4.5.1.tar.gz?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-4-5-1-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.NUxs1Nx67Nc7ramlrtyM&amp;utm_medium=newspage" target="_blank" rel="noopener">http://downloads.sourceforge.net/modules/modules-4.5.1.tar.gz</a></p> <p>The zipball to install this new version on Windows platform can be downloaded at:</p> <p><a href="http://downloads.sourceforge.net/modules/modules-4.5.1-win.zip?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-4-5-1-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.NUxs1Nx67Nc7ramlrtyM&amp;utm_medium=newspage" target="_blank" rel="noopener">http://downloads.sourceforge.net/modules/modules-4.5.1-win.zip</a></p> <p>If you encounter any issue, please let us know by creating a ticket on the project bug tracker at:</p> <p><a href="https://github.com/cea-hpc/modules/issues?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-4-5-1-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.NUxs1Nx67Nc7ramlrtyM&amp;utm_medium=newspage" target="_blank" rel="noopener">https://github.com/cea-hpc/modules/issues</a></p> <p>Special thanks to Roy Storey for his code contribution on this release. Many thanks also to all of you who improve Modules by reporting bugs or sharing new ideas.</p> Xavier Delaruelle[email protected]urn:noticeable:publications:7BvC4TDjpbRwv3DOyTI72020-04-08T05:02:00.001Z2020-04-08T05:10:16.755ZModules@latest (aka 4.5.0) releasedThis is it. After 3 months of development, version 4.5.0 of Modules is available. It is as always backward-compatible with previous version 4 releases and primarily adds features and fixes bugs. Major new features introduced in v4.5.0...<p>This is it. After 3 months of development, version 4.5.0 of Modules is available. It is as always backward-compatible with previous version 4 releases and primarily adds features and fixes bugs. Major new features introduced in v4.5.0 since v4.4 are:</p> <ul> <li><a href="https://timeline.noticeable.io/cbzeG7wTvAIqj21zbUmx/posts/ml-command?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-latest-aka-4-5-0-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.7BvC4TDjpbRwv3DOyTI7&amp;utm_medium=newspage" target="_blank" rel="noopener">ml command</a></li> <li><a href="https://timeline.noticeable.io/cbzeG7wTvAIqj21zbUmx/posts/json-format-output?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-latest-aka-4-5-0-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.7BvC4TDjpbRwv3DOyTI7&amp;utm_medium=newspage" target="_blank" rel="noopener">JSON format output</a></li> <li><a href="https://timeline.noticeable.io/cbzeG7wTvAIqj21zbUmx/posts/improved-windows-support?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-latest-aka-4-5-0-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.7BvC4TDjpbRwv3DOyTI7&amp;utm_medium=newspage" target="_blank" rel="noopener">Improved Windows support</a></li> <li><a href="https://timeline.noticeable.io/cbzeG7wTvAIqj21zbUmx/posts/error-stack-trace?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-latest-aka-4-5-0-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.7BvC4TDjpbRwv3DOyTI7&amp;utm_medium=newspage" target="_blank" rel="noopener">Error stack trace</a></li> <li><a href="https://timeline.noticeable.io/cbzeG7wTvAIqj21zbUmx/posts/automatic-default-and-latest-symbolic-versions?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-latest-aka-4-5-0-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.7BvC4TDjpbRwv3DOyTI7&amp;utm_medium=newspage" target="_blank" rel="noopener">Automatic default and latest symbolic versions</a></li> </ul> <p>Details on these features included in this new release are provided in the <a href="http://modules.readthedocs.io/en/stable/MIGRATING.html?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-latest-aka-4-5-0-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.7BvC4TDjpbRwv3DOyTI7&amp;utm_medium=newspage" target="_blank" rel="noopener">MIGRATING</a> document. The list of all changes made in this new version are described in the <a href="http://modules.readthedocs.io/en/stable/NEWS.html?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-latest-aka-4-5-0-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.7BvC4TDjpbRwv3DOyTI7&amp;utm_medium=newspage" target="_blank" rel="noopener">NEWS</a> document.</p> <p>The tarball of this new version can be downloaded at:</p> <p><a href="http://downloads.sourceforge.net/modules/modules-4.5.0.tar.gz?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-latest-aka-4-5-0-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.7BvC4TDjpbRwv3DOyTI7&amp;utm_medium=newspage" target="_blank" rel="noopener">http://downloads.sourceforge.net/modules/modules-4.5.0.tar.gz</a></p> <p><strong>NEW</strong> The zipball to install this new version on Windows platform can be downloaded at:</p> <p><a href="http://downloads.sourceforge.net/modules/modules-4.5.0-win.zip?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-latest-aka-4-5-0-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.7BvC4TDjpbRwv3DOyTI7&amp;utm_medium=newspage" target="_blank" rel="noopener">http://downloads.sourceforge.net/modules/modules-4.5.0-win.zip</a></p> <p>If you encounter any issue, please let us know by creating a ticket on the project bug tracker at:</p> <p><a href="https://github.com/cea-hpc/modules/issues?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.modules-latest-aka-4-5-0-released&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.7BvC4TDjpbRwv3DOyTI7&amp;utm_medium=newspage" target="_blank" rel="noopener">https://github.com/cea-hpc/modules/issues</a></p> <p>Special thanks to Colin Marquardt, Jacques Raphanel, Andrey Portnoy, Armin Wehrfritz, Tom Payerle, Adrien Cotte, Dominique Martinet and Martin Schuster for their code contribution on this release. Many thanks also to all of you who improve Modules by reporting bugs or sharing new ideas.</p> Xavier Delaruelle[email protected]urn:noticeable:publications:m19DVBnxa763nDG2cwq62020-04-07T07:39:00.001Z2020-04-07T07:42:09.162ZAutomatic default and latest symbolic versionsWhen the implicit default mechanism and the advanced module version specifiers are both enabled, a default and a latest symbolic versions are automatically defined for each module name. This new feature gives the ability to select the...<p>When the implicit default mechanism and the <a href="https://modules.readthedocs.io/en/latest/MIGRATING.html?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.automatic-default-and-latest-symbolic-versions&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.m19DVBnxa763nDG2cwq6&amp;utm_medium=newspage#advanced-module-version-specifiers" target="_blank" rel="noopener">advanced module version specifiers</a> are both enabled, a <code>default</code> and a <code>latest</code> symbolic versions are automatically defined for each module name.</p> <p>This new feature gives the ability to select the highest version available for a module, without knowing beforehand this version name:</p> <pre><code>$ module load -v foo@latest Loading foo/1.10 </code></pre> <p>The symbolic versions are automatically defined unless a symbolic version, an alias or a regular module version already exists for these <code>default</code> or <code>latest</code> version names.</p> Xavier Delaruelle[email protected]urn:noticeable:publications:7cOl5OIanrcgpGEpvXBo2020-03-31T13:20:00.001Z2020-03-31T13:23:09.505ZError stack traceError messages will now embed a stack trace for unknown errors to help localize the root cause of issues. This change applies to modulefile evaluation: Loading foo/1.2 Module ERROR: add-path cannot handle path equals to...<p>Error messages will now embed a stack trace for unknown errors to help localize the root cause of issues. This change applies to modulefile evaluation:</p> <pre><code>Loading foo/1.2 Module ERROR: add-path cannot handle path equals to separator string while executing "append-path PATH :" (file "/path/to/modulefiles/foo/1.2" line 24) Please contact &lt;root@localhost&gt; </code></pre> <p>A stack trace is also returned when an unknown error occurs in <code>modulecmd.tcl</code> script, which facilitates issue report and analysis:</p> <pre><code>$ module load bar ERROR: invalid command name "badcommand" while executing "badcommand" (procedure "module" line 14) invoked from within "module load bar" ("eval" body line 1) invoked from within "eval $execcmdlist" Please report this issue at https://github.com/cea-hpc/modules/issues </code></pre> <p>This new feature is available in git repository and will be included into the upcoming v4.5 release.</p> Xavier Delaruelle[email protected]urn:noticeable:publications:f4KVULPSVC4Ocnb1COtM2020-03-10T05:23:00.001Z2020-03-10T05:38:36.806ZImproved Windows supportA new option to the ./configure script named --enable-windows-support is introduced to install additional files relative to the enablement of Modules on the Windows platform. When set, this option installs module.cmd, ml.cmd and envml...<p>A new option to the <code>./configure</code> script named <code>--enable-windows-support</code> is introduced to install additional files relative to the enablement of Modules on the Windows platform. When set, this option installs <code>module.cmd</code>, <code>ml.cmd</code> and <code>envml.cmd</code> scripts in <code>bindir</code> and initialization script <code>cmd.cmd</code> in <code>initdir</code>. With these four files the Modules installation may be used from either a Unix or a Windows platform.</p> <p><code>module.cmd</code>, <code>ml.cmd</code> and <code>envml.cmd</code> scripts respectively provide the <code>module</code>, <code>ml</code> and <code>envml</code> commands for Windows <code>cmd</code> terminal shell, relying on <code>modulecmd.tcl</code> script which was already able to produce shell code for this Windows shell. Initialization script <code>cmd.cmd</code> adds the directory of <code>module.cmd</code>, <code>ml.cmd</code> and <code>envml.cmd</code> to <code>PATH</code>.</p> <p>These Windows-specific files are relocatable: <code>module.cmd</code>, <code>ml.cmd</code> and <code>envml.cmd</code> scripts expect to find initialization script <code>cmd.cmd</code> in the <code>init</code> directory next to them (to setup Modules-specific variables in current environment) and <code>cmd.cmd</code> expects <code>modulecmd.tcl</code> to be found in <code>libexec</code> directory and the 2 commands in <code>bin</code> directory next to it.</p> <p>Starting from this <code>4.5</code> release a distribution zipball will be published to install Modules on Windows. This zip archive ships an install and an uninstall scripts (<code>INSTALL.bat</code> and <code>UNINSTALL.bat</code>). The zipball can be built locally from Modules sources by running <code>make dist-win</code>.</p> <p>The <a href="https://modules.readthedocs.io/en/latest/INSTALL-win.html?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.improved-windows-support&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.f4KVULPSVC4Ocnb1COtM&amp;utm_medium=newspage" target="_blank" rel="noopener">Installing Modules on Windows</a> document is provided to guide you to install Modules from the distribution zipball.</p> <p>All of this is already available in git repository and will be shipped into the upcoming v4.5 release.</p> Xavier Delaruelle[email protected]urn:noticeable:publications:RMmo9r2f7U7JyY5rAG812020-01-29T07:46:00.001Z2020-01-29T07:48:15.050ZJSON format outputThe -j and --json command line switches are added for the avail, list, savelist, whatis and search module sub-commands. When set, the output result of these sub-commands is rendered in JSON format: $ module avail --json bar | python...<p>The <code>-j</code> and <code>--json</code> command line switches are added for the <code>avail</code>, <code>list</code>, <code>savelist</code>, <code>whatis</code> and <code>search</code> module sub-commands. When set, the output result of these sub-commands is rendered in <a href="https://tools.ietf.org/html/rfc8259?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.json-format-output&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.RMmo9r2f7U7JyY5rAG81&amp;utm_medium=newspage" target="_blank" rel="noopener">JSON</a> format:</p> <pre><code>$ module avail --json bar | python -mjson.tool { "/path/to/modulefiles": { "bar/2.3": { "name": "bar/2.3", "pathname": "/path/to/modulefiles/bar/2.3", "symbols": [ "default" ], "type": "modulefile" }, "bar/3.4": { "name": "bar/3.4", "pathname": "/path/to/modulefiles/bar/3.4", "symbols": [], "type": "modulefile" } } } $ ml whatis -j foo/1.2.3 | python -mjson.tool { "/path/to/modulefiles": { "foo/1.2.3": { "name": "foo/1.2.3", "whatis": [ "The foo/1.2.3 modulefile" ] } } } </code></pre> <p>This new feature is available in git repository and will be included into the upcoming v4.5 release.</p> Xavier Delaruelle[email protected]urn:noticeable:publications:f2gYYjGNHdwmg1aTpibc2020-01-16T06:55:00.001Z2020-01-16T07:00:54.544Zml command The ml command is added to Modules. ml is a frontend to the module command that reduces the number of characters to type to trigger module actions. With no argument provided ml is equivalent to module list, ml foo corresponds to module...<p>The <code>ml</code> command is added to Modules. <code>ml</code> is a frontend to the <code>module</code> command that reduces the number of characters to type to trigger module actions.</p> <p>With no argument provided <code>ml</code> is equivalent to <code>module list</code>, <code>ml foo</code> corresponds to <code>module load foo</code> and <code>ml -foo</code> means <code>module unload foo</code>:</p> <pre><code>$ ml foo $ ml Currently Loaded Modulefiles: 1) foo/2 $ ml -foo $ ml No Modulefiles Currently Loaded. </code></pre> <p>Multiple modules to either load or unload can be combined on a single command. The unloads are first processed then the loads.</p> <p><code>ml</code> accepts all command-line switches and sub-commands accepted by <code>module</code> command:</p> <pre><code>$ ml avail -t foo foo/1 foo/2 </code></pre> <p>This handy interface has been originally developed by the <a href="https://github.com/TACC/Lmod?utm_source=noticeable&amp;utm_campaign=cbzeg7wtvaiqj21zbumx.ml-command&amp;utm_content=publication+link&amp;utm_id=cbzeG7wTvAIqj21zbUmx.UPOFxJbXsysxyt1L7iHB.f2gYYjGNHdwmg1aTpibc&amp;utm_medium=newspage" target="_blank" rel="noopener">Lmod</a> project. Having this command line interface also supported on Modules helps to provide a similar user experience whatever the module implementation used.</p> <p>This new feature is available in git repository and will be included into the upcoming v4.5 release.</p> Xavier Delaruelle[email protected]