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

[OpenFOAM.org] Paraview not found when installing OpenFoam to Ubuntu 14.04

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

Like Tree11Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 17, 2015, 15:34
Default
  #61
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,942
Blog Entries: 42
Rep Power: 121
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
Hi Guggelhupf,

OK, if my memory doesn't fail me, the problem can be fixed if you run these commands:
Code:
cd $WM_THIRD_PARTY_DIR

sed -i -e 's=//#define GLX_GLXEXT_LEGACY=#define GLX_GLXEXT_LEGACY=' \
  ParaView-4.1.0/VTK/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx
Then try building ParaView once again. Actually, to save some time, build ParaView with this command:
Code:
./makeParaView4 -no-config > log.makePV 2>&1
it will skip the reconfiguration of the whole build and it will continue building from where it stopped.


Sorry about this, because this issue is already fixed in the instructions for Ubuntu 14.10 and onward, on that very same wiki page, and I didn't have had the time/inspiration to re-test building on 14.04 with the same work-flow from 14.10

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   May 18, 2015, 03:37
Default
  #62
New Member
 
Björn Greis
Join Date: May 2015
Posts: 8
Rep Power: 6
Guggelhupf is on a distinguished road
Hello Bruno and thanks for your recommendations. I will follow your instructions today evening when i am back from work.

Till later,
Björn
Guggelhupf is offline   Reply With Quote

Old   May 18, 2015, 14:39
Default
  #63
New Member
 
Björn Greis
Join Date: May 2015
Posts: 8
Rep Power: 6
Guggelhupf is on a distinguished road
Hello Bruno,

I followed your instructions but are still unlucky.

First point: When I type in:
./Allwmake > make.log 2>&1

or:

./makeParaView4 -no-config > log.makePV 2>&1

for the second time I do not get a summery of the installation like descriped in the Wiki.
The second time needs less time then the first but do not give a summery.

But there is no Error message after:
icoFoam -help

bjoern@Linux:~/OpenFOAM/bjoern-2.3.0/run/tutorials/incompressible/icoFoam/cavity$ icoFoam -help

Usage: icoFoam [OPTIONS]
options:
-case <dir> specify alternate case directory, default is the cwd
-noFunctionObjects
do not execute functionObjects
-parallel run in parallel
-roots <(dir1 .. dirN)>
slave root directories for distributed running
-srcDoc display source code in browser
-doc display application documentation in browser
-help print the usage

Using: OpenFOAM-2.3.0 (see www.OpenFOAM.org)
Build: 2.3.0-f5222ca19ce6

bjoern@Linux:~/OpenFOAM/bjoern-2.3.0/run/tutorials/incompressible/icoFoam/cavity$

Second: When I follow the Tutorial and want to start ParaView through entering paraFoam I get the well known Error Message:

FATAL ERROR: ParaView reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers
./Allwclean
./Allwmake

What can I do to solute this problem. We want to use OpenFoam at work and it would be really nice to get it on.

THX

Guggelhupf is offline   Reply With Quote

Old   May 18, 2015, 14:45
Default
  #64
New Member
 
Björn Greis
Join Date: May 2015
Posts: 8
Rep Power: 6
Guggelhupf is on a distinguished road
Stop, everything is fine now. I was to fast.

After following the recommondations of Linux/OpenFoam:

FATAL ERROR: ParaView reader module libraries do not exist Please build the reader module before continuing: cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers ./Allwclean ./Allwmake
It starts through ParaView with entering ParaFoam

Thank you Bruno! I am able to work now.
wyldckat likes this.
Guggelhupf is offline   Reply With Quote

Old   May 19, 2015, 11:06
Default
  #65
New Member
 
Björn Greis
Join Date: May 2015
Posts: 8
Rep Power: 6
Guggelhupf is on a distinguished road
Hello together,

after finishing the installation of OF and PV I did not want to work on the tutorial cases.

