<div>Hi,</div><div><br></div><div>I am using intel compiler 19.1.3 to compile CP2K, while a few things indeed confuse me. AFAIK, intel compilers default to std=gnu89 and OpenMP is not enabled by default, thus requires those options being turn on manually (-std=gnu99, -qopenmp). However, I do not see the toolchain script provide such flags to compilers, thus making the compilation fail.</div><div><br></div><div>One especially interesting thing is, because some libxc C codes use gnu99 code style that breaks icc std=gnu89 compilation, no libxc library is generated, however, the toolchain script thinks "libxc installation successful, continue".</div><div><br></div><div>This not only affects library compilations, but also affects the arch files generated. Lacking "-std=gnu99 -qopenmp" makes a lot of CP2K code compilation failure.</div><div><br></div><div>Am I missing something? Is there a way to set initial CFLAGS/FCFLAGS that the toolchain script must append to?<br></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/0b0fea32-1825-4fcd-9879-91689976cca2n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/0b0fea32-1825-4fcd-9879-91689976cca2n%40googlegroups.com</a>.<br />