Page 1 of 1

Code_Saturne Update

Posted: Tue Jun 07, 2016 10:43 am
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.

Re: Code_Saturne Update

Posted: Fri Jun 10, 2016 8:37 pm
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

Re: Code_Saturne Update

Posted: Mon Jun 13, 2016 4:29 pm
by frpageot
Thanks Yvan clearly this is not really difficult. I just did it and I am running with CS4.0.5 now.