So now, I have the well known problem that I do not have a mesh in ParaView after entering paraFoam. I changed the language to english and entered " export LC_ALL=C" into the mentioned file. That did not help. How can I turn of the desktop effects and how have I to change the grafic card options?
Guggelhupf is offline   Reply With Quote

Old   May 19, 2015, 11:40
Default
  #66
New Member
 
Björn Greis
Join Date: May 2015
Posts: 8
Rep Power: 6
Guggelhupf is on a distinguished road
Now I updated the driver of my Nvidia grafic card but still no success.
Guggelhupf is offline   Reply With Quote

Old   May 20, 2015, 03:14
Default
  #67
New Member
 
Björn Greis
Join Date: May 2015
Posts: 8
Rep Power: 6
Guggelhupf is on a distinguished road
Good news. OF as well as PV is working like I wanted to. To reach this I first selected another grafic card driver. But I dont think that this was it. After starting PV through entering paraFoam there was no (tutorial) mesh. Then I pressed the little button "apply" in PV and rebooted the pc. And than after following the tutorial I got it.
wyldckat likes this.
Guggelhupf is offline   Reply With Quote

Old   March 15, 2016, 22:07
Default For Paraview installation
  #68
Member
 
Join Date: Oct 2014
Posts: 41
Rep Power: 7
lisa_china is on a distinguished road
Dear Bruno,
I am a new OFer, and have failed to install paraview3.12 on Ubuntu 14.04.3. The fatal error information is just like what have been mentioned by Jetfire, but the reason seems to be different with Jetfire's.
Code:
FATAL ERROR: ParaView reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
./Allwclean
./Allwmake
The attachment is the make.log which record information during the ./Allwmake process. Could you give me some advice? Thanks in advance.

PS: Before this paraview edition, I installed Paraview 4.4.0 for OpenFOAM-v3.0 and did not remove it with changing its environment variables.
Attached Files
File Type: zip make.log.txt.zip (67.4 KB, 2 views)
lisa_china is offline   Reply With Quote

Old   March 19, 2016, 17:18
Default
  #69
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,942
Blog Entries: 42
Rep Power: 121
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 lisa_china,

Unfortunately the file you have attached is from the wrong folder
You provided the file from the folder "ThirdParty-2.1.1", but I need the one from "OpenFOAM-2.1.1".

