Tutorial¶
For Mp2 and Graham, use the “scractch” directories. If build problems, please remove the build directory if it exists, then retry :
$ rm -rf build
Graham (Mp2b): Tutorial 1¶
First steps¶
- Connect to Graham (Mp2b):$ ssh -X “user”@graham.computecanada.ca # where “user” is your compute canada/Mp2 Username
Ensure you have done the Pre-Steps described in Installation.
$ salloc –time=01:00:00 –ntasks=1 –mem-per-cpu=4000 –account=def-tremblay
$ module reset
$ module load nixpkgs/16.09 gcc/5.4.0 armadillo boost-mpi
$ cd ~/scratch
$ cp -r ~/projects/def-tremblay/tutorial_ctmo ./
$ srun ctmo params1.json
Here are the next steps.
Next steps¶
This will produce many files. Look at them with ls:
The important output files are greenUp.dat, hybUp.dat, selUp.dat. Note that the files are renamed corresponding to the current iteration.
Let us plot the green fonction.
$ gnuplot $ plot ‘greenUp.dat’ u 1:3 w lp ps 2