paraView reader module build problem
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 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? |
Greetings fusij,
With Ubuntu, it's a whole other ball game. Did you install ParaView as indicated: Quote:
Best regards, Bruno |
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? |
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. |
Yes I see that folder /opt/paraviewopenfoam3120/. It has three folders (bin, lib, share).
|
OK, what architecture of Ubuntu do you have installed? i686 or x86_64? You can check by running:
Code:
uname -m |
Code:
vigfus@Pundi:/opt$ uname -m $WM_THIRD_PARTY_DIR doesn't exist. I thought it was neccessary? |
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 |
It works now but with two new issues. First terminal shows this when I run paraFoam
Code:
$ paraFoam Do you have ideas for these ones wyldckat? Thanks a lot for your efforts, they are well appreciated! |
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 Code:
paraFoam -builtin By the way, which ParaView is the command line picking up? Code:
which paraview Bruno |
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 |
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 |
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 |
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. |
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 |
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? |
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 |
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 :) Quote:
|
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. |
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 |
All times are GMT -4. The time now is 10:16. |