As for ParaView being built properly or not, please provide the output from the following command (after you've activated the OpenFOAM 2.1.1 shell environment):
Code:
which paraview
By the way, which specific installation instructions did you follow?

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 19, 2016, 22:37
Default
  #70
Member
 
Join Date: Oct 2014
Posts: 41
Rep Power: 7
lisa_china is on a distinguished road
Hi Bruno,
Thanks for your reply. I installed OpenFOAM following instructions on the OpenFOAM official website. Here is the link: http://www.openfoam.org/archive/2.1....oad/ubuntu.php
And it was strange that there was no output when I executed "which paraview" command.

Sorry for providing a wrong file. The new attachment was generated when run Allwmake in OpenFOAM-2.1.1. I do not know whether it will provide useful information or not. Just as a reference

There is a question: could I download output files from Linux system and perform post-process in paraview on my PC with window system?

Thanks for your kind answer.
Best wishes.

Shan
Attached Files
File Type: txt makelog.txt (109.9 KB, 1 views)
lisa_china is offline   Reply With Quote

Old   March 20, 2016, 14:13
Default
  #71
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,942
Blog Entries: 42
Rep Power: 121
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
Hi Shan,

OK, OpenFOAM 2.1.1 was built without any problems. All that is left is building ParaView 3.12.0. From these instructions: http://openfoamwiki.net/index.php/In...u#Ubuntu_12.10 - do step #9.
More specifically, first please run the following commands:
Code:
cd $WM_THIRD_PARTY_DIR
sed -i -e 's/ClearAndSelect = Clear | Select/ClearAndSelect = static_cast<int>(Clear) | static_cast<int>(Select)/' \
ParaView-3.12.0/Qt/Core/pqServerManagerSelectionModel.h
./makeParaView > log.makePV 2>&1
gzip < log.makePV > log.makePV.gz
Check the contents of the file "log.makePV". If at the end of the file it doesn't state where it installed ParaView, then please attach the file "log.makePV.gz" to your next post.
You can also check by running:
Code:
which paraview
If ParaView 3.12.0 was built with success, then proceed by running the following commands:
Code:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers 
wmSET $FOAM_SETTINGS
./Allwclean 
./Allwmake
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   March 20, 2016, 23:15
Default
  #72
Member
 
Join Date: Oct 2014
Posts: 41
Rep Power: 7
lisa_china is on a distinguished road
Thank you very much, Bruno.

I will try and feedback will be given after following your instruction.
lisa_china is offline   Reply With Quote

Old   March 21, 2016, 09:01
Default
  #73
Member
 
Join Date: Oct 2014
Posts: 41
Rep Power: 7
lisa_china is on a distinguished road
GOOD NEWS, Bruno.

Paraview was installed successfully by following the instructions provided by you.
Thank you very much, Bruno. You are a real expert on this fields.

Best regards,
Shan
wyldckat likes this.
lisa_china is offline   Reply With Quote

Old   May 17, 2016, 05:51
Default Problem with paraview Instalation
  #74
New Member
 
Pradeep
Join Date: May 2016
Posts: 1
Rep Power: 0
Pradeeprenganathan is on a distinguished road
i use ubuntu 14.04 and i'm trying openfoam 3.0.1.
The error message in log.makePV file is :
1 error generated.
make[2]: *** [VTK/Wrapping/Tools/CMakeFiles/vtkWrappingTools.dir/vtkParse.tab.c.o] Error 1
make[1]: *** [VTK/Wrapping/Tools/CMakeFiles/vtkWrappingTools.dir/all] Error 2
make: *** [all] Error 2
Pradeeprenganathan is offline   Reply With Quote

Old   November 16, 2017, 09:26
Default
  #75
JFe
New Member
 
Jochum
Join Date: Nov 2017
Posts: 1
Rep Power: 0
JFe is on a distinguished road
Hello all!

I've installed the openfoam5 and paraview with the help of the openfoam website.
The last thing they recommend is doing a tutorial to check if it al functions.

thats were the trouble starts...
after following the standard ./allwclean and ./allwmake commando's, it still gives back this error;
"ERROR: ParaView not found in /opt/paraviewopenfoam54"

And I agree with the error, as there is no folder in the OPT containing Paraviewopenfoam.
But if I do a search for the location of the folder, it points towards the OPT folder.

Could someone give me a hint on what to do?

Last edited by JFe; November 17, 2017 at 03:11.
JFe is offline   Reply With Quote

Old   December 30, 2017, 12:21
Default
  #76
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,942
Blog Entries: 42
Rep Power: 121
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
Quick questions:
Quote:
Originally Posted by JFe View Post
I've installed the openfoam5 and paraview with the help of the openfoam website.
The last thing they recommend is doing a tutorial to check if it al functions.

[...]

Could someone give me a hint on what to do?
Have you solved this problem?

If not, then please indicate which specific installation instructions did you follow and in which Operating System have you installed it in?
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] Using OpenFOAM 2.3.0 from Deb pack in Ubuntu 14.04 + ParaView 5 from OpenFOAM 4.1 ad2eb OpenFOAM Installation 12 May 28, 2017 15:30
Running UDF with Supercomputer roi247 FLUENT 4 October 15, 2015 14:41
[OpenFOAM.org] (Script)OpenFOAM 2.3.0 and Paraview for Ubuntu 14.04 p0kerus OpenFOAM Installation 2 December 2, 2014 08:54
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 42 May 14, 2012 21:48
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 04:01


All times are GMT -4. The time now is 01:08.