Page 1 of 1

Installation error

Posted: Sun Dec 27, 2020 10:11 am
by plasmon
Dear Developers,

Recently I am trying to install Yambo version 5.0 on my cluster, but it failed with error message as follows. Could you please tell me how to fix this problem?

Thank you!

Hao Zhang

Code: Select all

>>>[Making qe_pseudo]<<<
Warning #2216: '=' assumed following macro name "_libqe_pseudo" in command-line definition

make[1]: Entering directory `/public/src/qe/qe66/q-e3/yambo/lib/qe_pseudo'
ar: creating libqe_pseudo.a
make[1]: Leaving directory `/public/src/qe/qe66/q-e3/yambo/lib/qe_pseudo'

>>>[Making slatec]<<<
Warning #2216: '=' assumed following macro name "_libslatec" in command-line definition

make[1]: Entering directory `/public/src/qe/qe66/q-e3/yambo/lib/slatec'
ar: creating libslatec.a
make[1]: Leaving directory `/public/src/qe/qe66/q-e3/yambo/lib/slatec'

>>>[Making math77]<<<
Warning #2216: '=' assumed following macro name "_libmath77" in command-line definition

make[1]: Entering directory `/public/src/qe/qe66/q-e3/yambo/lib/math77'
ar: creating libmath77.a
make[1]: Leaving directory `/public/src/qe/qe66/q-e3/yambo/lib/math77'

>>>[Making local]<<<
Warning #2216: '=' assumed following macro name "_liblocal" in command-line definition

make[1]: Entering directory `/public/src/qe/qe66/q-e3/yambo/lib/local'
ar: creating liblocal.a
make[1]: Leaving directory `/public/src/qe/qe66/q-e3/yambo/lib/local'

>>>[Making lib/yambo/interface]<<<
make[1]: Entering directory `/public/src/qe/qe66/q-e3/yambo/lib/yambo/driver/src/interface'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory `/public/src/qe/qe66/q-e3/yambo/lib/yambo/driver/src/interface'
make: *** [yambo] Error 2

Re: Installation error

Posted: Mon Dec 28, 2020 3:56 pm
by andrea.ferretti
Dear Hao Zhang,

I have tried to reproduce your problem but haven't managed.
I have done a fresh clean clone of the yambo repository,
configured using the following script (reported below for reference):

Code: Select all

./configure \
  --with-fft-path="/opt/fftw/3.3.6-gnu" \
  --with-iotk-path="/opt/iotk/y1.2.2-gnu" \
  --with-libxc-path="/opt/libxc/2.2.3-gnu" \
  --with-netcdf-path="/opt/netcdf/4.4.1.1-hdf5-gnu" \
  --with-netcdff-path="/opt/netcdff/4.4.4-gnu" \
  --with-hdf5-path="/opt/hdf5/1.8.18-gnu" \
  --with-blas-libs=" -lblas" \
  --with-lapack-libs=" -llapack" \
  --with-scalapack-libs=" -L/opt/scalapack/2.0.1-openmpi-gnu/lib -lscalapack" \
  --with-blacs-libs=" -L/opt/scalapack/2.0.1-openmpi-gnu/lib -lscalapack" \
  --enable-open-mp \
  --enable-time-profile \
  --enable-memory-profile \
  --enable-msgs-comps
and issued

Code: Select all

make -j  core      (ie yambo + interfaces + ypp)
Note that in some cases one may want to limit the number of threads used during compilation (e.g. using

Code: Select all

make -j2
or

Code: Select all

make -j4
).
When trying again to compile, make sure you do a

Code: Select all

make distclean
take care
Andrea

Re: Installation error

Posted: Tue Dec 29, 2020 7:35 am
by plasmon
Dear Ferretti,

Thanks for the reply! I downloaded the new version, and re-installed yambo. But it failed with the same error message. I have listed the configure information here. Could you please tell me how to fix it?
Thank you!
Hao Zhang

-------------------------

Code: Select all

export CC=icc
export FC=mpiifort
./configure --prefix=..
-------------------

Code: Select all

