Installation error
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: 3
- Joined: Tue Jun 27, 2023 9:11 am
Installation error
Hi
I encountered this error when I installed Yambo, please help me
Fatal Error: petsc/finclude/petscsys.h: No such file or directory
compilation terminated.
make[2]: *** [/root/yambo-5.1.1/config/mk/local/rules.mk:9: mod_interfaces.o] Error 1
make[2]: *** Waiting for unfinished jobs....
(/root/yambo-5.1.1/sbin/replacer.sh SET_defaults.tmp_source)
(mv SET_defaults.tmp_source_space SET_defaults.f90)
(echo "gfortran -c -O3 -g -mtune=native -fopenmp -I/root/yambo-5.1.1/include -I/root/yambo-5.1.1/include/headers/common -I/root/yambo-5.1.1/include/headers/parser -I/root/yambo-5.1.1/lib/yambo/driver/include -I/root/yambo-5.1.1/include/driver -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/include/ -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/v4/serial/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/v4/serial/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/single/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/single/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/v4/serial/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/include/ -I/root/yambo-5.1.1/lib/yambo/driver/include -I/root/yambo-5.1.1/include/driver SET_defaults.f90" >> /root/yambo-5.1.1/log/"compile_"yambo".log")
(eval gfortran -c -O3 -g -mtune=native -fopenmp -I/root/yambo-5.1.1/include -I/root/yambo-5.1.1/include/headers/common -I/root/yambo-5.1.1/include/headers/parser -I/root/yambo-5.1.1/lib/yambo/driver/include -I/root/yambo-5.1.1/include/driver -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/include/ -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/v4/serial/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/v4/serial/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/single/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/single/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/v4/serial/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/include/ -I/root/yambo-5.1.1/lib/yambo/driver/include -I/root/yambo-5.1.1/include/driver SET_defaults.f90 >> /root/yambo-5.1.1/log/"compile_"yambo".log" 2>&1)
(echo "\t[src/modules] SET_defaults" )
[src/modules] SET_defaults
[driver] yambo (checking work to be done)
yambo linking failed. Check log/compile_yambo.log
make[1]: *** [config/mk/global/actions/compile_yambo.mk:42: yambo] Error 1
yambo build failed
I encountered this error when I installed Yambo, please help me
Fatal Error: petsc/finclude/petscsys.h: No such file or directory
compilation terminated.
make[2]: *** [/root/yambo-5.1.1/config/mk/local/rules.mk:9: mod_interfaces.o] Error 1
make[2]: *** Waiting for unfinished jobs....
(/root/yambo-5.1.1/sbin/replacer.sh SET_defaults.tmp_source)
(mv SET_defaults.tmp_source_space SET_defaults.f90)
(echo "gfortran -c -O3 -g -mtune=native -fopenmp -I/root/yambo-5.1.1/include -I/root/yambo-5.1.1/include/headers/common -I/root/yambo-5.1.1/include/headers/parser -I/root/yambo-5.1.1/lib/yambo/driver/include -I/root/yambo-5.1.1/include/driver -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/include/ -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/v4/serial/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/v4/serial/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/single/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/single/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/v4/serial/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/include/ -I/root/yambo-5.1.1/lib/yambo/driver/include -I/root/yambo-5.1.1/include/driver SET_defaults.f90" >> /root/yambo-5.1.1/log/"compile_"yambo".log")
(eval gfortran -c -O3 -g -mtune=native -fopenmp -I/root/yambo-5.1.1/include -I/root/yambo-5.1.1/include/headers/common -I/root/yambo-5.1.1/include/headers/parser -I/root/yambo-5.1.1/lib/yambo/driver/include -I/root/yambo-5.1.1/include/driver -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/include/ -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/v4/serial/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/v4/serial/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/single/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/single/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/v4/serial/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/include -I/root/yambo-5.1.1/lib/external/gfortran/gfortran/include/ -I/root/yambo-5.1.1/lib/yambo/driver/include -I/root/yambo-5.1.1/include/driver SET_defaults.f90 >> /root/yambo-5.1.1/log/"compile_"yambo".log" 2>&1)
(echo "\t[src/modules] SET_defaults" )
[src/modules] SET_defaults
[driver] yambo (checking work to be done)
yambo linking failed. Check log/compile_yambo.log
make[1]: *** [config/mk/global/actions/compile_yambo.mk:42: yambo] Error 1
yambo build failed
You do not have the required permissions to view the files attached to this post.
Last edited by babak.min on Tue Jun 27, 2023 10:12 am, edited 1 time in total.
babak.m
- Daniele Varsano
- Posts: 4142
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: error in install
Dear babak.min,
please sign your post with your name and affiliation, this is a rule of the forum. You can do once for all by filling the signature in your user profile.
In order to spot the compilation problem, you need to attach your config.log file.
Best,
Daniele
please sign your post with your name and affiliation, this is a rule of the forum. You can do once for all by filling the signature in your user profile.
In order to spot the compilation problem, you need to attach 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/
- Nicola Spallanzani
- Posts: 84
- Joined: Thu Nov 21, 2019 10:15 am
Re: Installation error
Dear Babak,
it seams that the installation of the PETSc and/or SLEPc failed.
Could you send the config.log file, and the content of the log/ directory?
Best,
Nicola
it seams that the installation of the PETSc and/or SLEPc failed.
Could you send the config.log file, and the content of the log/ directory?
Best,
Nicola
Nicola Spallanzani, PhD
S3 Centre, Istituto Nanoscienze CNR and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu
S3 Centre, Istituto Nanoscienze CNR and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu
-
- Posts: 3
- Joined: Tue Jun 27, 2023 9:11 am
Re: Installation error
Hi dear Nicola,
I have attached some files. The size of the file is large and it is not possible to send all of it
Thanks
I have attached some files. The size of the file is large and it is not possible to send all of it
Thanks
You do not have the required permissions to view the files attached to this post.
babak.m
- Nicola Spallanzani
- Posts: 84
- Joined: Thu Nov 21, 2019 10:15 am
Re: Installation error
Dear Babak,
in the log directory there should be the files configure_petsc-3.14.6.log and compile_petsc-3.14.6.log.
Could you send them?
Best,
Nicola
in the log directory there should be the files configure_petsc-3.14.6.log and compile_petsc-3.14.6.log.
Could you send them?
Best,
Nicola
Nicola Spallanzani, PhD
S3 Centre, Istituto Nanoscienze CNR and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu
S3 Centre, Istituto Nanoscienze CNR and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu
-
- Posts: 46
- Joined: Wed Jan 17, 2024 12:13 pm
- Location: France
Re: Installation error
Hello,
I have compiled Yambo on the cluster using ./config (I have attached all the options). While the commands "mpirun p2y" and "mpirun yambo" work during a calculation, the command "yambo -F file.in -J file_job" does not seem to work.
I do not encounter any errors; however, the folder remains empty, indicating that "yambo -F ... -J ..." is not functioning as expected. I have attached the r_setup for mpirun yambo for your review.
In the bin, I have a2y, c2y, p2y, yambo, and ypp.
I attached config.log since it may be useful.
Secondly, I've compiled Yambo with mpi, If I want to compile with OpenMP to perform hybrid calculations, which option and command should be added in ./configure?
Thank you,
I have compiled Yambo on the cluster using ./config (I have attached all the options). While the commands "mpirun p2y" and "mpirun yambo" work during a calculation, the command "yambo -F file.in -J file_job" does not seem to work.
I do not encounter any errors; however, the folder remains empty, indicating that "yambo -F ... -J ..." is not functioning as expected. I have attached the r_setup for mpirun yambo for your review.
In the bin, I have a2y, c2y, p2y, yambo, and ypp.
I attached config.log since it may be useful.
Secondly, I've compiled Yambo with mpi, If I want to compile with OpenMP to perform hybrid calculations, which option and command should be added in ./configure?
Thank you,
You do not have the required permissions to view the files attached to this post.
Reza - Postdoc
CNRS
CNRS
- Nicola Spallanzani
- Posts: 84
- Joined: Thu Nov 21, 2019 10:15 am
Re: Installation error
Dear Babak,
for an hybrid installation (mpi+openmp) using intel compilers I suggest you this script:
for an hybrid installation (mpi+openmp) using intel compilers I suggest you this script:
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-mpi --enable-open-mp \
--enable-msgs-comps --enable-time-profile --enable-memory-profile \
--enable-par-linalg --enable-slepc-linalg \
--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-extlibs
make -j core
make -j all
Nicola Spallanzani, PhD
S3 Centre, Istituto Nanoscienze CNR and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu
S3 Centre, Istituto Nanoscienze CNR and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu