CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Installation

critical error during installation of openfoam

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

LinkBack Thread Tools Display Modes
Old   June 1, 2010, 17:42
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,036
Blog Entries: 39
Rep Power: 110
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Greetings Fabio,
Originally Posted by Fabio88 View Post
I try after to see if Open foam start but the foam installation test give me errors both for 1.6 and 1.6.x

Checking basic setup...

FATAL ERROR: OpenFOAM environment not configured.

    Please refer to the installation section of the README file:
    <OpenFOAM installation dir>/OpenFOAM-1.6/README
    to source the OpenFOAM environment.

fabio@fabio-laptop:~/OpenFOAM/OpenFOAM-1.6.x/bin$ ./foamInstallationTest
I found this error in the forum and there is your solution:

but it is for 1.6....I can follow?
Ah, you apparently missed the text at the very end of the script:
Installation complete - You have chosen to use bash alias
To start using OpenFOAM, you'll have to start a new terminal first;
then, type:
to activate the OpenFOAM environment
Whenever you start a new terminal, and if you want the OpenFOAM environment to start, you should type: startFoam

Originally Posted by Fabio88 View Post
if it can help you, now there is write in the bashrc file in my home these lines(at the end)

alias startFoam=". /home/fabio/OpenFOAM/OpenFOAM-1.6.x/etc/bashrc"
Exactly, whenever you start a new terminal, you should execute startFoam.

Now, if you want both OpenFOAM versions to be available, then edit the $HOME/.bashrc script and change that line you posted to these two lines:
alias startFoam16x=". /home/fabio/OpenFOAM/OpenFOAM-1.6.x/etc/bashrc"
alias startFoam16=". /home/fabio/OpenFOAM/OpenFOAM-1.6/etc/bashrc"
And whenever you start a new terminal, you can choose which version you want to run, by running startFoam16 or startFoam16x!

And finally, you should have at least OpenFOAM 1.6.x ready to go

Best regards,
wyldckat is offline   Reply With Quote

Old   June 2, 2010, 03:01
Fabio Malizia
Join Date: May 2010
Location: Leuven (Belgium)
Posts: 47
Rep Power: 9
Fabio88 is on a distinguished road
after many days and your big big patience in my pc there is open foam 1.6x and the foaminstalation test go well
I'm very happy...
now there are also available the commands paraview and parafoam....but there is a problem of libraries...
fabio@fabio-laptop:~/OpenFOAM/OpenFOAM-1.6.x/tutorials/incompressible/icoFoam/cavity$ paraview
/home/fabio/OpenFOAM/ThirdParty-1.6.x/paraview-3.6.1/platforms/linux64Gcc/bin/paraview-real: error while loading shared libraries: cannot open shared object file: No such file or directory
then I tried to solve it installing the libraries libqt4-assistant(I search it with synaptic)

and now....

paraview open!!!!

now I've to try the program but I hope it go well

thanks a lot for all your help


Very Happy Fabio
Fabio88 is offline   Reply With Quote


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
CRITICAL ERROR on installation OpenFOAM 141 nuovodna OpenFOAM Installation 19 March 22, 2010 23:36
Critical errors during OpenFoam installation in OpenSuse 11.0 amscosta OpenFOAM 5 May 1, 2009 14:06
Critical errors gcc and icoFoam during installation of 15 quartzian OpenFOAM Installation 3 December 12, 2008 13:42
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25

All times are GMT -4. The time now is 14:36.