Jetstream+Tutorial+for+New+Students+-+Graham

=Jetstream Tutorial for New Students - The Graham System=

1. Getting an account
code >> ssh @graham.computecanada.ca code
 * 1) Go to the Compute Canada Database (CCDB) at https://ccdb.computecanada.ca
 * 2) Click on “Register”; agree to the Acceptable Usage Policy; then fill out and submit a Compute Canada account application. Indicate on the application form in step 2 that you are a “Sponsored User”. Enter the PI’s Compute Canada Role Identifier (CCRI); Prof. Zingg's is syu-780.
 * 3) The PI will receive a request to approve the account application.
 * 4) After a few days, the you will receive a Compute Canada account confirmation email.
 * 5) On Graham, logging in automatically creates your account. Log in using your compute canada username and password by:

A) Setup your .bashrc file
1. Download the sample .bashrc file for graham and put it in your home directory (scp it from oddjob or copy and paste in a text editor.) 2. Make sure you name it ".bashrc". Source it by (all changes you ever make to this file must be sourced) 3. IMPORTANT: Chane all instances of to your username (your oddjob or graham username as appropriate)!! code >> source .bashrc code

B) Setup some directories
code >> mkdir ~/bin >> mkdir ~/grid_utils code

C) Setup SSH keys
1. On the HPC system (SciNet, Graham, etc) code >> ssh-keygen -t rsa code When prompted, enter a passphrase.

2. Now transfer the public keys to your local machine (and vice versa). On the HPC system (eg graham): code >> ssh-copy-id @oddjob.utias.utoronto.ca code On your local machine code >> ssh-copy-id @graham.computecanada.ca code

3. Settingup Jetstream
1. Get a copy of the code from the central repository code >> git clone -o central @oddjob.utias.utoronto.ca:/nfs/carv/d1/people/comp-aero/jetstream.git jetstream code

2. Now make it code >> cd >> cd jetstream >> ./make_jetstream code The make_jetstream script compiles our code (jetstream) as well as third-party packages. You only need to run it when you first get the code and after group merges. Make sure the executable was created (and has the current time stamp) by code >> ls -l ~/bin/jetstream_x86_64 code