[root@admin yambo]# ./configure --prefix=/public/src/qe/qe66/q-e3/yambo
checking for vim... vim
checking for gcc... icc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether icc accepts -g... yes
checking for icc option to accept ISO C89... none needed
checking how to run the C preprocessor... icc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for struct mallinfo.arena... yes
checking for git... yes
checking for malloc.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking whether make sets $(MAKE)... yes
checking for the size of a pointer... 8 bytes
checking for gcc... (cached) icc
checking whether we are using the GNU C compiler... (cached) yes
checking whether icc accepts -g... (cached) yes
checking for icc option to accept ISO C89... (cached) none needed
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for GNU make... make
checking for ar... ar
checking whether we are using the GNU Fortran compiler... no
checking whether mpiifort accepts -g... yes
checking if the current OS is supported... yes
configure: WIDESETUP: using build_os="linux"
configure: WIDESETUP: using F90SUFFIX=".f90"
configure: WIDESETUP: using AR="ar"
configure: WIDESETUP: using AR_FLAGS="-ru"
checking for Fortran flag to compile .f90 files... none
checking for mpiifort kind and version... intel mpiifort for the Intel(R) MPI Library 2018 Update 2 for Linux* 18
checking for specific mpiifort flags... -assume bscc -O3 -g -ip
checking for specific Open-MP flags... -qopenmp
checking for specific icc flags... -O2
checking for specific unoptimized flags... -assume bscc -O0 -g
checking for specific NETCDF flags... -DpgiFortran
checking how to get verbose linking output from mpiifort... -v
checking for Fortran libraries of mpiifort...  -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/mpi/intel64/lib/debug_mt -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/mpi/intel64/lib -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/ipp/lib/intel64 -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/compiler/lib/intel64_lin -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/mkl/lib/intel64_lin -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/tbb/lib/intel64/gcc4.7 -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/daal/lib/intel64_lin -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/daal/../tbb/lib/intel64_lin/gcc4.4 -L/public/software//compiler/intel/composer_xe_2015.2.164/compiler/lib/intel64 -L/public/software//compiler/intel/composer_xe_2015.2.164/mkl/lib/intel64 -L/usr/local/lib/gcc/x86_64-pc-linux-gnu/7.1.0/ -L/usr/local/lib/gcc/x86_64-pc-linux-gnu/7.1.0/../../../../lib64 -L/usr/local/lib/gcc/x86_64-pc-linux-gnu/7.1.0/../../../../lib64/ -L/lib/../lib64 -L/lib/../lib64/ -L/usr/lib/../lib64 -L/usr/lib/../lib64/ -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/ipp/lib/intel64/ -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/compiler/lib/intel64_lin/ -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/mkl/lib/intel64_lin/ -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/tbb/lib/intel64/gcc4.7/ -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/daal/lib/intel64_lin/ -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/daal/../tbb/lib/intel64_lin/gcc4.4/ -L/public/software//compiler/intel/composer_xe_2015.2.164/compiler/lib/intel64/ -L/public/software//compiler/intel/composer_xe_2015.2.164/mkl/lib/intel64/ -L./ -L/usr/local/lib/gcc/x86_64-pc-linux-gnu/7.1.0/../../../ -L/lib64 -L/lib/ -L/usr/lib64 -L/usr/lib -lmpifort -lmpi -lmpigi -ldl -lrt -lpthread -lifport -lifcoremt -limf -lsvml -lm -lipgo -lirc -lirc_s
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore
checking for external C routine (test) naming scheme... test_
checking for Fortran flag needed to accept free-form source... none
checking fortran 90 modules inclusion flag... -I
configure: testing C-preprocessor icc -E -ansi
checking if C precompiler works on C source... yes
configure: testing FC-preprocessor fpp -free -P
checking if FC precompiler works on FC source... yes
checking whether we are using the GNU Fortran 77 compiler... no
checking whether mpiifort accepts -g... yes
checking if Fortran 77 compiler mpiifort works... yes
checking for mpipgifort... no
checking for mpiifort... mpiifort
checking for a working mpif.h... yes
checking for mpiifort... no
checking for mpiifort... mpiifort
checking for mpipgicc... no
checking for mpiicc... mpiicc
checking for a working mpi.h... yes
checking for MPI version... Intel(R) MPI Library 2018 Update 2 for Linux* OS
checking for /public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/mpi/intel64/include/mpif.h... yes
checking driver lib... Initialized empty Git repository in /public/src/qe/qe66/q-e3/yambo/lib/yambo/.git/
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
@ version 1.0.0
checking how to get verbose linking output from mpiifort... -v
checking for Fortran 77 libraries of mpiifort...  -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/mpi/intel64/lib/debug_mt -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/mpi/intel64/lib -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/ipp/lib/intel64 -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/compiler/lib/intel64_lin -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/mkl/lib/intel64_lin -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/tbb/lib/intel64/gcc4.7 -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/daal/lib/intel64_lin -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/daal/../tbb/lib/intel64_lin/gcc4.4 -L/public/software//compiler/intel/composer_xe_2015.2.164/compiler/lib/intel64 -L/public/software//compiler/intel/composer_xe_2015.2.164/mkl/lib/intel64 -L/usr/local/lib/gcc/x86_64-pc-linux-gnu/7.1.0/ -L/usr/local/lib/gcc/x86_64-pc-linux-gnu/7.1.0/../../../../lib64 -L/usr/local/lib/gcc/x86_64-pc-linux-gnu/7.1.0/../../../../lib64/ -L/lib/../lib64 -L/lib/../lib64/ -L/usr/lib/../lib64 -L/usr/lib/../lib64/ -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/ipp/lib/intel64/ -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/compiler/lib/intel64_lin/ -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/mkl/lib/intel64_lin/ -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/tbb/lib/intel64/gcc4.7/ -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/daal/lib/intel64_lin/ -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/daal/../tbb/lib/intel64_lin/gcc4.4/ -L/public/software//compiler/intel/composer_xe_2015.2.164/compiler/lib/intel64/ -L/public/software//compiler/intel/composer_xe_2015.2.164/mkl/lib/intel64/ -L./ -L/usr/local/lib/gcc/x86_64-pc-linux-gnu/7.1.0/../../../ -L/lib64 -L/lib/ -L/usr/lib64 -L/usr/lib -lmpifort -lmpi -lmpigi -ldl -lrt -lpthread -lifport -lifcoremt -limf -lsvml -lm -lipgo -lirc -lirc_s
checking for caxpy... no
checking for ATL_xerbla in -latlas... no
checking for caxpy in -lblas... yes
checking for daxpy in -ldaxpy... no
checking for caxpy in -lcxml... no
checking for caxpy in -ldxml... no
checking for caxpy in -lscs... no
checking for caxpy in -lcomplib.sgimath... no
checking for caxpy in -lblas... (cached) yes
checking for caxpy in -lessl... no
checking for caxpy in -lblas... (cached) yes
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... lower case, underscore, no extra underscore
checking for cheev... no
checking for cheev in -llapack... yes
checking for dlaran_ in -llapack... no
checking for FFT... checking for FFT... Internal FFTW3
checking for dlopen in -ldl... yes
checking for deflate in -lz ... yes
checking for deflate in -lsz... no
checking for dlopen in -ldl... (cached) yes
checking for curl_version in -lcurl... yes
checking for cos in -lm... yes
checking for internal NETCDF+HDF5 library... to be compiled
checking for YAML library... no
checking for FUTILE library... no
checking for internal IOTK library... to be compiled
checking for ETSF_IO Library... no
checking for libxc... Compatible external LibXC not found/specified. Internal to be compiled.
configure: creating ./config.status
config.status: creating lib/iotk/make_iotk.inc
config.status: creating config/setup
config.status: creating config/mk/defs.mk
config.status: creating config/report
config.status: creating config/msg_ydb
config.status: creating src/wf_and_fft/sgfft.F
config.status: creating sbin/make_makefile.sh
config.status: creating sbin/objects_store.sh
config.status: creating src/tools/.objects
config.status: creating include/branch.inc
config.status: creating include/driver/editor.h
config.status: creating include/driver/version.h
config.status: creating include/headers/common/have_malloc.h
#
# [VER] 5.0.0 r.18999
#
# - GENERAL CONFIGURATIONS -
#
# [SYS] linux@x86_64
# [SRC] /public/src/qe/qe66/q-e3/yambo
# [BRN] master
# [CMP] /public/src/qe/qe66/q-e3/yambo
# [TGT] /public/src/qe/qe66/q-e3/yambo
# [BIN] /public/src/qe/qe66/q-e3/yambo/bin
# [LIB] /public/src/qe/qe66/q-e3/yambo/lib/external
#
# [EDITOR] vim
# [ MAKE ] make
#
# [-] Double precision
# [X] Keep object files
# [X] Run-Time timing profile
# [-] Run-Time memory profile
#
# - SCRIPTS -
#
# [-] YDB: Yambo DataBase
# [-] YAMBOpy: Yambo Python scripts
#
# - PARALLEL SUPPORT -
#
# [X] MPI
# [-] OpenMP
#
# - LIBRARIES [E=external library; I?=internal library (c=to be compiled / f=found already compiled); X=system default; -=not used;] -
#
# > I/O: (NETCDF with large files support)
#
# [ - ] FUTILE  :
#
# [ - ] YAML    :
#
# [ Ic] IOTK    : /public/src/qe/qe66/q-e3/yambo/lib/external/intel/mpiifort/lib/libiotk.a (QE hdf5-support)
#                 -I/public/src/qe/qe66/q-e3/yambo/lib/external/intel/mpiifort/include/
# [ - ] ETSF_IO :
#
# [ Ic] NETCDF  : /public/src/qe/qe66/q-e3/yambo/lib/external/intel/mpiifort/v4/serial/lib/libnetcdff.a /public/src/qe/qe66/q-e3/yambo/lib/external/intel/mpiifort/v4/serial/lib/libnetcdf.a
#                 -I/public/src/qe/qe66/q-e3/yambo/lib/external/intel/mpiifort/v4/serial/include -I/public/src/qe/qe66/q-e3/yambo/lib/external/intel/mpiifort/v4/serial/include
# [ Ic] HDF5    : /public/src/qe/qe66/q-e3/yambo/lib/external/intel/mpiifort/v4/serial/lib/libhdf5hl_fortran.a /public/src/qe/qe66/q-e3/yambo/lib/external/intel/mpiifort/v4/serial/lib/libhdf5_fortran.a /public/src/qe/qe66/q-e3/yambo/lib/external/intel/mpiifort/v4/serial/lib/libhdf5_hl.a /public/src/qe/qe66/q-e3/yambo/lib/external/intel/mpiifort/v4/serial/lib/libhdf5.a -lz -lm -ldl -lcurl
#                 -I/public/src/qe/qe66/q-e3/yambo/lib/external/intel/mpiifort/v4/serial/include
#
# > MATH: (Internal FFTW3)
#
# [ Ic] FFT       : /public/src/qe/qe66/q-e3/yambo/lib/external/intel/mpiifort/lib/libfftw3.a
#                   -I/public/src/qe/qe66/q-e3/yambo/lib/external/intel/mpiifort/include/
# [ E ] BLAS      : -lblas
# [ E ] LAPACK    : -llapack
# [ - ] SCALAPACK :
# [ - ] BLACS     :
# [ - ] PETSC     :
#
# [ - ] SLEPC     :
#
#
# > OTHERs
#
# [ Ic] LibXC     : /public/src/qe/qe66/q-e3/yambo/lib/external/intel/mpiifort/lib/libxcf90.a /public/src/qe/qe66/q-e3/yambo/lib/external/intel/mpiifort/lib/libxc.a
#                   -I/public/src/qe/qe66/q-e3/yambo/lib/external/intel/mpiifort/include
# [ E ] MPI       : -L/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/mpi/intel64/lib -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker /public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/mpi/intel64/lib/release_mt -Xlinker -rpath -Xlinker /public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/mpi/intel64/lib -Xlinker -rpath -Xlinker /opt/intel/mpi-rt/2017.0.0/intel64/lib/release_mt -Xlinker -rpath -Xlinker /opt/intel/mpi-rt/2017.0.0/intel64/lib -lmpifort -lmpi -lmpigi -ldl -lrt -lpthread
#                   -I/public/software/compiler/intel/composer_xe_2018.2.199/compilers_and_libraries_2018.2.199/linux/mpi/intel64/include
# [ Ic] Ydriver   : 1.0.0
#
# - COMPILERS -
#
# FC kind = intel mpiifort for the Intel(R) MPI Library 2018 Update 2 for Linux*
# MPI kind= Intel(R) MPI Library 2018 Update 2 for Linux* OS
#
# [ CPP ] icc -E -ansi -D_HDF5_LIB -D_HDF5_IO -D_MPI -D_FFTW       -D_TIMING     -D_P2Y_QEXSD_HDF5
# [ FPP ] fpp -free -P -D_HDF5_LIB -D_HDF5_IO -D_MPI -D_FFTW       -D_TIMING
# [ CC  ] mpiicc -O2 -D_C_US -D_FORTRAN_US
# [ FC  ] mpiifort -assume bscc -O3 -g -ip
# [ FCUF] -assume bscc -O0 -g
# [ F77 ] mpiifort -assume bscc -O3 -g -ip
# [ F77U] -assume bscc -O0 -g
# [Cmain] -nofor_main
#
andrea.ferretti wrote: Mon Dec 28, 2020 3:56 pm Dear Hao Zhang,

