Dear all
I am a new comer of centos 7.0 as well as yambo. I am trying to compiling yambo 5.2.1. Whereas I met the problem as below, would you help me how to solve this problem?
please refer to the attachment of the ./configure and make all results.
Thank you very much!
Best regards
Kong Juntao
compile error of yambo 5.2.1 :make[2]: *** [mod_xc_functionals.o] Error 1
Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan, Nicola Spallanzani
Forum rules
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
-
- Posts: 2
- Joined: Sun Jun 30, 2024 2:04 pm
compile error of yambo 5.2.1 :make[2]: *** [mod_xc_functionals.o] Error 1
You do not have the required permissions to view the files attached to this post.
-
- Posts: 2
- Joined: Sun Jun 30, 2024 2:04 pm
Re: compile error of yambo 5.2.1 :make[2]: *** [mod_xc_functionals.o] Error 1
(base) [customer@localhost yambo-5.2.1]$ ./configure CC=icc FC=ifort MPIFC=mpiifort MPIF77=ifort MPICC=mpiicc F77=ifort
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
.........
# > OTHERs
#
# [C] LibXC : (LIB)/lib/libxcf90.a (LIB)/lib/libxcf03.a (LIB)/lib/libxc.a
# -I(LIB)/include
# [E] MPI : -L/opt/intel/compilers_and_libraries_2019.4.243/linux/mpi/intel64/lib -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker /opt/intel/compilers_and_libraries_2019.4.243/linux/mpi/intel64/lib/release -Xlinker -rpath -Xlinker /opt/intel/compilers_and_libraries_2019.4.243/linux/mpi/intel64/lib -lmpifort -lmpi -ldl -lrt -lpthread
# -I/opt/intel/compilers_and_libraries_2019.4.243/linux/mpi/intel64/include
#
# - COMPILERS -
#
# FC kind = intel ifort version 19.0.4.243
# MPI kind= Intel(R) MPI Library 2019 Update 4 for Linux* OS
#
# [ CPP ] icc -std=gnu11 -E -ansi -D_HDF5_LIB -D_HDF5_IO -D_PAR_IO -D_MPI -D_FFTW -D_FFTW_OMP -D_TIMING -D_P2Y_QEXSD_HDF5
# [ FPP ] fpp -free -P -D_HDF5_LIB -D_HDF5_IO -D_PAR_IO -D_MPI -D_FFTW -D_FFTW_OMP -D_TIMING
# [ CC ] mpiicc -O2 -std=gnu99 -no-multibyte-chars -D_C_US -D_FORTRAN_US
# [ FC ] mpiifort -assume bscc -O3 -g -ip
# [ FCUF] -assume bscc -O0 -g
# [ F77 ] ifort -assume bscc -O3 -g -ip
# [ F77U] -assume bscc -O0 -g
# [Cmain] -nofor_main
#
# You can modify compilers and flags by editing the file "config/setup"
#
(base) [customer@localhost yambo-5.2.1]$
(base) [customer@localhost yambo-5.2.1]$ make all
[SETUP] Modules detection [ # [SETUP] Modules detection [ ## [SETUP] Modules detection [ ### [SETUP] Modules detection [ #### [SETUP] Modules detection [ ##### [SETUP] Modules detection [ ###### [SETUP] Modules
.............................
\t[src/modules] mod_FFT
\t[src/modules] mod_LIVE_t
\t[src/modules] mod_logo
\t[src/modules] mod_cutoff_ws
\t[src/modules] mod_timing
\t[src/modules] mod_wave_func
make[2]: *** [mod_xc_functionals.o] Error 1
mod_xc_functionals.f90(13): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [XC_F03_LIB_M]
mod_xc_functionals.f90(164): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [XC_F03_LIB_M]
\t[driver] yambo (setup)
yambo linking failed. Check log/compile_yambo.log
mod_xc_functionals.f90(13): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [XC_F03_LIB_M]
mod_xc_functionals.f90(164): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [XC_F03_LIB_M]
make[1]: *** [yambo] Error 1
yambo build failed
(base) [customer@localhost yambo-5.2.1]$
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
.........
# > OTHERs
#
# [C] LibXC : (LIB)/lib/libxcf90.a (LIB)/lib/libxcf03.a (LIB)/lib/libxc.a
# -I(LIB)/include
# [E] MPI : -L/opt/intel/compilers_and_libraries_2019.4.243/linux/mpi/intel64/lib -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker /opt/intel/compilers_and_libraries_2019.4.243/linux/mpi/intel64/lib/release -Xlinker -rpath -Xlinker /opt/intel/compilers_and_libraries_2019.4.243/linux/mpi/intel64/lib -lmpifort -lmpi -ldl -lrt -lpthread
# -I/opt/intel/compilers_and_libraries_2019.4.243/linux/mpi/intel64/include
#
# - COMPILERS -
#
# FC kind = intel ifort version 19.0.4.243
# MPI kind= Intel(R) MPI Library 2019 Update 4 for Linux* OS
#
# [ CPP ] icc -std=gnu11 -E -ansi -D_HDF5_LIB -D_HDF5_IO -D_PAR_IO -D_MPI -D_FFTW -D_FFTW_OMP -D_TIMING -D_P2Y_QEXSD_HDF5
# [ FPP ] fpp -free -P -D_HDF5_LIB -D_HDF5_IO -D_PAR_IO -D_MPI -D_FFTW -D_FFTW_OMP -D_TIMING
# [ CC ] mpiicc -O2 -std=gnu99 -no-multibyte-chars -D_C_US -D_FORTRAN_US
# [ FC ] mpiifort -assume bscc -O3 -g -ip
# [ FCUF] -assume bscc -O0 -g
# [ F77 ] ifort -assume bscc -O3 -g -ip
# [ F77U] -assume bscc -O0 -g
# [Cmain] -nofor_main
#
# You can modify compilers and flags by editing the file "config/setup"
#
(base) [customer@localhost yambo-5.2.1]$
(base) [customer@localhost yambo-5.2.1]$ make all
[SETUP] Modules detection [ # [SETUP] Modules detection [ ## [SETUP] Modules detection [ ### [SETUP] Modules detection [ #### [SETUP] Modules detection [ ##### [SETUP] Modules detection [ ###### [SETUP] Modules
.............................
\t[src/modules] mod_FFT
\t[src/modules] mod_LIVE_t
\t[src/modules] mod_logo
\t[src/modules] mod_cutoff_ws
\t[src/modules] mod_timing
\t[src/modules] mod_wave_func
make[2]: *** [mod_xc_functionals.o] Error 1
mod_xc_functionals.f90(13): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [XC_F03_LIB_M]
mod_xc_functionals.f90(164): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [XC_F03_LIB_M]
\t[driver] yambo (setup)
yambo linking failed. Check log/compile_yambo.log
mod_xc_functionals.f90(13): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [XC_F03_LIB_M]
mod_xc_functionals.f90(164): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [XC_F03_LIB_M]
make[1]: *** [yambo] Error 1
yambo build failed
(base) [customer@localhost yambo-5.2.1]$
- Daniele Varsano
- Posts: 4088
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: compile error of yambo 5.2.1 :make[2]: *** [mod_xc_functionals.o] Error 1
Dear shamig123,
please sign your post with your name and affiliation. This is a rule of the forum, and you can do once for all by filling the signature in the user profile.
Please have a look to this thread if the solution discussed here solve your problem:
viewtopic.php?p=14018&hilit=mod_xc_func ... f90#p14018
If not, in order to spot your problem, please post in attachment your config.log file.
Best,
Daniele
please sign your post with your name and affiliation. This is a rule of the forum, and you can do once for all by filling the signature in the user profile.
Please have a look to this thread if the solution discussed here solve your problem:
viewtopic.php?p=14018&hilit=mod_xc_func ... f90#p14018
If not, in order to spot your problem, please post in attachment your config.log file.
Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/