CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   paraFoam reader module libraries do not exist (http://www.cfd-online.com/Forums/openfoam-installation/131326-parafoam-reader-module-libraries-do-not-exist.html)

sjtuwjh March 13, 2014 06:18

paraFoam reader module libraries do not exist
 
When doing post-processing with paraview, there always is problem shown below after I type the command 'paraFoam'.
FATAL ERROR: ParaView reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
./Allwclean
./Allwmake
After I doing what the terminal suggest me to do, but there is no help. Is there anyone who can help me handling this?

wyldckat March 15, 2014 06:24

Greetings Wang Jianhua and welcome to the forum!

Please provide the following information:
  1. Which Linux Distribution are you using?
  2. Which OpenFOAM version are you using?
  3. Which installation instructions did you follow for installing OpenFOAM?
Best regards,
Bruno

sjtuwjh March 17, 2014 04:25

Reply
 
Quote:

Originally Posted by wyldckat (Post 480171)
Greetings Wang Jianhua and welcome to the forum!

Please provide the following information:
  1. Which Linux Distribution are you using?
  2. Which OpenFOAM version are you using?
  3. Which installation instructions did you follow for installing OpenFOAM?
Best regards,
Bruno

Hello!
I am now using the ubuntu13.10, and the version of my openfoam is 2.0.1. I downloaded the deb package, and then installed it, I wish you can help me solving this problem!
Best regards!
Wang Jianhua

wyldckat March 22, 2014 06:14

Hi Wang Jianhua,

Is there a specific reason why you must use the version 2.0.1 of OpenFOAM? Because there have been already several new features added to OpenFOAM in the latest versions, as well as plenty of bug fixes.

Anyway, to fix the problem, run these commands (one line at a time):
Code:

sudo -s
apt-get install paraview
cd /opt/openfoam201/bin
sed -i -e 's/requirePV=1/requirePV=0/' -e 's/extension=OpenFOAM/extension=foam/' paraFoam
exit

If all goes well, you should now be able to use paraFoam.

Best regards,
Bruno

RTom March 24, 2014 13:51

Hi I have the same problem with OpenFOAM 2.3.0, the instalation was ok and I can do the Processing without troubles, but when I execute the "paraFoam" it shows me this:

FATAL ERROR: ParaView reader module libraries do not exist

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


My Linux is Ubuntu 12.04, Processor: AMD 64bits
Also I have installed the OpenFOAM 2.2.1 and 2.2.2, but those are not activated. I make sure to let in the .bashrc file just source /opt/openfoam230/etc/bashrc

wyldckat March 26, 2014 17:27

Quote:

Originally Posted by RTom (Post 481830)
Hi I have the same problem with OpenFOAM 2.3.0, the instalation was ok and I can do the Processing without troubles, but when I execute the "paraFoam" it shows me this:

Quick answer:
  1. Which installation instructions did you follow?
  2. Did you try running the commands indicated by paraFoam?

RTom March 27, 2014 12:26

1) I followed the instructions from http://www.openfoam.org/download/ubuntu.php
But I installed the OpenFOAM 2.3.0 and the next day I turn on my laptop and installed Paraview 4.10 with:
sudo apt-get install paraviewopenfoam410

2) It works properly using:
paraFoam -case <caseName>

However it should works well with just typing from the case directory:
paraFoam

Like the others OpenFOAM versions I had. At least It works, I can use it in that way. Thanks!

RTom March 28, 2014 01:52

After use:

paraFoam -builtin

It's all ok. Now PARAFOAM works fine :cool:

sjtuwjh March 28, 2014 08:49

Quote:

Originally Posted by wyldckat (Post 481437)
Hi Wang Jianhua,

Is there a specific reason why you must use the version 2.0.1 of OpenFOAM? Because there have been already several new features added to OpenFOAM in the latest versions, as well as plenty of bug fixes.

Anyway, to fix the problem, run these commands (one line at a time):
Code:

sudo -s
apt-get install paraview
cd /opt/openfoam201/bin
sed -i -e 's/requirePV=1/requirePV=0/' -e 's/extension=OpenFOAM/extension=foam/' paraFoam
exit

If all goes well, you should now be able to use paraFoam.

Best regards,
Bruno

Hi wyldckat,
After following what you have said, now my paraFoam can run again, thank you very much. Because our solver is developed on the version 2.0.1. So I have to use this version since we didn't update our solver. Finally, I am very appreciate your enthusiastic help.
Best regards!

sjtuwjh March 28, 2014 10:35

One more question, after I do as what you have said, my paraFoam cannot reading from the keyboard. I don't know why, but if I open the paraview just like before: typing paraview, it can be readable from the keyboard. What's the reason?

wyldckat March 28, 2014 18:15

Quote:

Originally Posted by sjtuwjh (Post 482666)
One more question, after I do as what you have said, my paraFoam cannot reading from the keyboard. I don't know why, but if I open the paraview just like before: typing paraview, it can be readable from the keyboard. What's the reason?

Quick answer - try running like this:
Code:

paraFoam &

sjtuwjh April 9, 2014 07:37

Quote:

Originally Posted by wyldckat (Post 482717)
Quick answer - try running like this:
Code:

paraFoam &

I just have tried this way, there is no help. So any other way to solve this problem? I don't understand why it could not type in?

wyldckat April 10, 2014 15:47

Quote:

Originally Posted by sjtuwjh (Post 484913)
I just have tried this way, there is no help. So any other way to solve this problem? I don't understand why it could not type in?

Mmm... well, the first detail is that the ampersand "&" will launch the application as a background job, in the sense that the job will be running without locking out keyboard control from the terminal window.
The second detail is that you might be loosing keyboard control inside the terminal window if the ParaView window gains keyboard focus. If this is the case, it means that you will have to click in the textual part the terminal window.

Usman15 April 25, 2014 09:36

Dear Bruno Santos,


Thank you very very very much. I was facing the same problem in using paraFoam but your valuable post solved my problem.


Some information about my installed packages:
1. ubuntu 14.04 LTS
2. OpenFOAM-2.1.1
3. To install OpenFOAM-2.1.1 I followed the instructions from:
http://www.openfoam.org/archive/2.1....oad/source.php
4. Paraview-4.1.0
5. To install Paraview-4.1.0 I followed the instructions from:
http://www.openfoam.org/download/ubuntu.php


The error which I was getting:
FATAL ERROR: ParaView reader module libraries do not exist


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


I used this to solve my problem:
sudo -s
apt-get install paraview
cd /opt/openfoam211/bin
sed -i -e 's/requirePV=1/requirePV=0/' -e 's/extension=OpenFOAM/extension=foam/' paraFoam
exit


Once again many thanks


Usman


All times are GMT -4. The time now is 17:07.