I have tried to reproduce your problem but haven't managed.
I have done a fresh clean clone of the yambo repository,
configured using the following script (reported below for reference):

Code: Select all

./configure \
  --with-fft-path="/opt/fftw/3.3.6-gnu" \
  --with-iotk-path="/opt/iotk/y1.2.2-gnu" \
  --with-libxc-path="/opt/libxc/2.2.3-gnu" \
  --with-netcdf-path="/opt/netcdf/4.4.1.1-hdf5-gnu" \
  --with-netcdff-path="/opt/netcdff/4.4.4-gnu" \
  --with-hdf5-path="/opt/hdf5/1.8.18-gnu" \
  --with-blas-libs=" -lblas" \
  --with-lapack-libs=" -llapack" \
  --with-scalapack-libs=" -L/opt/scalapack/2.0.1-openmpi-gnu/lib -lscalapack" \
  --with-blacs-libs=" -L/opt/scalapack/2.0.1-openmpi-gnu/lib -lscalapack" \
  --enable-open-mp \
  --enable-time-profile \
  --enable-memory-profile \
  --enable-msgs-comps
and issued

Code: Select all

make -j  core      (ie yambo + interfaces + ypp)
Note that in some cases one may want to limit the number of threads used during compilation (e.g. using

Code: Select all

make -j2
or

Code: Select all

make -j4
).
When trying again to compile, make sure you do a

