How do I make use of this HINT?

58 views
Skip to first unread message

David Gunter

unread,
May 8, 2019, 2:16:52 PM5/8/19
to cp2k
I compiled cp2k with the Intel 2018 compiler and using Intel MPI. When I run the code, I get this message:

HINT in environment.F:804 The compiler target flags used to build this binary are insufficiently exploiting the extensions which are available for this CPU model.

What do I need to do?

Tiziano Müller

unread,
May 10, 2019, 3:55:15 AM5/10/19
to David Gunter, cp...@googlegroups.com
Hi David,

this means that when building CP2K you could have added specific
compiler flags to optimize the generated code for the target CPU.

Based on [1] it seems that the Intel compiler only enables support for
SSE2 by default (independently of the optimization level).

If you need the CP2K executable to be a universal binary running on
different CPUs then there is not much you can do here. If you can limit
it to specific CPUs, then you probably should add matching optimization
options, using the flags documented in [1].

If you already have `-xHost` in your flags, then you might use a CPU
with a smaller instruction set when building compared to when running CP2K.

Hope that helps,
best regards,
Tiziano

[1]
https://software.intel.com/en-us/articles/performance-tools-for-software-developers-intel-compiler-options-for-sse-generation-and-processor-specific-optimizations
> --
> You received this message because you are subscribed to the Google
> Groups "cp2k" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to cp2k+uns...@googlegroups.com
> <mailto:cp2k+uns...@googlegroups.com>.
> To post to this group, send email to cp...@googlegroups.com
> <mailto:cp...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/cp2k.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/cp2k/b6e23520-ba72-44f4-99f8-1110929e49d3%40googlegroups.com
> <https://groups.google.com/d/msgid/cp2k/b6e23520-ba72-44f4-99f8-1110929e49d3%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

--
Tiziano Müller
University of Zurich
Department of Chemistry
Winterthurerstrasse 190
CH-8057 Zürich

Tel: +41 44 63 54234
www.chem.uzh.ch
tiziano...@chem.uzh.ch

Tiziano Müller

unread,
May 10, 2019, 4:19:26 AM5/10/19
to cp...@googlegroups.com, David Gunter
Reply all
Reply to author
Forward
0 new messages