<div dir="ltr"><div><div>Like Alin said, this error looks like you're using a compiler that does not support the C++ standard used in the source code:<br>ISO C++ forbids declaration of 'parameter' with no type</div></div><div><br></div>I don't know if there is a suggested gcc version in the compilation instructions, however I was able to build cp2k along with a lot of its dependencies from their source using gcc-7 and openmpi-4. I'd highly recommend using it.<div><br></div><div><div>// Fatih</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 27, 2021 at 12:39 PM Alin Marin Elena <<a href="mailto:alinm.elena@gmail.com">alinm.elena@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Paul,<br>
<br>
your c++ compiler is very old, I suspect you did not set your<br>
environment correctly.<br>
<br>
Regards,<br>
Alin<br>
<br>
Without Questions there are no Answers!<br>
______________________________________________________________________<br>
Dr. Alin Marin ELENA<br>
<a href="http://alin.elena.space/" rel="noreferrer" target="_blank">http://alin.elena.space/</a><br>
______________________________________________________________________<br>
<br>
On Wed, 27 Oct 2021 at 17:13, Paul Arias <<a href="mailto:ariaspaul@gmail.com" target="_blank">ariaspaul@gmail.com</a>> wrote:<br>
><br>
> Hi Alin,<br>
><br>
> Thank you for the suggestion. Seems like I have quite a few errors on c++ compilation, so I should include the output of `g++ --version`:<br>
><br>
> g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)<br>
><br>
> Copyright (C) 2015 Free Software Foundation, Inc.<br>
><br>
> This is free software; see the source for copying conditions. There is NO<br>
><br>
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br>
><br>
> mpic++ already points to the same version of g++ as well.<br>
><br>
><br>
> Looking forward to hearing suggestions.<br>
><br>
><br>
> Best,<br>
><br>
> Paul<br>
><br>
><br>
><br>
> On Wednesday, October 27, 2021 at 2:51:55 AM UTC-4 <a href="mailto:alinm...@gmail.com" target="_blank">alinm...@gmail.com</a> wrote:<br>
>><br>
>> you may want to share make.log from that line.<br>
>> without is difficult to see what is the issue.<br>
>> and I assume you did not run out of memory for compilation.<br>
>><br>
>> Regards,<br>
>> Alin<br>
>><br>
>> Without Questions there are no Answers!<br>
>> ______________________________________________________________________<br>
>> Dr. Alin Marin ELENA<br>
>> <a href="http://alin.elena.space/" rel="noreferrer" target="_blank">http://alin.elena.space/</a><br>
>> ______________________________________________________________________<br>
>><br>
>> On Tue, 26 Oct 2021 at 20:23, Paul Arias <<a href="mailto:aria...@gmail.com" target="_blank">aria...@gmail.com</a>> wrote:<br>
>> ><br>
>> > I'm attempting to build cp2k with the following command<br>
>> ><br>
>> > ./install_cp2k_toolchain.sh --enable-libxsmm-master --with-intelmpi=system --with-libxc=install --with-fftw --with-mkl=system --with-scalapack --with-libsmm=install --with-libint=install --with-elpa=no --with-sirius=no --with-cmake=install<br>
>> ><br>
>> ><br>
>> > However, I receive this error:<br>
>> ><br>
>> > ==================== Installing LIBINT ====================<br>
>> ><br>
>> > libint-v2.6.0-cp2k-lmax-5.tgz is found<br>
>> ><br>
>> > Installing from scratch into /usr/src/cp2k/tools/toolchain/install/libint-v2.6.0-cp2k-lmax-5<br>
>> ><br>
>> > ERROR: (./scripts/stage3/install_libint.sh, line 89) Non-zero exit code detected.<br>
>> ><br>
>> ><br>
>> > this points to this line:<br>
>> ><br>
>> > make -j $(get_nprocs) > make.log 2>&1<br>
>> ><br>
>> > Would love some resources on how to get past this stage.<br>
>> ><br>
>> ><br>
>> > Thanks in advance,<br>
>> ><br>
>> > Paul<br>
>> ><br>
>> > --<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%2Buns...@googlegroups.com" target="_blank">cp2k+uns...@googlegroups.com</a>.<br>
>> > To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/3e38e8f4-c86b-4168-8041-966ed1ef500fn%40googlegroups.com" rel="noreferrer" target="_blank">https://groups.google.com/d/msgid/cp2k/3e38e8f4-c86b-4168-8041-966ed1ef500fn%40googlegroups.com</a>.<br>
><br>
> --<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%2Bunsubscribe@googlegroups.com" target="_blank">cp2k+unsubscribe@googlegroups.com</a>.<br>
> To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/1d346e09-202d-48ad-b95f-763528e4eb0dn%40googlegroups.com" rel="noreferrer" target="_blank">https://groups.google.com/d/msgid/cp2k/1d346e09-202d-48ad-b95f-763528e4eb0dn%40googlegroups.com</a>.<br>
<br>
-- <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%2Bunsubscribe@googlegroups.com" target="_blank">cp2k+unsubscribe@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/CAAxpMn-KckqBrQN6_0i5x6_B6py8qWrrJcYK4_vX2iVE7%3DRW8A%40mail.gmail.com" rel="noreferrer" target="_blank">https://groups.google.com/d/msgid/cp2k/CAAxpMn-KckqBrQN6_0i5x6_B6py8qWrrJcYK4_vX2iVE7%3DRW8A%40mail.gmail.com</a>.<br>
</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/CAJk3%2BYUbr-JiSPYtF_tPKPwZQo%2BN7jsZog6o%2B6efxW8jz-XKWA%40mail.gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/CAJk3%2BYUbr-JiSPYtF_tPKPwZQo%2BN7jsZog6o%2B6efxW8jz-XKWA%40mail.gmail.com</a>.<br />