Code: Select all

make distclean
take care
Andrea

Re: Installation error

Posted: Tue Dec 29, 2020 8:55 am
by sdwang
Dear Andrea,
I have met the same problem when compiling the V.5.0 of Yambo as below:

Code: Select all

>>>[Making lib/yambo/interface]<<<
make[2]: Entering directory "/opt/software/yambo-master/lib/yambo/driver/src/interface"
make[2]: *** No targets specified and no makefile found. Stop.
make[2]: Leaving directory "/opt/software/yambo-master/lib/yambo/driver/src/interface"
make[1]: *** [yambo] Error 2
However, the same configurations work for V.4.5.3 and other versions. In attached is my config.log.

Thanks and happy new year!

Shudong

Re: Installation error

Posted: Tue Dec 29, 2020 5:32 pm
by andrea.ferretti
Dear Hao,
(Hi Shudong, thanks for commenting !!!)

according to your configuration log there was a problem with the cloning of a subrepo of yambo related to the driver lib.
Thanks to Davide Sangalli, we have included a fix in the yambo repository (the library is no longer cloned but downloaded via wget as many other libraries).

You can either make a git pull or a fresh clone, then make distclean and re-do the whole configuration and compilation procedure.

Let us know if this has fixed the problem.

take care
Andrea

Re: Installation error

