Migration to the new standard environment: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
(Created page with "= How can I change which version of <code>StdEnv</code> is my default? = Our clusters use different versions of <code>StdEnv</code> as their default version. As of August 2020...")
(No difference)

Revision as of 19:16, 19 March 2021

How can I change which version of StdEnv is my default?

Our clusters use different versions of StdEnv as their default version. As of August 2020, Cedar and Graham use StdEnv/2016.4, while Béluga uses StdEnv/2018.3. Niagara also defaults to StdEnv/2018.3 if you run module load CCEnv StdEnv. In the future, we will probably update all of them to use StdEnv/2020. However, users can specify their own default by running the following command (example provided for the 2020 version)

Question.png
[name@server ~]$ echo "module-version StdEnv/2020 default" >> $HOME/.modulerc

Do I need to reinstall/recompile my code if the StdEnv version changes?

Yes. If you compile your own code, or install R or Python packages, you should recompile or reinstall the packages you need using the newest version of the standard environment.