<div dir="ltr"><div>Dear users,</div><div><br></div><div>apparently the intel oneapi c compiler icc does not like Ubuntu 22.04 and/or viceversa and there is some incompatibility between the two which <br></div><div>I was not able to solve.</div><div>Following Prof. Giannozzi's advice I manage to compile after switching icc --> gcc. I haven't tested the code yet, but I hope it works normally.</div><div><br></div><div>Matteo</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 7 ott 2022 alle ore 10:02 Matteo Cococcioni <<a href="mailto:matteo.cococcioni@unipv.it">matteo.cococcioni@unipv.it</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dera Chris,</div><div><br></div><div>thanks for your advice. Unfortunately it does not work for me, not even upgradig git (which I didn't use anyway).</div><div>My LD_LIBRARY_PATH seems to contain only oneapi locations.</div><div>My problems seems related to /usr/include/stdio.h and /usr/include/stdlib.h:</div><div><br></div><div>In file included from copy.c(3):<br>/usr/include/stdio.h(830): error: attribute "__malloc__" does not take arguments<br>    __attribute_malloc__ __attr_dealloc (pclose, 1) __wur;<br>                         ^<br><br>In file included from copy.c(4):<br>/usr/include/stdlib.h(566): error: attribute "__malloc__" does not take arguments<br>      __attr_dealloc_free;<br>      ^</div><div>Thanks,</div><div><br></div><div>Matteo</div><div><br></div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 7 ott 2022 alle ore 07:26 Christoph Wolf <wolf.christoph@qns.science> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear Matteo,<div><br></div><div>I just tested with 22.04 and intel one API and the gitlab version with a simple  ./configure --prefix=... worked without issues. On an older machine I had some obscure error related to git, which was simply solved by updating git.</div><div><br></div><div>check if your LD_LIBRARY_PATH is properly set; I had some issues with oneAPI not overwriting an older library location (no clue why).</div><div><br></div><div>HTH!<br>Chris <br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Group Leader "Theory of Quantum Systems at Surfaces"<br>IBS Center for Quantum Nanoscience<br>Seoul, South Korea<blockquote type="cite" style="font-size:12.8px"><div dir="ltr"><div><div dir="ltr"></div></div></div></blockquote></div></div></div></div>
_______________________________________________<br>
The Quantum ESPRESSO community stands by the Ukrainian<br>
people and expresses its concerns about the devastating<br>
effects that the Russian military offensive has on their<br>
country and on the free and peaceful scientific, cultural,<br>
and economic cooperation amongst peoples<br>
_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" rel="noreferrer" target="_blank">www.max-centre.eu</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Matteo Cococcioni<br></div><div>Department of Physics<br></div>University of Pavia<br>Via Bassi 6, I-27100 Pavia, Italy<br>tel +39-0382-987485<br><div>e-mail <a href="mailto:matteo.cococcioni@unipv.it" target="_blank">matteo.cococcioni@unipv.it</a></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Matteo Cococcioni<br></div><div>Department of Physics<br></div>University of Pavia<br>Via Bassi 6, I-27100 Pavia, Italy<br>tel +39-0382-987485<br><div>e-mail <a href="mailto:matteo.cococcioni@unipv.it" target="_blank">matteo.cococcioni@unipv.it</a></div></div></div></div></div></div></div>