<br /><div>The Spack package for CP2K is currently receiving a lot of attention:<br /></div><div> </div><div> https://github.com/spack/spack/commits/develop/var/spack/repos/builtin/packages/cp2k</div><div><br /></div><div>I'd suggest you check back again in a few weeks or reach out to the package maintainers directly.</div><div><br /></div><div>-Ole<br /></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Thursday, October 19, 2023 at 10:04:55 PM UTC+2 Mario A Bianchet wrote:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>Hey Ole</div><div><br></div><div>I am using spack to install it with gcc12.1<br></div><br><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Thursday, October 19, 2023 at 6:44:33 AM UTC-4 Ole Schütt wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Mario,<br><br>> The variable DBL_DECIMAL_DIG; is now declared in cfloat.h not anymore in float.h<br><br>I believe this only applies to C++. Since <font face="Courier New">grid_cpu_collocate.c</font> is a C file, the <font face="Courier New">float.h</font> header should still be correct.<br><br>Your build probably fails because you selected an older standard. The <font face="Courier New">DBL_DECIMAL_DIG</font> macro was only added in the C11.<div><br></div><div><div>-Ole<br></div><div><div><br></div></div></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Thursday, October 19, 2023 at 5:33:12 AM UTC+2 Mario A Bianchet wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Hello <br></div><div>cp2k 2023.2 verion<br></div><div>The variable DBL_DECIMAL_DIG; is now declared in cfloat.h not anymore in float.h</div><div>error:</div><div><br></div><div> 327 47 | const int D = DBL_DECIMAL_DIG;<br> 328 | ^~~~~~~~~~~~~~~<br> 329 | DECIMAL_DIG<br> 330 /tmp/mbianch1/spack-stage/spack-stage-cp2k-2023.2-du533sl6bhg7revw3abcejktx7qaqm3w/spack-src/src/grid/cpu/grid_cpu_collocate.c:47:17: note: each undeclared identifier is reported only once ,,,</div><div><br></div><div>Mario<br></div></blockquote></div></blockquote></div></blockquote></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/1237c8aa-fa82-4504-9023-a1a17e67ee69n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/1237c8aa-fa82-4504-9023-a1a17e67ee69n%40googlegroups.com</a>.<br />