Page 1 of 1

Installation issues with netcdf, Yambo version 5.1.0

Posted: Fri Mar 24, 2023 2:53 pm
by stefan19rkc
Dear all,

I'm having issues compiling the newest version of Yambo. I'm using the same settings a colleague used for the previous version (5.0), but it doesn't work, either because of the version difference, or a different environment. I am using a HPC cluster and am trying to install it there.

The main problems that pop out when trying to "make yambo" are the following:

Code: Select all

   chmod: cannot access ‘/home/bepsvelj/yambo/lib/external/intel/mpiifort/v4/serial/lib*/*netcdf*a’: No such file or directory
   chmod: cannot access ‘/home/bepsvelj/yambo/lib/external/intel/mpiifort/v4/serial/lib*/*netcdff*a’: No such file or directory
   chmod: cannot access ‘/home/bepsvelj/yambo/lib/external/intel/mpiifort/lib*/*xc*a’: No such file or directory
Please find the config.log file and the whole log folder attached and let me know if you need any additional information.

Kind regards,

Stefan Velja
PhD Student,
Carl von Ossietzky University Oldenburg

Re: Installation issues with netcdf, Yambo version 5.1.0

Posted: Fri Mar 24, 2023 3:54 pm
by Nicola Spallanzani
Dear Stefan,
try using the newer version 5.1.1
https://github.com/yambo-code/yambo/arc ... 1.1.tar.gz

and follow this procedure:

Code: Select all

export FC=ifort 
export F77=ifort
export CPP="icc -E -ansi"
export CC=icc 
export FPP="fpp -free -P"
export F90SUFFIX=".f90"
export MPIFC=mpiifort
export MPIF77=mpiifort
export MPICC=mpiicc
export MPICXX=mpiicpc

./configure \
    --enable-open-mp --enable-mpi --enable-par-linalg \
    --enable-msgs-comps --enable-time-profile --enable-memory-profile \
    --with-blas-libs="-L${MKLROOT}/lib/intel64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lm -ldl" \
    --with-lapack-libs="-L${MKLROOT}/lib/intel64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lm -ldl" \
    --with-scalapack-libs="-L${MKLROOT}/lib/intel64 -lmkl_scalapack_lp64" \
    --with-blacs-libs="-L${MKLROOT}/lib/intel64 -lmkl_blacs_intelmpi_lp64" \
    --with-fft-includedir="${MKLROOT}/include" \
    --with-fft-libs="-L${MKLROOT}/lib/intel64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lm -ldl" \
    --with-extlibs-path=${HOME}/opt/yambo-ext-libs

make -j4 core 
let me know if this works.

Best,
Nicola

Re: Installation issues with netcdf, Yambo version 5.1.0

Posted: Fri Mar 24, 2023 7:05 pm
by stefan19rkc
Dear Nicola,

Thank you very much for your very fast response! I tried several things, including copying your instructions exactly, but I keep getting the following errors:

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
gtar: This does not look like a tar archive
gtar: Exiting with failure status due to previous errors
WARNING: I can't seem to be able to run `tar' with the given arguments.
You may want to install GNU tar or Free paxutils, or check the
command line arguments.
\t[libxc-5.1.5] configuration
\t[libxc-5.1.5] compilation
\t[libxc-5.1.5] installation

and

chmod: cannot access ‘/home/bepsvelj/opt/yambo-ext-libs/intel/mpiifort/lib*/*xc*a’: No such file or directory

Please note that I did use tar to extract the downloaded Yambo tar.gz file, so I assume it's already installed. You can find the new logs attached.

Thanks once again,

Stefan Velja
PhD Student,
Carl von Ossietzky University Oldenburg

Re: Installation issues with netcdf, Yambo version 5.1.0

Posted: Mon Mar 27, 2023 11:07 am
by stefan19rkc
Dear all,

Here's an update: there seems to have been some security measurements on the cluster which prevented the file from downloading correctly. I downloaded it to my PC and uploaded it from there. Then, after following Nicola's suggested steps, it compiled correctly. At least, I have 5 files in my bin folder (a2y, c2y, p2y, yambo, ypp).

Thank you very much once again Nicola for your advice.

Kind regards,

Stefan Velja
PhD Student,
Carl von Ossietzky University Oldenburg

Re: Installation issues with netcdf, Yambo version 5.1.0

Posted: Tue Mar 28, 2023 8:51 am
by Nicola Spallanzani
Dear Stefan,
you are right, now I understand what uppened. Few days ago there was an issue on the server hosting the libxc library releases.
The file downloaded in lib/archive/libxc-x.x.x.tar.gz probably is corrupted. And every time you try to use it the library compilation fails. But yambo will continue to try to use it because it is available.
So please delete it and try again the installation in the cluster with before a "make distclean".

Best,
Nicola