compilation question for new user

Having trouble compiling the Yambo source? Using an unusual architecture? Problems with the "configure" script? Problems in GPU architectures? This is the place to look.

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
Post Reply
pandachang97
Posts: 7
Joined: Mon Feb 19, 2024 11:06 pm

compilation question for new user

Post by pandachang97 » Mon Feb 26, 2024 12:37 am

Hello Yambo experts,

Nice to meet you. My name is Xin Chang and I am a new user on Yambo. I try to compile Yambo_5.2.1 with MPI, but I don't know how to include MPI. I have already compiled a serial version of yambo and attached config.log in this post. Please help me fix this issue and show me option when running configure. Thank you and best regards,
Xin
You do not have the required permissions to view the files attached to this post.
Xin Chang
Postdoc research @UT Austin

User avatar
Daniele Varsano
Posts: 3816
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: compilation question for new user

Post by Daniele Varsano » Mon Feb 26, 2024 8:53 am

Dear Xin,
from your config.log it seems you are mixing gfortran and intel compilers.
Try to reconfigure specifying the compiler you want to use, e.g.:

Code: Select all

make distclean
./configure CC=icc FC=ifort MPIFC=mpiifort MPIF77=ifort MPICC=mpiicc F77=ifort
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/

pandachang97
Posts: 7
Joined: Mon Feb 19, 2024 11:06 pm

Re: compilation question for new user

Post by pandachang97 » Mon Feb 26, 2024 11:29 pm

Thank you so much, Daniele. It works. I got a MPI version. Best regards,
Xin
Xin Chang
Postdoc research @UT Austin

Post Reply