Migration to the new standard environment: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:


= How can I use the old environments ? =
= How can I use the old environments ? =
If you have an existing workflow and want to continue to use the same software versions you are using now, simply add <code>module load StdEnv/2018.3</code> or <code>module load StdEnv/2016.4</code> to your jobscript before loading any other modules.   
If you have an existing workflow and want to continue to use the same software versions you are using now, simply add  
  module load StdEnv/2018.3
or  
  module load StdEnv/2016.4
to your job script before loading any other modules.   


= Will old environments go away ? =  
= Will old environments go away ? =  

Revision as of 19:22, 19 March 2021

What are the differences between the old and the new environments ?

These differences are listed on the page Standard software environments.

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.

How can I use the old environments ?

If you have an existing workflow and want to continue to use the same software versions you are using now, simply add

 module load StdEnv/2018.3

or

 module load StdEnv/2016.4

to your job script before loading any other modules.

Will old environments go away ?

No, they will not go away. They and all the software dependent on them will remain available! However, Compute Canada staff will no longer install anything into the old environemnts.

Which environment should I use ?

If you are starting a new project, or if you want to use a newer version of some software, you should use StdEnv/2020. Today you can do this by adding module load StdEnv/2020 to your job script. As of April 1, it will be the default and the line will be unnecessary (though not a problem).