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

How to Install OpenFOAM on 64 Ubuntu 9.04

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 26, 2009, 21:16
Default
  #41
Member
 
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17
yapalparvi is on a distinguished road
Hi Igor,

I went thro your message and the earlier thread. I think you can still use paraview to visualise your results. I do the same way. When you convert your output to VTK format it will crate 6 files for the cavity case. If you want to open the last file you can give the command
paraview --data=cavity_last.vtk where last will be a number

tou can download the version of paraview from paraview.org. and untar the files. Once the files are untarred it will create a directory and within that there will be a "bin" directory. Add this path into your .bashrc file and source it. With this one you can open paraview

Hope this helps
Try running other cases like SolidDisplacement etc...
yapalparvi is offline   Reply With Quote

Old   July 27, 2009, 04:15
Default
  #42
IGG
New Member
 
Igor Galdona
Join Date: Jun 2009
Posts: 14
Rep Power: 17
IGG is on a distinguished road
Good morning yapalparvi,

Thank you very much. I'll try that shortly and will comment the results on the other thread, in order to not mix up threads. Sure your advice us very helpfull: all advices are helpful here!!!
IGG is offline   Reply With Quote

Old   October 6, 2009, 01:12
Default
  #43
Member
 
Join Date: Mar 2009
Location: Sydney, New South Wales, Australia
Posts: 42
Rep Power: 17
rassilon is on a distinguished road
Quote:
Originally Posted by pa-ma View Post
Yes I copied the 64 bit version bluntly to the dir structure where the original paraview executable should've been.

