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

new user wants to get 1.6.x git problem

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 25, 2010, 05:27
Default new user wants to get 1.6.x git problem
  #1
New Member
 
Achim
Join Date: May 2009
Posts: 22
Rep Power: 16
af631717 is on a distinguished road
as a new user I write in the OpenFOAM directory:

git clone http://github.com/OpenFOAM-1.6.x.git (http because of firewall)

and i get the answer:

Initialized empty Git reposity in /hein/OpenFOAM/OpenFOAM-1.6.x/.git
fatal http://github..../info/refs not found: did you run git update-server-info on the server?

Why is it not possible to download OpenFOAM-1.6.x??

1.7.x works still

Achim
af631717 is offline   Reply With Quote

Old   August 25, 2010, 05:41
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Achim,

In GitHub they only have 1.7.x. I've just checked 1.6.x and 1.5.x are still in repo.or.cz.
If you want to do a new git clone of 1.6.x, try this:
Code:
git clone http://repo.or.cz/r/OpenFOAM-1.6.x.git
In case it still doesn't work, try downloading straight from the webpage:
Quote:
Originally Posted by http://repo.or.cz/w/OpenFOAM-1.6.x.git/tree
snapshot (tar.gz zip)
Because 1.6.x is no longer updated, so I think you can get the snapshot without any more worries.

Good luck,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   August 27, 2010, 10:50
Default
  #3
New Member
 
Achim
Join Date: May 2009
Posts: 22
Rep Power: 16
af631717 is on a distinguished road
Thank you very much Bruno

a little problem i have with the gcc version. When i run the foamInstallationTest he gives me the warning:

WARNING: gcc version does not match gcc supplied with this release of OpenFOAM
Supplied version: 4.3.3
User version : 4.3.2
Minimum required: 4.3.1

but in settings.sh there is the 4.3.3. which is in the ThirdParty Package

# Select compiler installation
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# compilerInstall = OpenFOAM | System
compilerInstall=OpenFOAM

case "${compilerInstall:-OpenFOAM}" in
OpenFOAM)
case "$WM_COMPILER" in
---------------------------------------------------

When i want to compile may Foamreader he gave me:


-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
Warning: CMake is forcing CMAKE_CXX_COMPILER to "/home/hans/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/bin/c++" to match that imported from VTK. This is required because C++ projects must use the same compiler. If this message appears for more than one imported project, you have conflicting C++ compilers and will have to re-build one of those projects. Was set to /usr/bin/c++
-- Loading ParaView CMake commands
-- Loading ParaView CMake commands - done
CMake Error at /home/hans/OpenFOAM/ThirdParty-1.6.x/paraview-3.6.1/CMake/ParaViewPlugins.cmake:762 (QT4_WRAP_CPP):
Unknown CMake command "QT4_WRAP_CPP".
Call Stack (most recent call first):
/home/hans/OpenFOAM/ThirdParty-1.6.x/paraview-3.6.1/CMake/ParaViewPlugins.cmake:878 (ADD_PARAVIEW_GUI_EXTENSION)
CMakeLists.txt:44 (ADD_PARAVIEW_PLUGIN)


-- Configuring incomplete, errors occurred!

It is strange because i changed nothing an now he wants my system compiler.
Regards
Achim
af631717 is offline   Reply With Quote

Old   August 27, 2010, 11:09
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Achim,

I think you only got the source package for ThirdParty-1.6... and you have yet to build gcc that comes with it and ParaView too.
In the link in my signature you can find links to threads that explain how to build gcc and paraview for OpenFOAM 1.6/1.6.x:

But if you are running Ubuntu (8.10 to 10.04), you might want to use the openfoam-ubuntu script: http://code.google.com/p/openfoam-ubuntu/

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   August 27, 2010, 11:17
Default last question
  #5
New Member
 
Achim
Join Date: May 2009
Posts: 22
Rep Power: 16
af631717 is on a distinguished road
Thanks again Bruno,

i will do so but i have one question

until 2 days my system (OF1.6.x) went well until something went wrong with git.
I have two identical computers. On the other OF1.6.x is running fine.
I tried to tar both directories (OF1.6.x and the Thirdparty Package) an copied to the broken installation.
It should work or am i wrong? But it does not work. Why?

Before the mess happened i installed 1.7.x but this should not be the reason?
Regards
Achim
af631717 is offline   Reply With Quote

Old   August 27, 2010, 11:55
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Achim,

I can only assume that your "~/.bashrc" file is misconfigured on the broken machine. Remove the lines you have in it that refer to each OpenFOAM bashrc file, and put these in it:
Code:
alias of16x='. $HOME/OpenFOAM/OpenFOAM-1.6.x/etc/bashrc'
alias of17x='. $HOME/OpenFOAM/OpenFOAM-1.7.x/etc/bashrc'
Now, every time you start a new terminal, either type of16x or of17x, but never both in the same terminal! This way you can use either version with the minimum effort

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   August 27, 2010, 12:39
Default nice weekend
  #7
New Member
 
Achim
Join Date: May 2009
Posts: 22
Rep Power: 16
af631717 is on a distinguished road
Hi Bruno

many thanks.

I deinstalled gcc !! (with yast) and everything works now. Now my Linux has no system compiler any more !! but everthing works. Copied the OF from the old machine to the broken one.
Now i can enjoy my weekend.

Thanks again - hope i will meet you somewhere to invite you for a beer

Achim
af631717 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Defined Memory Problem Melih FLUENT 17 February 21, 2020 07:43
Latest git 1.6.x : cellDistFuncs.H podallaire OpenFOAM Bugs 4 December 11, 2009 08:03
user routine, user funcion, or fortran compile effect on the memroy? princeps11 CFX 1 May 13, 2009 18:37
Installation Problem with GIT sega OpenFOAM Installation 2 May 8, 2009 08:46
Periodic flow boundary condition problem sudha FLUENT 3 April 28, 2004 08:40


All times are GMT -4. The time now is 08:42.