CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

How to upgrade OF 1.5 to OF 1.5.x version?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 20, 2009, 06:18
Default How to upgrade OF 1.5 to OF 1.5.x version?
  #1
New Member
 
Marcin Hinz
Join Date: May 2009
Location: Monheim am Rhein, Germany
Posts: 24
Rep Power: 17
Marcin is on a distinguished road
Hi everyone!

I would like to upgrade my OF to the 1.5.x version because of some bugs. I'm using KDE 3.1.4 linux version and don't have connection with internet on this computer.

Could someone give me some advices, how to do it step by step?

Regards, Marcin.
Marcin is offline   Reply With Quote

Old   May 20, 2009, 09:52
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by Marcin View Post
I would like to upgrade my OF to the 1.5.x version ... don't have connection with internet on this computer.
You can fetch or clone the git repository on any other computer with internet access and transfer it via USB stick to your other computer.
The only essential part that you actually need is the ".git" directory.
You can, for example,
Code:
# machine 1
tar -cvf /media/USB/OF15x-git.tar OpenFOAM-1.5.x/.git

# machine 2
tar -xvf /media/USB/OF15x-git.tar
cd OpenFOAM-1.5.x

git status    # verify the current status (all the files are missing)
git checkout -f HEAD   # force a checkout of the current head
After that it is the same as the usual compilation process.

For keeping your isolated repository up-to-date, I'd suggest reading up on "git-bundle" - it's a useful way of moving about small changes.
olesen is offline   Reply With Quote

Old   June 1, 2009, 15:32
Default
  #3
New Member
 
Marcin Hinz
Join Date: May 2009
Location: Monheim am Rhein, Germany
Posts: 24
Rep Power: 17
Marcin is on a distinguished road
Hi Mark,

thank You very much for Your reply. Do You know, how can I "fetch or clone the git repository"? The problem is, that I'm using a windows computer at home and a OpenSuse computer at work. I have tried to open the link from the CFD Online homepage, but it dosen't seem to work. I get a message "firefox is not able to open a git protocol". I must also add, that I'm a new linux and OpenFOAM user. Thanks for any help.

Best Regards!

Marcin.
Marcin is offline   Reply With Quote

Old   June 2, 2009, 04:25
Default
  #4
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by Marcin View Post
The problem is, that I'm using a windows computer at home and a OpenSuse computer at work.
I don't know how much effort it'd be to use OpenFOAM with windows - I personally try to avoid windows as much as possible.

Quote:
I get a message "firefox is not able to open a git protocol"
If you dig about a bit more, you'll find that there are both git and http protocols for accessing the repositories on repo.or.cz. The git protocol should be more efficient, but I use the http protocol due to corporate firewall issues.

http://repo.or.cz/w/OpenFOAM-1.5.x.git
olesen is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM Patched Version 1.5 via git Repository OpenFOAM discussion board administrator OpenFOAM Announcements from ESI-OpenCFD 0 August 26, 2008 06:06
OpenFOAM Version 1.5 Released OpenFOAM discussion board administrator OpenFOAM Announcements from ESI-OpenCFD 0 July 14, 2008 19:22
Upgrade P4 1.5 to P4 2.6 JJJ FLUENT 3 May 29, 2004 11:30
P4 1.5 or Dual P3 800EB on Gibabyte board Danial FLUENT 4 September 12, 2001 12:44
CFX4.3 -build analysis form Chie Min CFX 5 July 13, 2001 00:19


All times are GMT -4. The time now is 18:07.