[QE-users] compiling QE with Ubuntu 22.04

Matteo Cococcioni matteo.cococcioni at unipv.it
Fri Oct 7 10:02:27 CEST 2022


Dera Chris,

thanks for your advice. Unfortunately it does not work for me, not even
upgradig git (which I didn't use anyway).
My LD_LIBRARY_PATH seems to contain only oneapi locations.
My problems seems related to /usr/include/stdio.h and /usr/include/stdlib.h:

In file included from copy.c(3):
/usr/include/stdio.h(830): error: attribute "__malloc__" does not take
arguments
    __attribute_malloc__ __attr_dealloc (pclose, 1) __wur;
                         ^

In file included from copy.c(4):
/usr/include/stdlib.h(566): error: attribute "__malloc__" does not take
arguments
      __attr_dealloc_free;
      ^
Thanks,

Matteo



Il giorno ven 7 ott 2022 alle ore 07:26 Christoph Wolf
<wolf.christoph at qns.science> ha scritto:

> Dear Matteo,
>
> 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.
>
> check if your LD_LIBRARY_PATH is properly set; I had some issues with
> oneAPI not overwriting an older library location (no clue why).
>
> HTH!
> Chris
>
> --
> Group Leader "Theory of Quantum Systems at Surfaces"
> IBS Center for Quantum Nanoscience
> Seoul, South Korea
>
> _______________________________________________
> The Quantum ESPRESSO community stands by the Ukrainian
> people and expresses its concerns about the devastating
> effects that the Russian military offensive has on their
> country and on the free and peaceful scientific, cultural,
> and economic cooperation amongst peoples
> _______________________________________________
> Quantum ESPRESSO is supported by MaX (www.max-centre.eu)
> users mailing list users at lists.quantum-espresso.org
> https://lists.quantum-espresso.org/mailman/listinfo/users



-- 
Matteo Cococcioni
Department of Physics
University of Pavia
Via Bassi 6, I-27100 Pavia, Italy
tel +39-0382-987485
e-mail matteo.cococcioni at unipv.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20221007/afa49342/attachment.html>


More information about the users mailing list