Aman,
If you want to run in native mode on KNC you could use the attached arch file as a starting point. As Hans said, it’s basically a case of adding the -mmic flag to cross-compile for the KNC’s processors. As usual, when at the bleeding edge of ifort versions, there are a few files which need to be compiled at lower optimisation levels.
The main issue with CP2K on KNC is that in order to get good performance, you need to get close to 240 threads (hence why we use the MPI+OpenMP version of CP2K), but to find a problem where you can get good scaling to 240 threads, while still fitting in the KNC’s memory (6, 8 or 16 GB depending on the exact model) is hard.
There are some (slightly outdated now) performance results here
http://www.prace-ri.eu/IMG/pdf/wp140.pdf
- Iain
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.