Standard software environments/en: Difference between revisions

Updating to match new version of source page
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 45: Line 45:


= How can I change which version of <code>StdEnv</code> is my default? =
= 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, [[Cedar]] and [[Graham]] use <code>StdEnv/2016.4</code>, while [[Béluga/en|Béluga]] uses <code>StdEnv/2018.3</code>.  [[Niagara]] also defaults to <code>StdEnv/2018.3</code> if you <code>module load CCEnv StdEnv</code>. In the future, we will probably switch all of them to use <code>StdEnv/2020</code>. Users can however specify their own default by running the following command (example provided for the 2020 version)  
Our clusters use different versions of <code>StdEnv</code> as their default version. As of August 2020, [[Cedar]] and [[Graham]] use <code>StdEnv/2016.4</code>, while [[Béluga/en|Béluga]] uses <code>StdEnv/2018.3</code>.  [[Niagara]] also defaults to <code>StdEnv/2018.3</code> if you <code>module load CCEnv StdEnv</code>. In the future, we will probably switch all of them to use <code>StdEnv/2020</code>. However, users can specify their own default by running the following command (example provided for the 2020 version)  
{{Command|echo "module-version StdEnv/2020 default" >> $HOME/.modulerc}}
{{Command|echo "module-version StdEnv/2020 default" >> $HOME/.modulerc}}


= Do I need to reinstall/recompile my code if the <code>StdEnv</code> version changes? =
= Do I need to reinstall/recompile my code if the <code>StdEnv</code> 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 newer version of the standard environment.
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.
38,760

edits