Page 1 of 1

Compiling yambo for a beginner

Posted: Sat Jan 28, 2023 12:47 am
by milesj
The website gives simple instructions for compiling yambo with no options for the configure file, so I suspect that is where my issue lies. All I did was unpack the tar package of yambo 5.1.1, do ./configure then make all.

I've attached the inline error, as well as a screenshot of the end of the log file it references. I think my default compiler is icc, not 100% sure. I'm not sure what packages yambo needs to compile so I'm not sure if they were compiled with the same compiler. I have no clue what other issues there may be. Any help is appreciated. Let me know if more information is required.

Thanks!
-Miles
PhD candidate in Applied Physics at California Institute of Technology

Re: Compiling yambo for a beginner

Posted: Sat Jan 28, 2023 1:09 am
by Nicola Spallanzani
Dear Miles,
could you send the files log/compile_yambo.log and config/report, so I can try to better understand what is happening?

Best regards,
Nicola

Re: Compiling yambo for a beginner

Posted: Sun Jan 29, 2023 2:52 am
by milesj
Hi Nicola,

I've attached the report file (with an added .txt so it would let me attach), and the compile_yambo.log file (as a zip file to fit the file size limit). Let me know what you think.

Thanks!
-Miles

Re: Compiling yambo for a beginner

Posted: Mon Jan 30, 2023 8:51 am
by Daniele Varsano
Dear milesj,

please sign your post with your full name and affiliation, this is a rule of the forum and you can do once for all by filling the signature in your user profile.
I do not know if this is the only problem, but it seems you are mixing gfortran and intel compilers.
I suggest you to do a make distclean
and repeat the configure by adding the following line:

Code: Select all

make distclean
./configure CC=icc FC=ifort MPIFC=mpiifort MPIF77=ifort MPICC=mpiicc F77=ifort
Best,
Daniele