Compilation error

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
khyeoh
Posts: 3
Joined: Tue Jan 15, 2019 3:19 pm

Compilation error

Post by khyeoh » Sat Mar 14, 2020 5:59 am

Dear developer,

I am trying to compile Yambo version 4.3.3 and encounter the following error:
Can you please assist us?

>>>[Making iotk]<<<
make[2]: Entering directory '/home/hp/Downloads/yambo-4.3.3/lib/iotk'
( cd ../archive ; if ! test -e iotk-y1.2.2.tar.gz ; then \
cp Makefile.loc Makefile ; make iotk-y1.2.2.tar.gz ; fi )
make[3]: Entering directory '/home/hp/Downloads/yambo-4.3.3/lib/archive'
--2020-03-14 12:51:22-- https://github.com/yambo-code/yambo/fil ... 2.2.tar.gz
Resolving github.com (github.com)... 13.250.177.223
Connecting to github.com (github.com)|13.250.177.223|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-03-14 12:51:23 ERROR 404: Not Found.

*** Unable to download IOTK. Test whether curl or wget is installed and working,
*** if you have direct access to the internet.
*** If not, copy iotk-y1.2.2.tar.gz into extlibs/archive/
make[3]: Leaving directory '/home/hp/Downloads/yambo-4.3.3/lib/archive'
gunzip < ../archive/iotk-y1.2.2.tar.gz | ../../config/missing --run tar xf -

gzip: stdin: unexpected end of file
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
WARNING: I can't seem to be able to run `tar' with the given arguments.
You may want to install GNU tar or Free paxutils, or check the
command line arguments.
Makefile:28: recipe for target 'uncompress-stamp' failed
make[2]: *** [uncompress-stamp] Error 1
make[2]: Leaving directory '/home/hp/Downloads/yambo-4.3.3/lib/iotk'
Makefile:151: recipe for target 'ext-libs' failed
make[1]: *** [ext-libs] Error 2
make[1]: Leaving directory '/home/hp/Downloads/yambo-4.3.3'
yambo build failed

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

Re: Compilation error

Post by Daniele Varsano » Sat Mar 14, 2020 8:53 am

Dear khyeoh,
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 the user profile.
First, note that 4.3.3 is a very old release of Yambo and it is not maintained anymore, so I strongly suggest you update to a newer release.
Yambo uses several libraries, if they are not present in your machine it downloads them from the network and compile them automatically: now it seems you have a problem at this stage. As reported in the error message you should check if you have direct access to the internet, and wget/curl installed.
If this is the case, it is also possible that the location of the library has changed. In all the cases I strongly advise you to switch to a more recent version of Yambo and if you still have problem, please report here.

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/

Post Reply