build failed interface

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
burkzdemir
Posts: 91
Joined: Tue Sep 09, 2014 7:57 pm

build failed interface

Post by burkzdemir » Thu Jan 20, 2022 7:55 pm

Dear developers,

I got this error during compilation of both 5.0.4 and master. I attached the config.log file.

>>>[Making lib/yambo/interface]<<<
make[2]: Entering directory `/home/LTEN/ozdemir_b/yambo-master/lib/yambo/driver/src/interface'
make[2]: *** No targets specified and no makefile found. Stop.
make[2]: Leaving directory `/home/LTEN/ozdemir_b/yambo-master/lib/yambo/driver/src/interface'
make[1]: *** [yambo] Error 2
make[1]: Leaving directory `/home/LTEN/ozdemir_b/yambo-master'
yambo build failed

Best,
You do not have the required permissions to view the files attached to this post.
Burak Ozdemir
Post-doc,
University of Nantes, France

andrea.ferretti
Posts: 206
Joined: Fri Jan 31, 2014 11:13 am

Re: build failed interface

Post by andrea.ferretti » Fri Jan 21, 2022 9:53 am

Dear burkzdemir,

from your config.log it seems gfortran flags are used with intel compilers (mpiicc, mpiifort)...
* First and foremost you need to check that your Intel environment is working.
* Next, you may want to specify the compilers to the configure script

./configure FC=ifort CC=icc <other flags>

best
Andrea
Andrea Ferretti, PhD
CNR-NANO-S3 and MaX Centre
via Campi 213/A, 41125, Modena, Italy
Tel: +39 059 2055322; Skype: andrea_ferretti
URL: http://www.nano.cnr.it

burkzdemir
Posts: 91
Joined: Tue Sep 09, 2014 7:57 pm

Re: build failed interface

Post by burkzdemir » Fri Jan 21, 2022 2:07 pm

Dear Andrea,

I tried your flags but got the same error message. And then, I tried loading openmpi and compiling again and again same error. By the way, for some reason wget command does not work in our cluster so I downloaded archive files to my personal computer and then uploaded them to the cluster and also 0.0.2.tar.gz file to lib/yambo/driver/src directory.

Burak
Burak Ozdemir
Post-doc,
University of Nantes, France

burkzdemir
Posts: 91
Joined: Tue Sep 09, 2014 7:57 pm

Re: build failed interface

Post by burkzdemir » Fri Jan 28, 2022 2:33 pm

OK, I solved the problem. I needed to untar 0.0.2.tar.gz and then transfer the files inside into /lib/yambo. Now, it is installed.
Burak Ozdemir
Post-doc,
University of Nantes, France

Post Reply