When I run 'paraFoam -case $FOAM_RUN/tutorials/icoFoam/cavity', paraview 3.4.0 opens and a dialog pops up, where you can select a reader for the case file. After selecting 'OpenFOAM files' reader, whole paraview dies. There is a patch to fix this, but that route means compiling paraview itself, which resulted in issues with my Jaunty package setup (synaptic won't install necessary dependencies).

I'd really prefer some binary PV3FoamReader if there is one to try with.

(For the record: this is a very fresh jaunty install with all updates applied)

Hi Pa-Ma,

How did you overcome this problem? I am experiencing it at the moment. I have attempted to compile the PV3FoamReader several times, yet I still get the reader selection dialog, and then a crash as soon as I select OpenFoam files.

Is there something that I need to do to tell Paraview to use the reader?


R
rassilon is offline   Reply With Quote

Old   October 12, 2009, 12:46
Default builParaView3.3-cvs got following error
  #44
New Member
 
Nirmal
Join Date: Jun 2009
Posts: 13
Rep Power: 17
nirmalrishi is on a distinguished road
Hi,

When I tried to run buildParaView3.3-cvs after rmoving platforms directory, i got the following messages.

[ 52%] [ 52%] Building CXX object Utilities/VTKClientServer/Graphics/CMakeFiles/vtkGraphicsCS.dir/vtkWindowedSincPolyDataFilterClientServer.o
Building CXX object Utilities/VTKClientServer/Graphics/CMakeFiles/vtkGraphicsCS.dir/vtkGraphicsCSInit.o
Linking CXX shared library ../../../bin/libvtkGraphicsCS.so
[ 52%] Built target vtkGraphicsCS
make: *** [all] Error 2
done



please let me know, how can i avoid this and complete the installation?
nirmalrishi is offline   Reply With Quote

Old   October 21, 2009, 07:15
Default
  #45
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Hello World.

Haven't thought I was beyond the point of asking questions about the installations, but Linux is always surprising ...

When running the ./Allwmake for the PV3FoamReader in version 1.6 I'm running into trouble:
Code:
[  8%] Generating qrc_PV3FoamReader.cxx
make[2]: QT_RCC_EXECUTABLE-NOTFOUND: Kommando nicht gefunden
make[2]: *** [qrc_PV3FoamReader.cxx] Fehler 127
make[1]: *** [CMakeFiles/PV3FoamReader.dir/all] Fehler 2
make: *** [all] Fehler 2
What may be wrong? Any ideas?

Here are my Qt and GCC versions, just for completeness:
Code:
sega@deepblue:~$ qmake --version
QMake version 2.01a
Using Qt version 4.5.0 in /usr/lib
sega@deepblue:~$ gcc --version
gcc (OpenFOAM) 4.3.3
Have a nice day!
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   March 15, 2010, 10:11
Default
  #46
vex
New Member
 
Anon
Join Date: Mar 2010
Posts: 22
Rep Power: 16
vex is on a distinguished road
Quote:
Originally Posted by sega View Post
Hello World.

Haven't thought I was beyond the point of asking questions about the installations, but Linux is always surprising ...

When running the ./Allwmake for the PV3FoamReader in version 1.6 I'm running into trouble:
Code:
[  8%] Generating qrc_PV3FoamReader.cxx
make[2]: QT_RCC_EXECUTABLE-NOTFOUND: Kommando nicht gefunden
make[2]: *** [qrc_PV3FoamReader.cxx] Fehler 127
make[1]: *** [CMakeFiles/PV3FoamReader.dir/all] Fehler 2
make: *** [all] Fehler 2
What may be wrong? Any ideas?

Here are my Qt and GCC versions, just for completeness:
Code:
sega@deepblue:~$ qmake --version
QMake version 2.01a
Using Qt version 4.5.0 in /usr/lib
sega@deepblue:~$ gcc --version
gcc (OpenFOAM) 4.3.3
Have a nice day!
Was there a solution found for this error? I'm hitting the same (exactly the same) problem.
vex is offline   Reply With Quote

Old   March 15, 2010, 12:03
Default
  #47
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Quote:
Originally Posted by vex View Post
Was there a solution found for this error? I'm hitting the same (exactly the same) problem.
I honestly can't remember ...
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   March 15, 2010, 12:44
Default
  #48
vex
New Member
 
Anon
Join Date: Mar 2010
Posts: 22
Rep Power: 16
vex is on a distinguished road
Quote:
Originally Posted by sega View Post
I honestly can't remember ...
Did it have something to do with changing between the system and OpenFOAM compilers in the settings.sh file?
vex is offline   Reply With Quote

Old   March 15, 2010, 13:27
Default
  #49
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
I doubt that. It muste have been somthing with Qt and all this stuff ...
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   March 15, 2010, 14:44
Default
  #50
vex
New Member
 
Anon
Join Date: Mar 2010
Posts: 22
Rep Power: 16
vex is on a distinguished road
Quote:
Originally Posted by sega View Post
I doubt that. It muste have been somthing with Qt and all this stuff ...
It might have been the start of it. I know I was having similar problems with Qt before I fixed it. Once I did however I ran into a few issues with vtkConfig.h--which I believe is a result of not having PV3reader module compiled correctly which lead me to the error in question.
vex is offline   Reply With Quote

Old   March 15, 2010, 15:03
Default
  #51
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
I really can't remember, sorry.
Which reminds me that I have to post solutions to every problem I faced and overcame...
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   March 15, 2010, 15:21
Default
  #52
vex
New Member
 
Anon
Join Date: Mar 2010
Posts: 22
Rep Power: 16
vex is on a distinguished road
Quote:
Originally Posted by sega View Post
I really can't remember, sorry.
Which reminds me that I have to post solutions to every problem I faced and overcame...
haha, it's okay--it's nothing super important as I'm doing this for "fun". Maybe some one will come up with a solution to this. I saw someone else has posted in my thread concerning this problem, so we'll see what they say.
vex is offline   Reply With Quote

Old   March 18, 2010, 13:51
Default
  #53
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 Anon,

I don't know if you've already managed to fix that issue you've had with Qt4/PV3FoamReader, but two possible fixes come to mind:
  1. install qt4-dev, which should have Qt's rcc (resource building application);
  2. rebuild Paraview that comes with OpenFOAM's ThirdParty, since there might be PV3FoamReader cmake definitions that are inherited from the Paraview build!
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   March 18, 2010, 20:59
Default
  #54
vex
New Member
 
Anon
Join Date: Mar 2010
Posts: 22
Rep Power: 16
vex is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings Anon,

I don't know if you've already managed to fix that issue you've had with Qt4/PV3FoamReader, but two possible fixes come to mind:
  1. install qt4-dev, which should have Qt's rcc (resource building application);
  2. rebuild Paraview that comes with OpenFOAM's ThirdParty, since there might be PV3FoamReader cmake definitions that are inherited from the Paraview build!
Best regards,
Bruno
That very well may be my problem. When I attempt to type in
Code:
sudo apt-get install qt4-dev
I receive
Code:
E: Couldn't find package qt4-dev
vex is offline   Reply With Quote

Old   March 19, 2010, 03:43
Default
  #55
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Quote:
I receive Code:
E: Couldn't find package qt4-dev
You could grab qt4-dev for karmic here ...
__________________
Regards, Gijs

Last edited by gwierink; March 19, 2010 at 03:43. Reason: typo
gwierink is offline   Reply With Quote

Old   March 19, 2010, 07:23
Default
  #56
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 Anon,

Quote:
Originally Posted by vex View Post
That very well may be my problem. When I attempt to type in
Code:
sudo apt-get install qt4-dev
I receive
Code:
E: Couldn't find package qt4-dev
Uhm, although Linux is wicked sweet with it's shell capabilities (one could bring the whole world to a halt, with just a Linux shell ), most Linux distros (distributions) today have Graphical User Interfaces that aid those who can't get a grip on command line commands... me included :P
So whenever you can't install a package via command line, go to the GUI Synaptic, or Software Installation/Management in the menus or something like that, so you can get a proper search functionality That's what I usually do Also because sometimes the package names will change from version to version, and not always will have the same name!

So, as Gijs indicated, the proper package name is qt4-dev-tools. So:
Code:
sudo apt-get install qt4-dev-tools
should do the trick

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   March 19, 2010, 10:54
Default
  #57
vex
New Member
 
Anon
Join Date: Mar 2010
Posts: 22
Rep Power: 16
vex is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings Anon,



Uhm, although Linux is wicked sweet with it's shell capabilities (one could bring the whole world to a halt, with just a Linux shell ), most Linux distros (distributions) today have Graphical User Interfaces that aid those who can't get a grip on command line commands... me included :P
So whenever you can't install a package via command line, go to the GUI Synaptic, or Software Installation/Management in the menus or something like that, so you can get a proper search functionality That's what I usually do Also because sometimes the package names will change from version to version, and not always will have the same name!

So, as Gijs indicated, the proper package name is qt4-dev-tools. So:
Code:
sudo apt-get install qt4-dev-tools
should do the trick

Best regards,
Bruno
Ahhh, then I've already installed that.
vex is offline   Reply With Quote

Old   March 19, 2010, 11:00
Default
  #58
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Quote:
Originally Posted by vex View Post
Ahhh, then I've already installed that.
And does it work now? Or does the error you stated for the foam reader still occur?
wyldckat is offline   Reply With Quote

Old   March 19, 2010, 12:41
Default
  #59
vex
New Member
 
Anon
Join Date: Mar 2010
Posts: 22
Rep Power: 16
vex is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
And does it work now? Or does the error you stated for the foam reader still occur?
Nope, the error still occurs.
vex is offline   Reply With Quote

Old   March 19, 2010, 13:04
Default
  #60
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Quote:
Originally Posted by vex View Post
Nope, the error still occurs.
OK, if it's still the QT_RCC_EXECUTABLE issue... try this:
Code:
which rcc
If it shows something like:
Code:
/usr/bin/rcc
then it is installed.

Also, have you tried:
Code:
cd $FOAM_APP/utilities/postProcessing/graphics/PV3FoamReader
./Allwclean
./Allwmake
If you've tried all of the above to no success, then lets go to the other possibility: Paraview needs to be (re)built. Do you know if you've already built Paraview that comes with OpenFOAM's ThirdParty? Or are you using the one that comes with the linuxGcc package?
Either way, try:
Code:
cd $WM_THIRD_PARTY_DIR
./makeParaView
I'm not sure if it cleans after itself In other words, you might want to remove the folders "paraview-3.6.1/platforms/*" first, but do it only if it doesn't build at first.

If it builds successfully, then try building once again the PV3FoamReader
wyldckat is offline   Reply With Quote

Reply

Tags
9.04, installing openfoam, ubuntu 9.04


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
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 7 July 30, 2009 04:14
qt4.3.4 with ubuntu 9.04 "jaunty jackalope"? sven OpenFOAM 4 May 30, 2009 19:22
OpenFOAM Install problem masb OpenFOAM 3 May 25, 2009 12:32
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 15:25


All times are GMT -4. The time now is 11:03.