|
[Sponsors] |
August 23, 2009, 23:04 |
Question about obtaining the latest version
|
#1 |
New Member
Russ
Join Date: Aug 2009
Posts: 2
Rep Power: 0 |
Hi,
I want to get the latest-and-greatest 1.6.x version of OpenFOAM. I used the git command as shown on the download page (git clone http://......., git pull). Does this get the complete 1.6.x version or just the changes since the 1.6 tarball? Thanks, Russ |
|
August 24, 2009, 03:37 |
|
#2 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
"git clone" downloads the complete git repository of OpenFOAM-1.6.x and "git pull" downloads the updates since your last pull.
H |
|
August 24, 2009, 12:31 |
Thanks
|
#3 |
New Member
Russ
Join Date: Aug 2009
Posts: 2
Rep Power: 0 |
Thank you for the reply.
So to be clear, performing this step: git clone http://repo.or.cz/r/OpenFOAM-1.6.x.git Will create a local directory called OpenFOAM-1.6.x that contains the most up-to-date versions of all the files found in the tarball - the complete package. And performing this step inside the OpenFOAM-1.6.x directory: git pull Will obtain any and all updates to the files in the project. Is this correct? The reason I ask is that a colleague suggested that I would have to obtain the 1.6 tarball, and manually patch it with the patch files obtained via git. |
|
August 24, 2009, 12:42 |
|
#4 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
You are correct, you do not need to download and install OpenFOAM-1.6 first, however you might find it useful to download the ThirdParty packs from 1.6 for use with 1.6.x as these are not included in the git repository.
H |
|
August 24, 2009, 15:18 |
|
#5 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
People could then
Bernhard |
||
August 24, 2009, 19:27 |
|
#6 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
We have put our various ThirdParty build scripts under git here but not the whole of the ThirdParty source tree as we do not need version control for those source because we do not or only very rarely change them. I agree that it would be convenient if the whole of ThirdParty could be downloaded using git but it does seem like overkill to use an advanced distributed version control system simply as a download protocol. We are still considering the options but for the moment the best thing to do is to download the release pack of ThirdParty sources.
H |
|
August 25, 2009, 03:35 |
|
#7 |
Member
Michael Wild
Join Date: Mar 2009
Location: Bern, Switzerland
Posts: 79
Rep Power: 17 |
How about a separate ThirdParty-repository, which you then pull in as a Git submodule?
Michael |
|
August 25, 2009, 03:46 |
|
#8 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
ThirdParty is a very large source tree which does not need to be under version control because we do not change these sources so why is using git to download it better than scp, ftp, http or any other protocol?
H |
|
August 25, 2009, 05:26 |
|
#9 |
Member
Michael Wild
Join Date: Mar 2009
Location: Bern, Switzerland
Posts: 79
Rep Power: 17 |
True. But then, are GCC and OpenMPI really required in the ThirdParty pack? Those are huge, and readily available on all Linux systems I know of... And if GCC-4.3+ or OpenMPI are not available, you still could provide a script to fetch and build those.
Last edited by mwild; August 25, 2009 at 05:32. Reason: typo |
|
August 25, 2009, 06:07 |
|
#10 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
We did consider providing download scripts but it adds complexity and maintenance problems so for now we decided to stick with supplying a complete ThirdParty pack as we had done for the 1.5 release.
H |
|
August 25, 2009, 11:26 |
|
#11 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Bernhard |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wing Aerodynamics Fluent OF 15 comparison | maddalena | OpenFOAM Running, Solving & CFD | 85 | August 20, 2013 11:36 |
OpenFOAM Patched Version 1.5 via git Repository | OpenFOAM discussion board administrator | OpenFOAM Announcements from ESI-OpenCFD | 0 | August 26, 2008 06:06 |
What is Fluent's latest version number and service | JollyP | FLUENT | 1 | October 30, 2006 17:34 |
The latest version | Ivan | Siemens | 1 | August 29, 2006 10:28 |
latest version of fluent | masood yooceframandi | FLUENT | 10 | January 22, 2005 19:21 |