Page 1 of 1

Yambo 4.5.2 on Ubuntu 18.04.2 LTS

Posted: Fri Oct 16, 2020 8:28 am
by niloufar
Dear developers,

I am trying to compile Yambo 4.5.2 on my Ubuntu 18 . I downloaded the file and ran the "./configure" in terminal, and then "make yambo ypp interfaces" . and it got completed without any errors. But when I type yambo in my terminal, my system doesn't recognize it and also It's not in the list of installed packages. I tried it with quantum Espresso as well ( "make yambo" ), but it just created the folder and again had the same problem and didn't work.

I don't know what the problem is. Could it be because of the version of my Intel compiler or any other hardware related issues? or I should configure with options?
(I checked my Intel model, it's: Intel® Core™ i5-2430M CPU @ 2.40GHz × 4 )

By the way, could you please list the hardware requirements for this package?

Thanks a lot in advance for your help.
Best,
Niloufar Dezashibi

Re: Yambo 4.5.2 on Ubuntu 18.04.2 LTS

Posted: Fri Oct 16, 2020 8:38 am
by Daniele Varsano
Dear Niloufar,

if the compilation was successful the yambo executable will be in the bin directory inside the yambo dir.
You can run it by launching PATH_TO_YAMBO_DRECTORY/bin/yambo

If you want to run it just typing yambo in your shell you need to instruct the system to find it, there are several ways to do it:
edit your .bashrc adding this line:
export PATH=$PATH: PATH_TO_YAMBO_DRECTORY/bin/
and then:
> source .bashrc
or
copy or link the executable in a directory included in the $PATH variable e.g /usr/local/bin

or you can configure yambo assigning a prefix:
>./configure --prefix=/usr/local/bin
>make
>make install

Best,
Daniele

Re: Yambo 4.5.2 on Ubuntu 18.04.2 LTS

Posted: Fri Oct 16, 2020 12:42 pm
by niloufar
Dear Daniele,

thank you a lot for your help, I actually had the path in .bashrc file, so I thought it is OK. But when I copied executable in a directory included in the $PATH variable it worked.
So it is OK now.

Best regards,
Niloufar