PAR Lecture 23, Thu Apr 13
Table of contents
1 Git
Git is good to simultaneously keep various versions. A git intro:
Create a dir for the project:
mkdir PROJECT; cd PROJECT
Initialize:
git init
Create a branch (you can do this several times):
git branch MYBRANCHNAME
Go to a branch:
git checkout MYBRANCHNAME
Do things:
vi, make, ....
Save it:
git add .; git commit -mCOMMENT
Repeat
We'll test this on /parallel-class/mic/matmul3.cc for the Xeon and the Xeon Phi.
2 Intel tutorials
Today we'll run some Intel tutorials. Students with their laptops are encouraged to participate.
Setting things up in your home dir (or whereever):
- mkdir samples; cd samples
- source /parallel-class/mic/setup
For each sample,
- Get the tarball into your dir with wget
- Unpack it.
- cd into the subdir
- Browse readme.html and follow it.
Here are the samples.
- Intel® C++ Compiler - Using Auto-Vectorization Tutorial
- Intel® C++ Xeon Phi™ sample
- LEO_tutorial
- Sample_c: several programs.
- Tachyon samples with various backends.
Comments
Comments powered by Disqus