This page will explain how to get setup on Niagara. Your files from SciNet's GPC (project and home) have been cloned automatically (as they existed on April 15th, 2018)

1. Update your bash file. This file is nearly blank, and not a copy of what was on Scinet. You will need to add the following at the end of the bash.

export sys="niagara"

HOST=$(uname)
ARCH=$(uname)_$(uname -m)
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/$ARCH/lib:$HOME/jetstream/cgnslib_2.5/LINUX


# Load required modules
module load intel/2018.2
module load intelmpi/2018.2
module load git/2.16.3


2A. If you have/had a Scinet account:
Your copy of Jetstream on Scinet from April 15th was copied automatically to Niagara. Make sure it is up to date with any changes you've made since them by pulling from Scinet. Next, from your master branch, pull to get the latest group version of Jetstream with

git pull central master

and merge in any of your changes as needed.

2B. If you are starting fresh, i.e. did not have a Scinet account:
Get a fresh copy of Jetstream by

cd
git clone -o central <your-oddjob-username>@oddjob.utias.utoronto.ca:/nfs/carv/d1/people/comp-aero/jetstream.git jetstream



3. If you are using any of the PetSc functionality, follow the instructions for getting PetSc here. NOTE: This is temporary. Once the issues with the Niagara PetSc module have been worked out, we will use the system module.
Add the environment variables PETSC_DIR and PETSC_ARCH given by the PetSc configure script to your .bash file with, e.g.,

export PETSC_DIR=/gpfs/fs1/home/z/zingg/<username>/petsc-3.8.4
export PETSC_ARCH=arch-linux2-c-opt


4. Turn the petsc flag on/off as appropriate in the Jetstream makefile and compile everything with

./make_jetstream