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

critical error during installation of openfoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 1, 2010, 17:42
Default
  #21
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 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:

http://www.cfd-online.com/Forums/ope...oam-1-6-a.html

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
Member
 
Fabio Malizia
Join Date: May 2010
Location: Leuven (Belgium)
Posts: 51
Rep Power: 15
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


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
CRITICAL ERROR on installation OpenFOAM 141 nuovodna OpenFOAM Installation 19 March 22, 2010 22: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 12: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 11:15.