How are we deciding the memory alignment that BuildSystem should choose?
5 Sep
2017
5 Sep
'17
12:49 p.m.
Folks, I am wondering how PETSc's BuildSystem currently chooses the memory alignment to use. In the example file I provide in the repo for the Cori KNL nodes, I specify '--with-memalign=64' to match the cache line width. If I don't do this, then configure chooses a 16 byte alignment. Do people think that we should try to make a better effort to choose a more appropriate alignment? I believe that all modern x86 CPUs use a 64 byte cache width, so should we be defaulting to that? I don't know how much this matters on a Xeon processor, but it can be important on Xeon Phi. --Richard
3262
Age (days ago)
3262
Last active (days ago)
0 comments
1 participants
participants (1)
-
Richard Tran Mills