Page 1 of 1

compile Yambo 5.2.4 with external libxc

Posted: Tue Dec 24, 2024 4:07 am
by rundong
Dear developers and users,

I am trying to install Yambo with external libxc. During the installation I encountered
"[libxc-5.2.3] download libxc-5.2.3.tar.gz", and the downloading hung there forever. I checked the libxc downloading webpage as it is not working. So I installed libxc7.0.
After I compiled with " ./configure CC=icx MPICC=mpiicx MPIFC=mpiifort MPIF77=mpiifort FC=ifort F77=ifort --enable-open-mp --enable-par-linalg --with-scalapack-libs=mkl --with-blacs-libs=mkl --enable-slepc-linalg --with-petsc-path="${INSTALL_DIR}" --with-slepc-path="${INSTALL_DIR}" --with-extlibs-path=/home/cl414/.local/lib --with-libxc-libdir=/home/cl414/.local/lib --with-libxc-includedir=/home/cl414/.local/include" the installation kept downloading libxc5.2.3.gz forever.
Can someone give me tips to work around this?
Many thanks advance.

Best reagrds,

Rundong

Re: compile Yambo 5.2.4 with external libxc

Posted: Tue Dec 24, 2024 9:10 am
by rundong
Dear all,

Sorry to for forgetting to mention that
We are using oneapi2024.02
Intel Dual 8059cl
Parallel compilation
Cannot use external libxc7.0.0

Re: compile Yambo 5.2.4 with external libxc

Posted: Tue Dec 24, 2024 10:23 am
by Nicola Spallanzani
Dear Rundong,
please sign your post with your name and affiliation, this is a rule of the forum. You can do this once for all by filling the signature in the user profile.

It seems that Yambo is not compatible with libxc v7.0.0, which triggers a request to download version 5.2.3. Please try installing libxc version 5.x or 6.x and linking it using the appropriate configuration flag.

Otherwise, download the tarball version 5.2.3 from here: https://gitlab.com/libxc/libxc/-/releases
and place it in this directory of the yambo sources: lib/archive

Best regards,
Nicola

Re: compile Yambo 5.2.4 with external libxc

Posted: Wed Dec 25, 2024 6:47 am
by rundong
Dear Nicola,

I did add signature in the profile as you suggested.
Thanks for the detailed instruction and it worked because in the configuration process the libxc library can be recognized.
But a new problem appeared: the devicexlib-0.8.5 site is down and the file cannot be downloaded. It seems that people are just enjoying holiday season. :D
I am wondering if you have devicexlib-0.8.5 at hand and share it with me? Sorry for possible inconvenience.
I wish you merry holidays.

Best regards,

Rundong

Re: compile Yambo 5.2.4 with external libxc

Posted: Wed Dec 25, 2024 7:19 am
by rundong
Dear Nicola,

Never mind. I found the files after reading your post again.
Even though I added devicexlib-0.8.5.tar.gz to the lib/archive folder, during the installation, it keeps downloading the file.
How should I do with it?
Really appreciate your help.

Best Regards,

Rundong