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

OpenFOAM-1.6 install cookbook

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 3, 2010, 08:35
Default
  #361
Member
 
Gareth
Join Date: Jun 2010
Posts: 56
Rep Power: 16
bullmut is on a distinguished road
http://code.google.com/p/openfoam-ubuntu

and then follwoed the instructions directly:
$ wget http://openfoam-ubuntu.googlecode.com/hg/installOF.sh
$ chmod +x installOF.sh
$ ./installOF.sh

Once the program to install started runnning i let it do its work
After it was doen i read through the log file it seemed to have worked...
bullmut is offline   Reply With Quote

Old   June 3, 2010, 16:00
Default
  #362
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 bullmut,

That particular script has it's own thread for reports: http://www.cfd-online.com/Forums/ope...-ubuntu-5.html
So please, if after the solution bellow, the installation is still not working, please post on that thread!

Now, for the error you got: did you start a new terminal and run startFoam before running foamInstallationTest? If not, that's the problem!

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 6, 2010, 11:24
Default error message while installing OF on an external hard drive with Ubuntu 9.10
  #363
Senior Member
 
Suresh kumar Kannan
Join Date: Mar 2009
Location: Luxembourg, Luxembourg, Luxembourg
Posts: 129
Rep Power: 17
kumar is on a distinguished road
Hello guys,
I am trying to install OF on a external hard drive on which i installed Ubuntu 9.10. I used the script from the install cookbook. I used the same script a few weeks before and it worked fine on another computer. But now I think there is a problem wiith the git. I recieved this message while running the script

