Page 1 of 1

Recompiling yambo while keeping previous installed libraries

Posted: Wed Jun 14, 2023 9:02 am
by Franz Fischer
Hi,

I would like to make some changes to the yambo source code and I am wondering if it is possible to recompile yambo without the need to reinstall all relevant libraries as this takes quite long? Is there some easy change in the Makefile or some other place that allows for just recompiling the yambo/src/* files while reusing the previously compiled libraries?

Thanks in advance.

Best,
Franz

Re: Recompiling yambo while keeping previous installed libraries

Posted: Wed Jun 14, 2023 10:35 am
by claudio
Dear Franz

if you modify a file in Yambo, the makefile automatically recompile only the modified file.
Anyway you can copy all the libraries in a separate folder and link them

See here
https://www.yambo-code.eu/wiki/index.ph ... /LinuxMint

and also here
https://www.yambo-code.eu/wiki/index.ph ... l_compiler

best
Claudio

Re: Recompiling yambo while keeping previous installed libraries

Posted: Wed Jun 14, 2023 12:20 pm
by Franz Fischer
Thanks Claudio!

Best,
Franz