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

critical error during installation of openfoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 1, 2010, 17:42
Default
  #21
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Fabio,
Quote:
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

Code:
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:

Debug version of OpenFOAM-1.6

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


Quote:
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)
Code:
fi

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:
Code:
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,
Bruno
wyldckat is offline   Reply With Quote

Old   June 2, 2010, 03:01
Default
  #22
New Member
 
Fabio Malizia
Join Date: May 2010
Location: Forli (Italy)
Posts: 22
Rep Power: 7
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...
Code:
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: libQtAssistantClient.so.4: 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

bye

Very Happy Fabio
Fabio88 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
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 17:58.