Project

General

Profile

Titan compile » History » Version 3

Henrik Levämäki, 2016-07-11 12:53

1 1 Henrik Levämäki
h1. Titan compile
2 2 Henrik Levämäki
3
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
5
The following command can be used to access CPU information (make, model, supported instruction sets etc.):
6
7
<pre>
8
less /proc/cpuinfo
9
</pre>
10
11
With Intel compilers, one can therefore use the following compiler flag to take advantage of AVX2:
12
13
<pre>
14 3 Henrik Levämäki
-xCORE-AVX2 (-xHost should also enable AVX2)
15 2 Henrik Levämäki
</pre>