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.
Code_Saturne Update
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
Code_Saturne Update
Fred
Xubuntu 16.04 / CS5.0
Xubuntu 16.04 / CS5.0
-
- Posts: 4206
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Code_Saturne Update
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
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
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
Xubuntu 16.04 / CS5.0