Titan compile » History » Version 4
Henrik Levämäki, 2016-07-11 12:54
1 | 1 | Henrik Levämäki | h1. Titan compile |
---|---|---|---|
2 | 2 | Henrik Levämäki | |
3 | 2 | Henrik Levämäki | The CPUs on Titan support so called AVX/AVX2 instructions (https://en.wikipedia.org/wiki/Advanced_Vector_Extensions), which make floating point-intensive calculations faster (depending on the code, ~2X speed boost vs. Pleione are possible). |
4 | 2 | Henrik Levämäki | |
5 | 2 | Henrik Levämäki | The following command can be used to access CPU information (make, model, supported instruction sets etc.): |
6 | 2 | Henrik Levämäki | |
7 | 2 | Henrik Levämäki | <pre> |
8 | 2 | Henrik Levämäki | less /proc/cpuinfo |
9 | 2 | Henrik Levämäki | </pre> |
10 | 2 | Henrik Levämäki | |
11 | 2 | Henrik Levämäki | With Intel compilers, one can therefore use the following compiler flag to take advantage of AVX2: |
12 | 2 | Henrik Levämäki | |
13 | 2 | Henrik Levämäki | <pre> |
14 | 4 | Henrik Levämäki | -xCORE-AVX2 (using -xHost should also enable AVX2) |
15 | 2 | Henrik Levämäki | </pre> |