Yambo 5 compilation 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: 86
- Joined: Thu Nov 26, 2020 2:56 pm
- Contact:
Re: Yambo 5 compilation error
Dear Nicola,
Thank you for your response.
Please find the attached zip file, it contains the config/report file and the last file written in the log/ directory.
Wishes,
Pushpendra
Thank you for your response.
Please find the attached zip file, it contains the config/report file and the last file written in the log/ directory.
Wishes,
Pushpendra
You do not have the required permissions to view the files attached to this post.
Pushpendra Yadav
Ph.D. Research Scholar
Quantum Transport and Theory Group
Department of Physics
Indian Instittute of Technology Kanpur, India.
https://sites.google.com/site/amitkag1/
Ph.D. Research Scholar
Quantum Transport and Theory Group
Department of Physics
Indian Instittute of Technology Kanpur, India.
https://sites.google.com/site/amitkag1/
- Nicola Spallanzani
- Posts: 93
- Joined: Thu Nov 21, 2019 10:15 am
Re: Yambo 5 compilation error
Dear Pushpendra,
this time I think that the issue is related to the old version of the hdf5 library used.
Try to let yambo to download and compile the library by itself. If you have not provided the library so try applying this patch:
Best,
Nicola
this time I think that the issue is related to the old version of the hdf5 library used.
Try to let yambo to download and compile the library by itself. If you have not provided the library so try applying this patch:
Code: Select all
patch -u configure -i hdf5_v51_patch.txt
Nicola
You do not have the required permissions to view the files attached to this post.
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: 86
- Joined: Thu Nov 26, 2020 2:56 pm
- Contact:
Re: Yambo 5 compilation error
Dear Nicola,
Yes, last time I gave the path to pre installed hdf5. This time I did the configure without assigning it. After successful configure, when I 'make all' I receive the following error message-
Here I also attach the log files in the attached zip file. Thanking you,
Pushpendra
Yes, last time I gave the path to pre installed hdf5. This time I did the configure without assigning it. After successful configure, when I 'make all' I receive the following error message-
Code: Select all
make[2]: *** [variables_BS.o] Error 1
variables_BS.f90(26): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [NETCDF]
[interfaces/int_modules] int_modules (checking work to be done)
[interfaces/int_modules] libint_modules.a (lib)
[interfaces/p2y] p2y (checking work to be done)
p2y linking failed. Check log/compile_p2y.log
variables_BS.f90(26): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [NETCDF]
make[1]: *** [p2y] Error 1
p2y build failed
Here I also attach the log files in the attached zip file. Thanking you,
Pushpendra
You do not have the required permissions to view the files attached to this post.
Pushpendra Yadav
Ph.D. Research Scholar
Quantum Transport and Theory Group
Department of Physics
Indian Instittute of Technology Kanpur, India.
https://sites.google.com/site/amitkag1/
Ph.D. Research Scholar
Quantum Transport and Theory Group
Department of Physics
Indian Instittute of Technology Kanpur, India.
https://sites.google.com/site/amitkag1/
-
- Posts: 86
- Joined: Thu Nov 26, 2020 2:56 pm
- Contact:
Re: Yambo 5 compilation error
Dear team yambo,
Can someone please help me with the above issue?
Thank you,
Pushpendra
Can someone please help me with the above issue?
Thank you,
Pushpendra
Pushpendra Yadav
Ph.D. Research Scholar
Quantum Transport and Theory Group
Department of Physics
Indian Instittute of Technology Kanpur, India.
https://sites.google.com/site/amitkag1/
Ph.D. Research Scholar
Quantum Transport and Theory Group
Department of Physics
Indian Instittute of Technology Kanpur, India.
https://sites.google.com/site/amitkag1/
- Daniele Varsano
- Posts: 4201
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: Yambo 5 compilation error
Dera Pushendra,
did you make a make clean (all, distclean) before starting the procedure again?
If you already did that, hopefully Nicola can provide you more info.
Best,
Daniele
did you make a make clean (all, distclean) before starting the procedure again?
If you already did that, hopefully Nicola can provide you more info.
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: 93
- Joined: Thu Nov 21, 2019 10:15 am
Re: Yambo 5 compilation error
Dear Pushpendra,
as said by Daniele you have to delete the previous compilation of the netcdf library. To do that you have to launch the command
make distclean
then run again the configure command.
About it, I see in the file config.log that there is a problem on how it is launched the configure command:
clearly some paths are missing in this line: maybe you are using some environment variables that are not defined.
Could you send me also the configure line that you are using?
Where are the mkl library installed?
Is the environment variable MKLROOT defined?
Where are the fftw libraries installed?
Best,
Nicola
as said by Daniele you have to delete the previous compilation of the netcdf library. To do that you have to launch the command
make distclean
then run again the configure command.
About it, I see in the file config.log that there is a problem on how it is launched the configure command:
Code: Select all
$ ./configure CC=icc PFC=mpiifort FC=ifort MPIFC=mpiifort MPIF77=ifort MPICC=mpiicc F77=ifort --enable-dp F90=ifort --with-blas-libs=-Wl,--start-group /libmkl_intel_lp64.a /libmkl_sequential.a /libmkl_core.a -Wl,--end-group --with-lapack-libs=-Wl,--start-group /libmkl_intel_lp64.a /libmkl_sequential.a /libmkl_core.a -Wl,--end-group --with-blacs-libs=/libmkl_blacs_intelmpi_lp64.a --with-scalapack-libs=/libmkl_scalapack_lp64.a --with-fft-libs=-L/lib -lfftw3 --with-fft-path=
Could you send me also the configure line that you are using?
Where are the mkl library installed?
Is the environment variable MKLROOT defined?
Where are the fftw libraries installed?
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: 86
- Joined: Thu Nov 26, 2020 2:56 pm
- Contact:
Re: Yambo 5 compilation error
Dear Nicola,
I followed the 'make distclean' and started the installation fresh. This time I did not give any path while doing './configure'. It ended with the Yambo build failed.
The log files are attached herewith. Thank you,
Pushpendra
I followed the 'make distclean' and started the installation fresh. This time I did not give any path while doing './configure'. It ended with the Yambo build failed.
The log files are attached herewith. Thank you,
Pushpendra
You do not have the required permissions to view the files attached to this post.
Pushpendra Yadav
Ph.D. Research Scholar
Quantum Transport and Theory Group
Department of Physics
Indian Instittute of Technology Kanpur, India.
https://sites.google.com/site/amitkag1/
Ph.D. Research Scholar
Quantum Transport and Theory Group
Department of Physics
Indian Instittute of Technology Kanpur, India.
https://sites.google.com/site/amitkag1/
- Nicola Spallanzani
- Posts: 93
- Joined: Thu Nov 21, 2019 10:15 am
Re: Yambo 5 compilation error
Dear Pushpendra,
try simply with this command:
Best,
Nicola
PS: if you continue to have problems send me also the config/report file.
try simply with this command:
Code: Select all
make distclean
./configure CC=icc FC=ifort MPIFC=mpiifort MPIF77=ifort MPICC=mpiicc F77=ifort \
--enable-mpi --enable-open-mp \
--enable-msgs-comps \
--enable-time-profile \
--enable-memory-profile
Nicola
PS: if you continue to have problems send me also the config/report file.
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