2010-06-06 16:07:38 (7.52 MB/s) - `ThirdParty-1.6.linuxGcc.gtgz' saved [138472985/138472985]

------------------------------------------------------
Untarring - this takes a while...
------------------------------------------------------
FIX up for Ubuntu 9.10
Fix up done
------------------------------------------------------
Retrieveing OpenFOAM...
------------------------------------------------------
Initialized empty Git repository in /home/bernhard/OpenFOAM/OpenFOAM-1.6.x/.git/
fatal: http://repo.or.cz/r/OpenFOAM-1.6.x.git/info/refs download error -
It says it is a download error.
Is it a problem with the site or , with the script.
Please clarify

regards
K.Suresh kumar
kumar is offline   Reply With Quote

Old   June 7, 2010, 10:04
Default
  #364
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Kumar,

Quote:
Originally Posted by kumar View Post
That is one of those errors that pretty much just indicates "please try again later". The script shouldn't be the one to blame. The server must have been down for maintenance or something like that.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 7, 2010, 10:23
Default
  #365
Member
 
83_Ale_83's Avatar
 
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 16
83_Ale_83 is on a distinguished road
Now it works without problem, I have just update with git pull
__________________

83_Ale_83 is offline   Reply With Quote

Old   June 7, 2010, 10:35
Default
  #366
Senior Member
 
Suresh kumar Kannan
Join Date: Mar 2009
Location: Luxembourg, Luxembourg, Luxembourg
Posts: 129
Rep Power: 17
kumar is on a distinguished road
Thanks guys,
I just tried the script again and now the git has no problem. I guess it was a problem with the server. Now OpenFoam is compiling.

I hope it compiles with no problem. Just one question do you think since I am compiling on an external hard drive, I will have some problems in using paraFoam.

thanks again
bye
regards
K.Suresh kumar
kumar is offline   Reply With Quote

Old   June 13, 2010, 20:48
Default paraFoam, Segmentation Fault
  #367
New Member
 
Subramanyam Natarajan
Join Date: Apr 2010
Location: Bangalore, India
Posts: 10
Rep Power: 16
subramanyamn is on a distinguished road
Hi,

I installed OF-1.6 on my Ubuntu 10.04. (Compaq Presario, Intel Centrino 1.6GHz, 1.2GB DDR, old, but works). I used this link :
http://www.cfd-online.com/Forums/ope...okbook-19.html
Took about 7 hours in total!!

I tried to follow this tutorial, as I plan to learn OF from scratch :
http://www.openfoam.com/docs/user/cavity.php

When I issue the command,
$ paraFoam
or
$ paraFoam -case $FOAM_RUN/tutorials/incompressible/icoFoam/cavity

I get this error :
created temporary 'cavity.OpenFOAM'
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QFileSystemWatcher: failed to add paths: /home/sn/.config/ibus/bus
Bus:pen: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
Segmentation fault

I am a Linux newbie and looking forward for some help with this!

Thanks!
Subramanyam
subramanyamn is offline   Reply With Quote

Old   June 15, 2010, 04:44
Default Error with paraFoam
  #368
Member
 
Rickard Hidefjäll
Join Date: Jun 2009
Location: Uppsala, Sweden
Posts: 39
Rep Power: 17
SkunkWorks is on a distinguished road
Hi !

I've used the http://openfoam-ubuntu.googlecode.com/hg/installOF.sh
script several times with different parameters, and I also still get the same results as above:

rickard@SkunkWorks:/Data/FlygFiler/Projekt20100612$ startFoam
Building on 4 cores
rickard@SkunkWorks:/Data/FlygFiler/Projekt20100612$ paraFoam
created temporary 'Projekt20100612.OpenFOAM'
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QFileSystemWatcher: failed to add paths: /home/rickard/.config/ibus/bus
Bus:pen: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
Segmentation fault
rickard@SkunkWorks:/Data/FlygFiler/Projekt20100612$

A new fresh Linux install has taken place twice with no differens in results.

I think some thing has change sins 22/5 when the script was last updated.
Or has anyone any hints about how to fix the problem?

Regards Rickard
SkunkWorks is offline   Reply With Quote

Old   June 15, 2010, 04:52
Default
  #369
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
Quote:
Originally Posted by SkunkWorks View Post
Hi !

I've used the http://openfoam-ubuntu.googlecode.com/hg/installOF.sh
script several times with different parameters, and I also still get the same results as above:
This is not the correct thread for problems relating to that script, see

Quote:
Originally Posted by wyldckat View Post
Hi bullmut,

That particular script has it's own thread for reports: http://www.cfd-online.com/Forums/ope...-ubuntu-5.html

[...]

Best regards,
Bruno
akidess is offline   Reply With Quote

Old   June 15, 2010, 04:54
Default
  #370
Member
 
Rickard Hidefjäll
Join Date: Jun 2009
Location: Uppsala, Sweden
Posts: 39
Rep Power: 17
SkunkWorks is on a distinguished road
Sorry! and thanks!

Regards Rickard
SkunkWorks is offline   Reply With Quote

Old   June 20, 2010, 05:37
Default
  #371
Member
 
inginer's Avatar
 
Ovidiu Michiu
Join Date: Apr 2010
Location: Munich, Germany
Posts: 53
Rep Power: 16
inginer is on a distinguished road
hello there,

thk Mads for the cookbook. the installation went very well, but i have a small problem, or my be is a bug.

after the installation, i run a tutorial and when i start the paraFoam to see the mesh, my paraview give me a white screen. when i start to move the mouse in the window where you can see the model, i was seeing the model but with frames; when i was stop moving the screen became white again.

i modify the script from

$OpenFOAM-1.6.x./bin/paraFoam

by adding at the top,under the comment lines:

export LC_ALL=C

i start again the paraview and it has the same white screen, but after a few second close and give me this error:

inginer@inginer-laptop:~/OpenFOAM/FOAM_RUN/tutorials/incompressible/icoFoam/cavity$ paraFoam
created temporary 'cavity.OpenFOAM'
X Error: GLXBadContextTag 172
Extension: 154 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x50006c3
X Error: GLXBadContextTag 172
Extension: 154 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x500001c
X Error: GLXBadContextTag 172
Extension: 154 (Uknown extension)
Minor opcode: 1 (Unknown request)
Resource id: 0x1
X Error: GLXBadContextTag 172
Extension: 154 (Uknown extension)
Minor opcode: 117 (Unknown request)
Resource id: 0x1
Segmentation fault
inginer@inginer-laptop:~/OpenFOAM/FOAM_RUN/tutorials/incompressible/icoFoam/cavity$

PS: i have ubuntu 9.10, on 32 bits, (fresh install); also im new in linux and openFoam

thk
inginer is offline   Reply With Quote

Old   June 21, 2010, 19:14
Default
  #372
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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
Hello again Ovidiu,

Wow, you may be new to Linux, but you've been trying different distributions for a while now

OK, the issue you are getting is related to the graphics card drivers. If you trail back this thread, you should pick up on similar errors that others have had in the past and how they fixed it.

The solution that I usually go for is to rebuild ParaView. For that, there are a few guides you could follow:
  1. Compiling Paraview 3.6.1 and the PV3FoamReader module - it is OpenCFD's instructions on what to do. Actually, they are still missing the "./" before "makeParaView"... it should be "./makeParaView".
  2. A somewhat long thread explaining on how to build Qt 4.3.5 and ParaView 3.6.1:
    Quote:
    Originally Posted by http://www.cfd-online.com/Forums/blogs/wyldckat/232-list-threads-useful-building-openfoam-other-third-party-tools.html
    On how to build Paraview and Qt 4.3.5, including on how to use the cmake that comes with the package ThirdParty-1.6.linuxGcc.gtgz: New user needs help
    I say Qt 4.3.5, because the 4.5.1 version that comes with Ubuntu 9.10 doesn't always work
  3. Or you can use the experimental script available at "http://code.google.com/p/openfoam-ubuntu/":
    Code:
    wget http://openfoam-ubuntu.googlecode.com/hg/installOF_exp.sh
    chmod +x installOF_exp.sh
    ./installOF_exp.sh
    I say the experimental script, because the release version doesn't have the custom install option
    The steps to use the experimental script should be (after it's running):
    1. It asks if you allow it to run sudo... just say
      Code:
      yes
      to keep things simple
    2. It will ask for your user password, so it can install the dialog package.
    3. Then it will show you the about box. Just press Enter.
    4. Enter again for the OpenFOAM path, and Enter again for the login mode.
    5. Press the key c and the space key, then Enter. This chooses the custom mode.
    6. Press the key 2 and the space key, then Enter. This chooses to run the options for building ParaView.
    7. Press 1+space and 2+space and 4+space, then Enter. These choose to build Qt 4.3.5, ParaView 3.6.1 and build it with Python, because it could come in handy sometime
    8. Enter, so it will choose the download mirror on it's own. Don't worry, it won't download the same downloaded files again. it will only download the files it needs.
    9. The "Final Settings" screen show up... just press Enter and there it goes, full steam ahead 30min to 2-3h hours later, ParaView should be up and running!
And voilá... after these three possibilities, you should be able to build ParaView somehow By the way, my favorite possibility is the third one

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   November 20, 2010, 12:57
Default Compiling OpenFOAM 1.6 on SGI machine
  #373
Senior Member
 
n/a
Join Date: Sep 2009
Posts: 199
Rep Power: 17
deji is on a distinguished road
Wow, this was a pretty long thread. Since this thread pertains to cookbook for installing OpenFOAM 1.6, I am attempting to do so on an HPC machine, 64 bit and tcsh shell. Is there an install script that someone has developed that I can utilize? Thanks.

Deji
deji 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
install OpenFoam 1.6 by building source: how? niudie OpenFOAM Installation 13 April 26, 2011 01:48
How to Install OpenFOAM on 64 Ubuntu 9.04 hansel OpenFOAM Installation 62 March 19, 2010 15:43
install openfoam 1.6 on opensuse 11.0 andresbh OpenFOAM Installation 8 September 30, 2009 01:48
Install openFOAM 1.6 on debian 32bit - blockMesh: command not found fossy OpenFOAM Installation 1 August 28, 2009 05:06
Install of OpenFOAM 1.6 Error 1 Error 2 & run tutorial potac OpenFOAM Installation 3 August 27, 2009 10:04


All times are GMT -4. The time now is 23:20.