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

paraView reader module build problem

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

Like Tree4Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   March 5, 2014, 01:15
Post
  #41
Senior Member
 
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 4
sam.ho is on a distinguished road
I am using UBUNTU 12.04 .
Yesterday I proceeded with re-installation neglecting the previous problem and got some errors which have reflected in make.log .
Here is the snapshot after executing
sudo nano /etc/apt/sources.list
Attached Images
File Type: jpg Screenshot from 2014-03-05 10:50:16.jpg (24.3 KB, 13 views)
Attached Files
File Type: gz make.log.tar.gz (9.3 KB, 1 views)
sam.ho is offline   Reply With Quote

Old   March 5, 2014, 17:27
Default
  #42
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quote:
Originally Posted by sam.ho View Post
I am using UBUNTU 12.04 .
Yesterday I proceeded with re-installation neglecting the previous problem and got some errors which have reflected in make.log .
Here is the snapshot after executing
sudo nano /etc/apt/sources.list
OK, most of the OpenFOAM source code did build, but the parts depending on Boost and CGAL did not.

Looking at the image you've shown, the problem is that you only have the "universe" repository turned on. You also need the "main" repository. Create a backup of that file and then use the following lines:
Code:
deb http://archive.ubuntu.com/ubuntu/ precise main universe
deb-src http://archive.ubuntu.com/ubuntu/ precise main universe
Then run (as root):
Code:
apt-get update
You should now be able to install the missing packages.
sam.ho likes this.
__________________
wyldckat is offline   Reply With Quote

Old   March 6, 2014, 02:40
Thumbs up
  #43
Senior Member
 
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 4
sam.ho is on a distinguished road
Thanks a lot

I managed to install it properly
sam.ho is offline   Reply With Quote

Old   May 19, 2014, 05:08
Cool Problem after the first line
  #44
New Member
 
Nour Tamer
Join Date: Mar 2014
Posts: 2
Rep Power: 0
nourtam is on a distinguished road
Hello,
Just want to know what should I do if after the first :
Code:
]echo $PV_PLUGIN_PATH
I have nothing.????

Best Regards

Nour
nourtam is offline   Reply With Quote

Old   May 19, 2014, 05:20
Default
  #45
Senior Member
 
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 4
sam.ho is on a distinguished road
Hi Nour Tamer,

Can you explain your problem in detail ?
sam.ho is offline   Reply With Quote

Old   May 19, 2014, 06:12
Default
  #46
New Member
 
Nour Tamer
Join Date: Mar 2014
Posts: 2
Rep Power: 0
nourtam is on a distinguished road
Hi, Sam

In fact I had some problems with Paraview library, when I try to see a result or any mesh i had :

nour@cmefe-p:~/Desktop/exof/plateHole> 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

But finally I got a solution, first I must do a:
[CODE]
touch filename.foam

then executing PVIew314

and open filename.foam
and finally it works.

Thank you very much for your help
sam.ho likes this.
nourtam is offline   Reply With Quote

Old   June 1, 2016, 12:56
Default
  #47
New Member
 
Pavel
Join Date: Aug 2014
Posts: 15
Rep Power: 3
powpawell is on a distinguished road
Hello Bruno & others,

Could you give some advice here, please?

Running
Code:
 echo $PV_PLUGIN_PATH
gives the same output, but with version 4.4.0

Running
Code:
  ls -l /opt/openfoam210/platforms/linux64GccDPOpt/lib/paraview-3.12
gives
Code:
 ERROR: ParaView not found in /home/pavel/OpenFOAM/ThirdParty-v3.0+/platforms/linux64Gcc/ParaView-4.4.0
I've copied the folder ParaView.4.0 from ThirdParty-v3.0+
Quote:
/home/pavel/OpenFOAM/ThirdParty-v3.0+/platforms/linux64Gcc/
.
This solved some issues, but not cannot find a file:
Quote:
fatal error: vtkPoints.h: No such file or directory
I have attached the log file if that helps. Thank you very much for your help.

P.S. first installation. Fresh one (well, I deleted another attempt and started from fresh)

Cheers,
Pavel

Quote:
Originally Posted by wyldckat View Post
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:
  1. It's possible that you have more than one OpenFOAM version installed and did not take into account the need for at least commenting the older lines in "~/.bashrc". If this is the case, then comment or remove the old lines that refer to the older versions of OpenFOAM and start a new terminal. Then try again running paraFoam in the case folder you were running before.
    If this works, and if you want more than one version of OpenFOAM, see my blog post: Advanced tips for working with the OpenFOAM shell environment
  2. There could be a glitch related to a file system problem that occurred during installation or afterwards, such as accidental deletion of files. To confirm this, check the following steps:
    1. Run the following command in the terminal:
      Code:
      echo $PV_PLUGIN_PATH
      It should output the following path:
      Code:
      /opt/openfoam210/platforms/linux64GccDPOpt/lib/paraview-3.12
    2. Also check the contents of the path shown above, even if the command showed you nothing:
      Code:
      ls -l /opt/openfoam210/platforms/linux64GccDPOpt/lib/paraview-3.12
      It should show you two files starting with "libPV3".
    3. If those two files do exist, then add the following line to the file "~/.bashrc":
      Code:
      export PV_PLUGIN_PATH=/opt/openfoam210/platforms/linux64GccDPOpt/lib/paraview-3.12
      Start a new terminal and now it should work!
Best regards,
Bruno
powpawell is offline   Reply With Quote

Old   June 8, 2016, 02:20
Default
  #48
New Member
 
Pavel
Join Date: Aug 2014
Posts: 15
Rep Power: 3
powpawell is on a distinguished road
Hi again,

I managed to sort this out. I forgot tot check all the system requirements as presented on the openfoam website.

Cannot remember which one sort this issue out. After I checked this, I installed the third party source code and it did compile well.

ParaFoam is working now.
powpawell is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ParaView Problem with dsmcFoam xbook OpenFOAM Paraview & paraFoam 4 February 14, 2014 02:09
ParaView Problem anishtain4 OpenFOAM 1 August 16, 2011 07:04
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 22:51
OpenFOAM reader in the ParaView CVS tj22 OpenFOAM Paraview & paraFoam 16 December 22, 2007 10:05
Building Paraview with reader builtin instead of parafoam script tj22 OpenFOAM Paraview & paraFoam 2 April 7, 2006 12:55


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