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

How to Install OpenFOAM on 64 Ubuntu 9.04

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 26, 2009, 20:16
Default
  #41
Member
 
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 8
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, 03:15
Default
  #42
IGG
New Member
 
Igor Galdona
Join Date: Jun 2009
Posts: 14
Rep Power: 8
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, 00:12
Default
  #43
Member
 
Join Date: Mar 2009
Location: Sydney, New South Wales, Australia
Posts: 42
Rep Power: 8
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, 11:46
Default builParaView3.3-cvs got following error
  #44
New Member
 
Nirmal
Join Date: Jun 2009
Posts: 13
Rep Power: 8
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, 06:15
Default
  #45
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 11
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: 7
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: 11
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: 7
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: 11
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: 7
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: 11
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: 7
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,258
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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: 7
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: 382
Rep Power: 9
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,258
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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: 7
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,258
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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: 7
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,258
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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

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
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 7 July 30, 2009 03:14
qt4.3.4 with ubuntu 9.04 "jaunty jackalope"? sven OpenFOAM 4 May 30, 2009 18:22
OpenFOAM Install problem masb OpenFOAM 3 May 25, 2009 11:32
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 19:07.