CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   FATAL ERROR: ParaView reader module libraries do not exist (http://www.cfd-online.com/Forums/openfoam-installation/132489-fatal-error-paraview-reader-module-libraries-do-not-exist.html)

adarsh tiwari April 1, 2014 13:11

FATAL ERROR: ParaView reader module libraries do not exist
 
dear all

while using paraFoam I got the following error.

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 reinstalled using the commands given in OpenFOAM installation http://www.openfoam.org/download/ubuntu.php,

but the same problem continues.
Please help ASAP.

Thanks and Regards,
Adarsh

wyldckat April 1, 2014 15:00

Greetings Adarsh,

A few questions:
  1. Which Ubuntu version are you using?
  2. Which exact commands did you use to install OpenFOAM and ParaView?
  3. Do you have more than one OpenFOAM version installed?
Best regards,
Bruno

adarsh tiwari April 2, 2014 02:47

Hi Bruno,

I am using ubuntu 12.04 LTS while the commands I have used to install OpenFoam and paraView (for 2.3.0) is
Quote:

VERS=$(lsb_release -cs)
sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu $VERS main > /etc/apt/sources.list.d/openfoam.list"
sudo apt-get update

sudo apt-get install openfoam230

sudo apt-get install paraviewopenfoam410

initially i tried to install OpenFOAM 2.2.2, but it was unsuccessful, hence I have installed 2.3.0 and then removed 2.2.2.
now i am able to open paraview, but while using the command paraFoam it is showing the message

paraFoam: command not found

i am unable to understand what went wrong
Thanks and Regards,
Adarsh

wyldckat April 2, 2014 15:47

Hi Adarsh,

  1. Start a new terminal window and check if you're able to use paraFoam or not.
  2. If not, check the content of the file "~/.bashrc". It should only have a single line for OpenFOAM 2.3.0 and no other version.
  3. I hope you used the following command for removing the old version:
    Code:

    sudo apt-get install openfoam222
Best regards,
Bruno

adarsh tiwari April 4, 2014 13:57

Hi Bruno,

I am not able to use paraFoam
I have checked for the content of ~/.bashrc and it's the same
Quote:

/opt/openfoam230/etc/bashrc
while I removed openfoam 2.2.2 using the following command

Code:

sudo apt-get remove openfoam222
Thanks and regards,
Adarsh Tiwari

wyldckat April 4, 2014 15:33

Hi Adarsh,

Quote:

Originally Posted by adarsh tiwari (Post 483927)
I have checked for the content of ~/.bashrc and it's the same
Code:

/opt/openfoam230/etc/bashrc

Uhm... it should contain this at the end of the file "~/.bashrc":
Code:

. /opt/openfoam230/etc/bashrc
The dot + space at the beginning is very important and without it, it will not work as intended.

Best regards,
Bruno

adarsh tiwari April 5, 2014 11:47

Hi Bruno,

It solved my problem.

THANK YOU VERY MUCH

Adarsh Tiwari


All times are GMT -4. The time now is 10:21.