Page 1 of 1

Yambo compilation

Posted: Sat Oct 14, 2023 4:14 pm
by KinawyM
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,

Re: Yambo compilation

Posted: Sat Oct 14, 2023 10:16 pm
by Davide Sangalli
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.

Re: Yambo compilation

Posted: Sun Oct 15, 2023 1:41 am
by KinawyM
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,

Re: Yambo compilation

Posted: Tue Oct 17, 2023 8:33 am
by Davide Sangalli
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.

Re: Yambo compilation

Posted: Wed Jan 17, 2024 12:25 pm
by Reza_Reza
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,

Re: Yambo compilation

Posted: Wed Jan 17, 2024 12:49 pm
by Daniele Varsano
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

Re: Yambo compilation

Posted: Wed Jan 17, 2024 1:04 pm
by Reza_Reza
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

Re: Yambo compilation

Posted: Mon Jan 22, 2024 6:26 pm
by Reza_Reza
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,