Code_Saturne Update

All questions about installation
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
frpageot
Posts: 85
Joined: Wed Mar 21, 2012 1:10 pm

Code_Saturne Update

Post by frpageot »

Hello,

I am still running with version 4.0.0 of CS on my computer. I am satisfied with this, but I would like to know if there is any quick way to update to the last version of the 4.0.x without reinstalling everything ? Thanks.
Fred
Xubuntu 16.04 / CS5.0
Yvan Fournier
Posts: 4077
Joined: Mon Feb 20, 2012 3:25 pm

Re: Code_Saturne Update

Post by Yvan Fournier »

Hello,

You only need to reinstall the code, not its prerequisites, and use the same directory structure, but there is otherwise no "easy way".

In may case, I usually untar the new version side by side with the previous version (assuming you want the bug-fix version 4.0.5, not the dev version 4.2.1), cd to the build directory, copy/paste the beginning of the config.log (changing simply ../code-saturne.4.0.0/configure to ../code-saturne.4.0.5/configure for example), type enter fo the configure stage to re-run, then run "make clean && make && make install". This is pretty quick, and "almost" automatic (at least it does not require hard thought).

This assumes you kept the build directory in place...

Regards,

Yvan
frpageot
Posts: 85
Joined: Wed Mar 21, 2012 1:10 pm

Re: Code_Saturne Update

Post by frpageot »

Thanks Yvan clearly this is not really difficult. I just did it and I am running with CS4.0.5 now.
Fred
Xubuntu 16.04 / CS5.0
Post Reply