Migration to the new standard environment: Difference between revisions

no edit summary
m (Mboisson a déplacé la page Migration to the 2020 standard environment vers Migration to the new standard environment sans laisser de redirection: Part of translatable page "Migration to the 2020 standard environment")
No edit summary
Line 2: Line 2:


<translate>
<translate>
= What are the differences between <tt>StdEnv/2020</tt> and the earlier environments? = <!--T:1-->
= What are the differences between <tt>StdEnv/2023</tt> and the earlier environments? = <!--T:1-->
The differences are discussed in [[Standard software environments]].
The differences are discussed in [[Standard software environments]].


= Can I change my default standard environment? = <!--T:2-->
= Can I change my default standard environment? = <!--T:2-->
Prior to April first 2021, our clusters used different <code>StdEnv</code> versions as their default: [[Cedar]] and [[Graham]] used <code>StdEnv/2016.4</code>, while [[Béluga/en|Béluga]] used <code>StdEnv/2018.3</code>. [[Niagara]] defaulted to <code>StdEnv/2018.3</code> when you ran <code>module load CCEnv StdEnv</code>. ''' <code>StdEnv/2020</code> is now the default environment for all clusters.''' However, you can specify your own default environment at any time by modifying the <code>$HOME/.modulerc</code> file.  For example, running the following command will set your default environment to <code>StdEnv/2018.3</code>:
Prior to April first 2024, ''' <code>StdEnv/2023</code> will be the default environment for all clusters.''' However, you can specify your own default environment at any time by modifying the <code>$HOME/.modulerc</code> file.  For example, running the following command will set your default environment to <code>StdEnv/2020</code>:
{{Command|echo "module-version StdEnv/2018.3 default" >> $HOME/.modulerc}}
{{Command|echo "module-version StdEnv/2020 default" >> $HOME/.modulerc}}
You must log out and log in again for this change to take effect.
You must log out and log in again for this change to take effect.


Line 15: Line 15:
= How can I use an earlier environment? = <!--T:4-->
= How can I use an earlier environment? = <!--T:4-->
If you have an existing workflow and want to continue to use the same software versions you are using now, simply add  
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
   module load StdEnv/2020
or
  module load StdEnv/2016.4
to your job scripts before loading any other modules.   
to your job scripts before loading any other modules.   


= Will the earlier environments be removed? = <!--T:5-->
= Will the earlier environments be removed? = <!--T:5-->
The earlier environments and any software dependent on them will remain available. However, our staff will no longer install anything in the old environments.
The earlier environments and any software dependent on them will remain available, but versions 2016.4 and 2018.3 are no longer supported, and we recommend not using them. However, our staff will no longer install anything in the old environments.


= Can I mix modules from different environments? = <!--T:6-->
= Can I mix modules from different environments? = <!--T:6-->
Line 28: Line 26:


= Which environment should I use? = <!--T:7-->
= Which environment should I use? = <!--T:7-->
If you are starting a new project, or if you want to use a newer version of an application, you should use <tt>StdEnv/2020</tt> by adding  
If you are starting a new project, or if you want to use a newer version of an application, you should use <tt>StdEnv/2023</tt> by adding  
   module load StdEnv/2020
   module load StdEnv/2023
to your job scripts. This command does not need to be deleted to use <tt>StdEnv/2020</tt> after April 1.
to your job scripts. This command does not need to be deleted to use <tt>StdEnv/2023</tt> after April 1.


= Can I keep using an older environment by loading modules in my <code>.bashrc</code>? = <!--T:8-->
= Can I keep using an older environment by loading modules in my <code>.bashrc</code>? = <!--T:8-->
Bureaucrats, cc_docs_admin, cc_staff, rsnt_translations
2,837

edits