Set up model environment : Différence entre versions
m (→Set up the model environment) |
m (→Set up the model environment) |
||
Ligne 1: | Ligne 1: | ||
= Set up the model environment = | = Set up the model environment = | ||
− | You have to do this only once. But before you set up the model environment, make sure you have the right ARMNLIB resp. [[The SSM environment|SSM environment]]. | + | You have to do this only once. <br>But before you set up the model environment, make sure you have the right ARMNLIB resp. [[The SSM environment|SSM environment]]. |
+ | |||
+ | |||
+ | |||
+ | #Allow 'ssh $TRUE_HOST' without typing password: <br> <span style="font-weight: bold;">cd ~/.ssh</span><br>Only if there is '''no(!)''' file 'id_rsa.pub' create it with:<br> <span style="font-weight: bold;"> ssh-keygen</span> (press just 'Enter' whenever asked a question, 3 times) <br>then<br> <span style="font-weight: bold;">cat id_rsa.pub >> authorized_keys2</span> <span style="font-weight: bold;" /> <br><br> | ||
+ | #Create directories for running CRCM5.<br>Create directory/link for the execution directory (where the model will be running):<br>''' mkdir ~/MODEL_EXEC_RUN<br> cd ~/MODEL_EXEC_RUN<br> mkdir -p /sb/project/xgk-345-ab/${USER}/EXECDIR<br> ln -s /sb/project/xgk-345-ab/${USER}/EXECDIR localhost<br> ln -s /sb/project/xgk-345-ab/${USER}/EXECDIR guillimin<br>'''Create directory/link for the listings:<br>''' mkdir ~/listings<br> cd ~/listings<br> mkdir -p /sb/project/xgk-345-ab/${USER}/Listings<br> ln -s /sb/project/xgk-345-ab/${USER}/Listings localhost<br> ln -s /sb/project/xgk-345-ab/${USER}/Listings guillimin<br>'''<br> | ||
+ | #Set project name of which to use the core allocation<br>You will have to create a file in your HOME on guillimin which is called: <br> '''${HOME}/.CLUMEQ_accnt '''<br> <br>This file has to contain 1 variable called 'RAPid', set to the RAPid of the project under which you want to submit your job. <br>For people working for or having their account via Pierre Gauthier, Laxmi Sushama, René Laprise or Peter Yau you will have to set in the above file: <br> '''RAPid=xgk-345-ac '''<br> <br>Have a look at my file if you like: <br> ~winger/.CLUMEQ_accnt <br> | ||
+ | #Open your HOME to the world<br>If you do want my or other help I suggest you open your HOME to the world:<br> '''chmod 755 /home/$USER'''<br> | ||
+ | |||
+ | <br> |
Version depuis le 7 d'août 2013 à 20:10
Set up the model environment
You have to do this only once.
But before you set up the model environment, make sure you have the right ARMNLIB resp. SSM environment.
- Allow 'ssh $TRUE_HOST' without typing password:
cd ~/.ssh
Only if there is no(!) file 'id_rsa.pub' create it with:
ssh-keygen (press just 'Enter' whenever asked a question, 3 times)
then
cat id_rsa.pub >> authorized_keys2 <span style="font-weight: bold;" /> - Create directories for running CRCM5.
Create directory/link for the execution directory (where the model will be running):
mkdir ~/MODEL_EXEC_RUN
cd ~/MODEL_EXEC_RUN
mkdir -p /sb/project/xgk-345-ab/${USER}/EXECDIR
ln -s /sb/project/xgk-345-ab/${USER}/EXECDIR localhost
ln -s /sb/project/xgk-345-ab/${USER}/EXECDIR guillimin
Create directory/link for the listings:
mkdir ~/listings
cd ~/listings
mkdir -p /sb/project/xgk-345-ab/${USER}/Listings
ln -s /sb/project/xgk-345-ab/${USER}/Listings localhost
ln -s /sb/project/xgk-345-ab/${USER}/Listings guillimin - Set project name of which to use the core allocation
You will have to create a file in your HOME on guillimin which is called:
${HOME}/.CLUMEQ_accnt
This file has to contain 1 variable called 'RAPid', set to the RAPid of the project under which you want to submit your job.
For people working for or having their account via Pierre Gauthier, Laxmi Sushama, René Laprise or Peter Yau you will have to set in the above file:
RAPid=xgk-345-ac
Have a look at my file if you like:
~winger/.CLUMEQ_accnt - Open your HOME to the world
If you do want my or other help I suggest you open your HOME to the world:
chmod 755 /home/$USER