Posted: Wed Dec 30, 2020 6:28 am
by sdwang
Dear Andrea,
I have tried the new version and the configure stops as:
..
checking for caxpy in -lblas... (cached) no
checking for caxpy in -lblas... (cached) no
configure: Could not find blas. Using the built-in library
checking for dummy main to link with Fortran 77 libraries... unknown
configure: error: in `/public/software/yambo-master':
configure: error: linking to Fortran libraries from C fails
See `config.log' for more details

the compiling script is:
./configure --enable-memory-profile CC=icc FC=ifort F77=ifort PFC=mpif90 MPICC=mpicc --with-netcdf-libdir=/public/software/yambo-master/lib/ --with-netcdf-includedir=/public/software/yambo-master/include --with-iotk-path=/public/software/qe-6.6/iotk --with-netcdf-link="-L/public/software/yambo-master/lib -lnetcdff -lnetcdf -lhdf5_fortran -lhdf5_hl -lhdf5 -lcurl -lz" --with-blas-libs="-lmkl_blas95_lp64 -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lpthread -lm" --with-lapack-libs="-lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lpthread -lm" --with-blacs-libs="-lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lmkl_blacs_openmpi_lp64 -lpthread -lm" --with-scalapack-libs="-lmkl_scalapack_lp64 -lmkl_blacs_openmpi_lp64 -lpthread -lm" --enable-slepc-linalg

Thanks!
Best

Shudong

Re: Installation error

Posted: Wed Dec 30, 2020 9:45 am
by andrea.ferretti
Hi Shudong,

have you tried simplifying the configure call and dropping some of the compiler definitions ?
For instance, having all

Code: Select all

CC=icc FC=ifort F77=ifort PFC=mpif90 MPICC=mpicc 
is usually not strictly needed.
I would rather use:

Code: Select all

CC=icc FC=ifort 
If the problem is still there can you also post the config.log file ?

take care
Andrea

Re: Installation error

Posted: Wed Dec 30, 2020 11:02 am
by sdwang
Dear Andrea.
Thank you for your kindly help! It works now.

Take care!

Shudong