Git is good to simultaneously keep various versions. A git intro:
Create a dir for the project:
mkdir PROJECT; cd PROJECT
Create a branch (you can do this several times):
git branch MYBRANCHNAME
Go to a branch:
git checkout MYBRANCHNAME
vi, make, ....
git add .; git commit -mCOMMENT
We'll test this on /parallel-class/mic/matmul3.cc for the Xeon and the Xeon Phi.
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
- Sample_c: several programs.
- Tachyon samples with various backends.