Getting started : Différence entre versions

Un article de Informaticiens département des sciences de la Terre et l'atmosphère
Aller à: navigation, charcher
m
m (Start running CRCM5 in new environment)
Ligne 13: Ligne 13:
 
#Create two links in your HOME:<br>'''&nbsp; &nbsp; cd '''<br>'''&nbsp; &nbsp; ln -fs ~winger/ssm-domains/setup/v_000 ECssm <br>&nbsp; &nbsp; ln -fs ECssm/dot-profile-setup_1.0_multi/bin/.profile'''<br>Change the name of two files (or remove them): <br>'''&nbsp; &nbsp; mv .bash_profile .bash_profile- <br>&nbsp; &nbsp; mv .bashrc .bashrc-'''<br>Log out and back in. <br><br>  
 
#Create two links in your HOME:<br>'''&nbsp; &nbsp; cd '''<br>'''&nbsp; &nbsp; ln -fs ~winger/ssm-domains/setup/v_000 ECssm <br>&nbsp; &nbsp; ln -fs ECssm/dot-profile-setup_1.0_multi/bin/.profile'''<br>Change the name of two files (or remove them): <br>'''&nbsp; &nbsp; mv .bash_profile .bash_profile- <br>&nbsp; &nbsp; mv .bashrc .bashrc-'''<br>Log out and back in. <br><br>  
 
#There is no .profile_usr anymore. It got replaced by several .profiles which all have to be in your HOME in a directory called '.profile.d'.<br>Have a look at my .profile.d: <br>'''&nbsp; &nbsp; ls -al ~winger/.profile.d '''<br><br>I suggest you like to the same group profiles I link to: <br>'''&nbsp; &nbsp; cd ~/.profile.d <br>&nbsp; &nbsp; ln -s ~winger/.published_profile.d/.group_profile <br>&nbsp; &nbsp; ln -s ~winger/.published_profile.d/.group0_profile '''<br>This will give you some basic aliases I find quite useful. Have a look at them if you like. <br><br>Your own personal aliases, exports, etc. will go in the file<br>&nbsp;&nbsp;&nbsp; '''.interactive_profile '''<br>which you will have to create.<br><br>I am not sure yet if you will need a '.batch_profile' with the command 'umask 022'. Michel's default mask is fine, mine is not. That's why I put the 'umask 022'. <br><br>Then you either log out and back in again or source the new .profiles. <br><br>  
 
#There is no .profile_usr anymore. It got replaced by several .profiles which all have to be in your HOME in a directory called '.profile.d'.<br>Have a look at my .profile.d: <br>'''&nbsp; &nbsp; ls -al ~winger/.profile.d '''<br><br>I suggest you like to the same group profiles I link to: <br>'''&nbsp; &nbsp; cd ~/.profile.d <br>&nbsp; &nbsp; ln -s ~winger/.published_profile.d/.group_profile <br>&nbsp; &nbsp; ln -s ~winger/.published_profile.d/.group0_profile '''<br>This will give you some basic aliases I find quite useful. Have a look at them if you like. <br><br>Your own personal aliases, exports, etc. will go in the file<br>&nbsp;&nbsp;&nbsp; '''.interactive_profile '''<br>which you will have to create.<br><br>I am not sure yet if you will need a '.batch_profile' with the command 'umask 022'. Michel's default mask is fine, mine is not. That's why I put the 'umask 022'. <br><br>Then you either log out and back in again or source the new .profiles. <br><br>  
#Start running as if you were on marvin or colosse using the old environment.<br>On guillimin you can spy on me of course:<br>For executables (Note: The names of the absolutes are slightly different now)<br>&nbsp; &nbsp; '''/home/winger/gem/v_3.3.3/Abs/Original'''<br>config files:<br>&nbsp; &nbsp; '''/home/winger/gem/v_3.3.3/Config/CORDEX/Africa_0.44deg_new_env'''<br>
+
#Start running as if you were on marvin or colosse using the old environment.<br>On guillimin you can spy on me of course:<br>You will need links similar to these ones:<br>&nbsp;&nbsp;&nbsp; '''ls -l ~winger/MODEL_EXEC_RUN'''<br>&nbsp;&nbsp;&nbsp; '''ls -l ~winger/listings'''<br>Executable directory example (Note: The names of the absolutes are slightly different now)<br>&nbsp; &nbsp; '''/home/winger/gem/v_3.3.3/Abs/Original'''<br>Config files example:<br>&nbsp; &nbsp; '''/home/winger/gem/v_3.3.3/Config/CORDEX/Africa_0.44deg_new_env'''<br>
  
 
<br> <br>
 
<br> <br>

Version depuis le 23 de novembre 2011 à 14:48

en construction(cette page s'adresse principalement aux développeurs)

under construction(this page is mainly for developers)

Start running CRCM5 in new environment

  1. Create two links in your HOME:
        cd
        ln -fs ~winger/ssm-domains/setup/v_000 ECssm
        ln -fs ECssm/dot-profile-setup_1.0_multi/bin/.profile

    Change the name of two files (or remove them):
        mv .bash_profile .bash_profile-
        mv .bashrc .bashrc-

    Log out and back in.

  2. There is no .profile_usr anymore. It got replaced by several .profiles which all have to be in your HOME in a directory called '.profile.d'.
    Have a look at my .profile.d:
        ls -al ~winger/.profile.d

    I suggest you like to the same group profiles I link to:
        cd ~/.profile.d
        ln -s ~winger/.published_profile.d/.group_profile
        ln -s ~winger/.published_profile.d/.group0_profile

    This will give you some basic aliases I find quite useful. Have a look at them if you like.

    Your own personal aliases, exports, etc. will go in the file
        .interactive_profile
    which you will have to create.

    I am not sure yet if you will need a '.batch_profile' with the command 'umask 022'. Michel's default mask is fine, mine is not. That's why I put the 'umask 022'.

    Then you either log out and back in again or source the new .profiles.

  3. Start running as if you were on marvin or colosse using the old environment.
    On guillimin you can spy on me of course:
    You will need links similar to these ones:
        ls -l ~winger/MODEL_EXEC_RUN
        ls -l ~winger/listings
    Executable directory example (Note: The names of the absolutes are slightly different now)
        /home/winger/gem/v_3.3.3/Abs/Original
    Config files example:
        /home/winger/gem/v_3.3.3/Config/CORDEX/Africa_0.44deg_new_env