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

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

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 20, 2009, 05: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: 8
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, 08:52
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 777
Rep Power: 18
olesen will become famous soon enough
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, 14:32
Default
  #3
New Member
 
Marcin Hinz
Join Date: May 2009
Location: Monheim am Rhein, Germany
Posts: 24
Rep Power: 8
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, 03:25
Default
  #4
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 777
Rep Power: 18
olesen will become famous soon enough
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

Thread Tools
Display Modes

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 On
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 05:06
OpenFOAM Version 1.5 Released OpenFOAM discussion board administrator OpenFOAM Announcements from ESI-OpenCFD 0 July 14, 2008 18:22
Upgrade P4 1.5 to P4 2.6 JJJ FLUENT 3 May 29, 2004 10:30
P4 1.5 or Dual P3 800EB on Gibabyte board Danial FLUENT 4 September 12, 2001 11:44
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


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