Yambo compilation
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: 14
- Joined: Sat Sep 30, 2023 2:10 pm
Yambo compilation
Dear developers,
I have compiled Yambo with different editions of Intel compilers and each time 13 executables are made successfully. However, it keeps crashing all the time with and without errors. Please have a look at the config.log and batch files and kindly tell me whether the compilation is successful or not.
When I compile it with Intel 2021, the modules loaded automatically are
1) GCCcore/10.3.0 6) UCX/1.10.0-GCCcore-10.3.0
2) zlib/1.2.11-GCCcore-10.3.0 7) impi/2021.2.0-intel-compilers-2021.2.0
3) binutils/2.36.1-GCCcore-10.3.0 8) iimpi/2021a
4) intel-compilers/2021.2.0 9) imkl/2021.2.0-iimpi-2021a
5) numactl/2.0.14-GCCcore-10.3.0 10) intel/2021a
Is there a contradiction between anyone of them and the other?
All the best,
I have compiled Yambo with different editions of Intel compilers and each time 13 executables are made successfully. However, it keeps crashing all the time with and without errors. Please have a look at the config.log and batch files and kindly tell me whether the compilation is successful or not.
When I compile it with Intel 2021, the modules loaded automatically are
1) GCCcore/10.3.0 6) UCX/1.10.0-GCCcore-10.3.0
2) zlib/1.2.11-GCCcore-10.3.0 7) impi/2021.2.0-intel-compilers-2021.2.0
3) binutils/2.36.1-GCCcore-10.3.0 8) iimpi/2021a
4) intel-compilers/2021.2.0 9) imkl/2021.2.0-iimpi-2021a
5) numactl/2.0.14-GCCcore-10.3.0 10) intel/2021a
Is there a contradiction between anyone of them and the other?
All the best,
You do not have the required permissions to view the files attached to this post.
Mohamed
PhD student, Ain Shams University, Egypt
PhD student, Ain Shams University, Egypt
- Davide Sangalli
- Posts: 635
- Joined: Tue May 29, 2012 4:49 pm
- Location: Via Salaria Km 29.3, CP 10, 00016, Monterotondo Stazione, Italy
- Contact:
Re: Yambo compilation
The configure seems ok.
Please attach:
- the file config/report generated during the compilation process
- the files generated by yambo when you run job.sh
Best,
D.
Please attach:
- the file config/report generated during the compilation process
- the files generated by yambo when you run job.sh
Best,
D.
Davide Sangalli, PhD
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/
-
- Posts: 14
- Joined: Sat Sep 30, 2023 2:10 pm
Re: Yambo compilation
Dear Davide,
Thanks a lot for your quick reply and concern. Please find attached the requested files. This run was completed successfully but many others were not.
All the best,
Thanks a lot for your quick reply and concern. Please find attached the requested files. This run was completed successfully but many others were not.
All the best,
You do not have the required permissions to view the files attached to this post.
Mohamed
PhD student, Ain Shams University, Egypt
PhD student, Ain Shams University, Egypt
- Davide Sangalli
- Posts: 635
- Joined: Tue May 29, 2012 4:49 pm
- Location: Via Salaria Km 29.3, CP 10, 00016, Monterotondo Stazione, Italy
- Contact:
Re: Yambo compilation
Here all looks good.
The run is rather big. It could be that, increasing the parameters, the code crashes because it requires too much memory.
Try to send ma the output from a run that failed.
Best,
D.
The run is rather big. It could be that, increasing the parameters, the code crashes because it requires too much memory.
Try to send ma the output from a run that failed.
Best,
D.
Davide Sangalli, PhD
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/
-
- Posts: 46
- Joined: Wed Jan 17, 2024 12:13 pm
- Location: France
Re: Yambo compilation
Hello,
I am trying to install Yambo on a cluster.
I followed the steps in the tutorial. (https://www.yambo-code.eu/wiki/index.ph ... /LinuxMint)
However, when i am trying to make
I have this error:
(eval gfortran -c -O3 -g -mtune=native -I/home/reza/yambo-5.2.1/include -I/home/reza/yambo-5.2.1/include/headers/common -I/home/reza/yambo-5.2.1/include/headers/parser -I/home/reza/yambo-5.2.1/lib/yambo/Ydriver/include -I/home/reza/yambo-5.2.1/include/driver -I/home/reza/yambo-5.2.1/include/version -I/home/reza/yambo-5.2.1/lib/external/gfortran/gfortran/include/ -I/home/reza/yambo-5.2.1/lib/external/gfortran/gfortran/v4/serial/include -I/home/reza/yambo-5.2.1/lib/external/gfortran/gfortran/v4/serial/include -I/home/reza/yambo-5.2.1/lib/external/gfortran/gfortran/single/include -I/home/reza/yambo-5.2.1/lib/external/gfortran/gfortran/single/include -I/home/reza/yambo-5.2.1/lib/external/gfortran/gfortran/v4/serial/include -I/home/reza/yambo-5.2.1/lib/external/gfortran/gfortran/include -I/home/reza/yambo-5.2.1/lib/external/gfortran/gfortran/include/ -I/home/reza/yambo-5.2.1/lib/yambo/Ydriver/include -I/home/reza/yambo-5.2.1/include/driver -I/home/reza/yambo-5.2.1/include/version mod_com.f90 >> /home/reza/yambo-5.2.1/log/"compile_"yambo".log" 2>&1)
make[2]: *** [mod_wave_func.o] Error 1
make[2]: *** Waiting for unfinished jobs....
(echo "\t[src/modules] mod_IO" )
\t[src/modules] mod_IO
(echo "\t[src/modules] mod_R_lattice" )
\t[src/modules] mod_R_lattice
(echo "\t[src/modules] mod_com" )
\t[src/modules] mod_com
Error: Array specification required in ALLOCATE statement at (1)
\t[driver] yambo (setup)
yambo linking failed. Check log/compile_yambo.log
Error: Array specification required in ALLOCATE statement at (1)
make[1]: *** [yambo] Error 1
yambo build failed
Best,
I am trying to install Yambo on a cluster.
I followed the steps in the tutorial. (https://www.yambo-code.eu/wiki/index.ph ... /LinuxMint)
However, when i am trying to make
I have this error:
(eval gfortran -c -O3 -g -mtune=native -I/home/reza/yambo-5.2.1/include -I/home/reza/yambo-5.2.1/include/headers/common -I/home/reza/yambo-5.2.1/include/headers/parser -I/home/reza/yambo-5.2.1/lib/yambo/Ydriver/include -I/home/reza/yambo-5.2.1/include/driver -I/home/reza/yambo-5.2.1/include/version -I/home/reza/yambo-5.2.1/lib/external/gfortran/gfortran/include/ -I/home/reza/yambo-5.2.1/lib/external/gfortran/gfortran/v4/serial/include -I/home/reza/yambo-5.2.1/lib/external/gfortran/gfortran/v4/serial/include -I/home/reza/yambo-5.2.1/lib/external/gfortran/gfortran/single/include -I/home/reza/yambo-5.2.1/lib/external/gfortran/gfortran/single/include -I/home/reza/yambo-5.2.1/lib/external/gfortran/gfortran/v4/serial/include -I/home/reza/yambo-5.2.1/lib/external/gfortran/gfortran/include -I/home/reza/yambo-5.2.1/lib/external/gfortran/gfortran/include/ -I/home/reza/yambo-5.2.1/lib/yambo/Ydriver/include -I/home/reza/yambo-5.2.1/include/driver -I/home/reza/yambo-5.2.1/include/version mod_com.f90 >> /home/reza/yambo-5.2.1/log/"compile_"yambo".log" 2>&1)
make[2]: *** [mod_wave_func.o] Error 1
make[2]: *** Waiting for unfinished jobs....
(echo "\t[src/modules] mod_IO" )
\t[src/modules] mod_IO
(echo "\t[src/modules] mod_R_lattice" )
\t[src/modules] mod_R_lattice
(echo "\t[src/modules] mod_com" )
\t[src/modules] mod_com
Error: Array specification required in ALLOCATE statement at (1)
\t[driver] yambo (setup)
yambo linking failed. Check log/compile_yambo.log
Error: Array specification required in ALLOCATE statement at (1)
make[1]: *** [yambo] Error 1
yambo build failed
Best,
Reza - Postdoc
CNRS
CNRS
- Daniele Varsano
- Posts: 4137
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: Yambo compilation
Dear Reza,
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 investigate your problem, can you attach the files:
1. config.log
2. log/compile_yambo.log
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 investigate your problem, can you attach the files:
1. config.log
2. log/compile_yambo.log
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/
-
- Posts: 46
- Joined: Wed Jan 17, 2024 12:13 pm
- Location: France
Re: Yambo compilation
Thank you for reply,
I signed and completed other requests.
First, I did
./configure --disable-mpi --enable-open-mp \
--enable-slepc-linalg --disable-hdf5-par-io \
--enable-msgs-comps --enable-time-profile --enable-memory-profile \
--with-blas-libs="-L${MKLROOT}/lib/intel64 -Wl,--no-as-needed -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -lgomp -lpthread -lm -ldl" \
--with-lapack-libs="-L${MKLROOT}/lib/intel64 -Wl,--no-as-needed -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -lgomp -lpthread -lm -ldl"
then make
I attached the config.log but i don't have No. 2
Best,
Reza - CNRS
I signed and completed other requests.
First, I did
./configure --disable-mpi --enable-open-mp \
--enable-slepc-linalg --disable-hdf5-par-io \
--enable-msgs-comps --enable-time-profile --enable-memory-profile \
--with-blas-libs="-L${MKLROOT}/lib/intel64 -Wl,--no-as-needed -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -lgomp -lpthread -lm -ldl" \
--with-lapack-libs="-L${MKLROOT}/lib/intel64 -Wl,--no-as-needed -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -lgomp -lpthread -lm -ldl"
then make
I attached the config.log but i don't have No. 2
Best,
Reza - CNRS
You do not have the required permissions to view the files attached to this post.
Reza - Postdoc
CNRS
CNRS
-
- Posts: 46
- Joined: Wed Jan 17, 2024 12:13 pm
- Location: France
Re: Yambo compilation
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