Recompiling yambo while keeping previous installed libraries

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
Franz Fischer
Posts: 38
Joined: Wed Jul 20, 2022 9:36 am

Recompiling yambo while keeping previous installed libraries

Post by Franz Fischer » Wed Jun 14, 2023 9:02 am

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
Franz Fischer
PhD student / IMPRS-UFAST fellow
Institute of Physical Chemistry
University of Hamburg

User avatar
claudio
Posts: 458
Joined: Tue Mar 31, 2009 11:33 pm
Location: Marseille
Contact:

Re: Recompiling yambo while keeping previous installed libraries

Post by claudio » Wed Jun 14, 2023 10:35 am

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
Claudio Attaccalite
[CNRS/ Aix-Marseille Université/ CINaM laborarory / TSN department
Campus de Luminy – Case 913
13288 MARSEILLE Cedex 09
web site: http://www.attaccalite.com

Franz Fischer
Posts: 38
Joined: Wed Jul 20, 2022 9:36 am

Re: Recompiling yambo while keeping previous installed libraries

Post by Franz Fischer » Wed Jun 14, 2023 12:20 pm

Thanks Claudio!

Best,
Franz
Franz Fischer
PhD student / IMPRS-UFAST fellow
Institute of Physical Chemistry
University of Hamburg

Post Reply