|
[Sponsors] |
[OpenFOAM.org] paraView reader module build problem |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 2, 2012, 21:29 |
paraView reader module build problem
|
#1 |
Member
Join Date: Nov 2009
Posts: 56
Rep Power: 17 |
Hello all.
I just installed OF-2.1.0 on Ubuntu 11.10 following these instructions: http://www.openfoam.org/download/ubuntu.php Everything runs smoothly except paraView. When I try to run it the following error arises: 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 http://www.cfd-online.com/Forums/ope...se-11-4-a.html But it did not work. I did not have any prior installation of OpenFOAM. Any guidelines or tips? |
|
February 3, 2012, 04:47 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings fusij,
With Ubuntu, it's a whole other ball game. Did you install ParaView as indicated: Quote:
Best regards, Bruno
__________________
|
||
February 3, 2012, 06:02 |
|
#3 |
Member
Join Date: Nov 2009
Posts: 56
Rep Power: 17 |
Yes, I did that. I went over all the steps twice to be sure that I had everything in order.
Maybe I should clean everything and try it again? What is the best way for me to do that? Is there generally, a positive experience from installing the 2.1.0 deb pack for Ubuntu while following the earlier mentioned steps? wyldckat: Any ideas? Maybe setup paraview independently? |
|
February 3, 2012, 06:11 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Mmm... strange. OK, can you see the ParaView folder that is located at "/opt" ? Probably has the same name as that package.
And start a new terminal, just to be certain.
__________________
|
|
February 3, 2012, 17:40 |
|
#5 |
Member
Join Date: Nov 2009
Posts: 56
Rep Power: 17 |
Yes I see that folder /opt/paraviewopenfoam3120/. It has three folders (bin, lib, share).
|
|
February 3, 2012, 18:34 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
OK, what architecture of Ubuntu do you have installed? i686 or x86_64? You can check by running:
Code:
uname -m
__________________
|
|
February 3, 2012, 19:18 |
|
#7 |
Member
Join Date: Nov 2009
Posts: 56
Rep Power: 17 |
Code:
vigfus@Pundi:/opt$ uname -m x86_64 $WM_THIRD_PARTY_DIR doesn't exist. I thought it was neccessary? Last edited by fusij; February 3, 2012 at 19:38. |
|
February 4, 2012, 11:10 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi fusij,
I wanted to know which exact version of Ubuntu you were using so I could try to replicate the same installation steps and check if things are working as expected. It all went well. Therefore, a few more possibilities arise:
Bruno
__________________
|
|
February 4, 2012, 21:31 |
|
#9 |
Member
Join Date: Nov 2009
Posts: 56
Rep Power: 17 |
It works now but with two new issues. First terminal shows this when I run paraFoam
Code:
$ paraFoam created temporary 'cavity.OpenFOAM' Read float past end of buffer Read float past end of buffer Read float past end of buffer Read float past end of buffer Do you have ideas for these ones wyldckat? Thanks a lot for your efforts, they are well appreciated! |
|
February 5, 2012, 06:08 |
|
#10 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi fusij,
You could have detailed which steps you had to take! Now I don't know enough to deduce what exactly is going on Anyway, the first error message is related to a "locale" problem. Basically, when the system is in English, the decimal separator is the dot symbol '.', but many other languages use the comma ','. That output occurs because the second mode was detected and hindered execution. To fix this, you can try running the following command before paraFoam: Code:
export LC_ALL=C paraFoam Code:
paraFoam -builtin By the way, which ParaView is the command line picking up? Code:
which paraview Bruno
__________________
|
|
February 5, 2012, 22:23 |
|
#11 |
Member
Join Date: Nov 2009
Posts: 56
Rep Power: 17 |
Sorry for not clearing out which steps helped me out in your earlier post.
Step 3 made everything work: Code:
export PV_PLUGIN_PATH=/opt/openfoam210/platforms/linux64GccDPOpt/lib/paraview-3.12 Now for my two new issues: Code:
export LC_ALL=C But by using Code:
paraFoam -builtin And the paraView the command line picks up is: Code:
$ which paraview /opt/paraviewopenfoam3120/bin/paraview $ which paraFoam /opt/openfoam210/bin/paraFoam |
|
February 6, 2012, 18:48 |
|
#12 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi fusij,
It's strange, very strange the errors you are getting And without knowing more about the specific Ubuntu installation you've made, I'm unable to figure out what exactly is going wrong there You might want to review the post you mentioned at the beginning - http://www.cfd-online.com/Forums/ope...tml#post342512 Other than this, all I can figure out is that maybe, just maybe, you are having one of those strange bugs that Ubuntu 11.10 has been having on several issues. Two that I know of are:
Bruno
__________________
|
|
February 6, 2012, 19:10 |
|
#13 |
Member
Join Date: Nov 2009
Posts: 56
Rep Power: 17 |
Thanks a lot for the help and time spent on these issues. What you do for people with installation complications is very respectable.
ParaView works now and that matter most. Best regards, Vigfús Arnar |
|
March 5, 2012, 23:52 |
|
#14 | |
New Member
Will Stewart
Join Date: Mar 2012
Posts: 1
Rep Power: 0 |
I've had the same problem, even after running a separate install noted above.
Quote:
I do have Paraview 3.10 installed, and there is nothing in the .bashrc from before related to openfoam or paraview. |
||
March 6, 2012, 15:01 |
|
#15 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Will and welcome to the forum!
I'm having a hard time trying to figure out the problem you are describing Please provide more information, so I can try and reproduce the same steps you've taken. Best regards, Bruno
__________________
|
|
May 2, 2012, 15:30 |
|
#16 |
Member
Join Date: Apr 2012
Posts: 32
Rep Power: 14 |
I met the same problem as fusij with installed centFOAM.
There are bin and lib folders in $HOME/centFOAM/paraview-3.10.1 directory, but no paraview in /opt. Would you, Bruno or Linnemann, help me? |
|
May 2, 2012, 17:48 |
|
#17 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi sukye,
fusij had two problems... so which one are you having? And why didn't you ask on the other thread you had, since your question is still related to CentFOAM? Best regards, Bruno
__________________
Last edited by wyldckat; May 15, 2012 at 17:09. Reason: added link for future reference |
|
May 2, 2012, 17:52 |
|
#18 |
Member
Join Date: Apr 2012
Posts: 32
Rep Power: 14 |
The one fusij posted on February 2, ie the original poster of this thread.
Since the problem is identical to fusij's, I think we may not blame centFOAM |
|
May 2, 2012, 18:02 |
|
#19 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
OK, not much information to go on with, specially since I've never used CentFOAM... but my guess is that you ran:
Code:
python centFOAM.py --paraview Therefore, try running OF21 again to update the working environment.
__________________
Last edited by wyldckat; May 15, 2012 at 17:07. |
|
May 4, 2012, 12:11 |
|
#20 |
Member
Join Date: Apr 2012
Posts: 32
Rep Power: 14 |
Hi Bruno,
I have put OF21 in the .bashrc so it will be loaded upon login. paraview works well, but paraFoam does not. Then I added *requirePV=0* in bin/paraFoam as suggested in http://www.cfd-online.com/Forums/ope...tml#post342512 Code:
> paraFoam -builtin created temporary 'cavity.foam' $WM_PROJECT_DIR/bin/paraFoam: line 261: paraview: command not found Last edited by sukye; May 4, 2012 at 12:30. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] paraView running Problem [not found] | X.Thomas | OpenFOAM Installation | 6 | January 14, 2018 13:15 |
Parafoam - FATAL ERROR: ParaView reader module libraries do not exist | Amit_Pawarpawar | OpenFOAM Installation | 1 | August 25, 2014 11:31 |
FATAL ERROR: ParaView reader module libraries do not exist | adarsh tiwari | OpenFOAM Installation | 6 | April 5, 2014 12:47 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 04:23 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 22:41 |