JeffersonLab / qphix

QCD for Intel Xeon Phi and Xeon processors
http://jeffersonlab.github.io/qphix/
Other
13 stars 11 forks source link

QDP Allocator in _noqdp timers causes crash. #24

Open bjoo opened 7 years ago

bjoo commented 7 years ago

The time_dslash_noqdp and time_clov_noqdp timer functions do not initialize QDP++ and hence if compiled with --enable-qdpalloc the allocator is not initialized (?).

A workaround is to ensure, that for benchmarking in isolation, QPhiX is not compiled with --enable-qdpalloc (e.g. one can try --enable-mm-malloc instead).

bjoo commented 7 years ago

An alternative workaround is to compile QDP++ without the TBB Pool allocator (NB: TBB Pool allocator needs to be explicitly enabled. The default configuration does not use it). In this case QDP++ allocator is some kind of aligned malloc.