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

[OpenFOAM.org] paraView reader module build problem

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

Like Tree6Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2014, 01:15
Post
  #41
Senior Member
 
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 8
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, 17 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: 10,942
Blog Entries: 42
Rep Power: 121
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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: 8
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, 06: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, 06:20
Default
  #45
Senior Member
 
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 8
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, 07: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 and RANSES like this.
nourtam is offline   Reply With Quote

Old   June 1, 2016, 13:56
Default
  #47
New Member
 
Pavel
Join Date: Aug 2014
Posts: 15
Rep Power: 7
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, 03:20
Default
  #48
New Member
 
Pavel
Join Date: Aug 2014
Posts: 15
Rep Power: 7
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

Old   July 1, 2017, 14:51
Default Possible solution...
  #49
New Member
 
Riccardo
Join Date: Jan 2016
Posts: 16
Rep Power: 5
RANSES is on a distinguished road
I had the same problem when I tried to run paraFoam for postprocessing. I found useful some of the previous suggestions which made paraview actually working (i.e. "touch filename.foam then executing PVIew314"). But most of all, I definitely recommend to Switch to root mode (administrator) with "sudo -s" and then run paraFoam. Through this operation paraview worked perfectly.
RANSES is offline   Reply With Quote

Old   July 2, 2017, 16:10
Default
  #50
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,942
Blog Entries: 42
Rep Power: 121
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by RANSES View Post
But most of all, I definitely recommend to Switch to root mode (administrator) with "sudo -s" and then run paraFoam. Through this operation paraview worked perfectly.
Quick warning: That can be risky, since "sudo -s" gives administrative powers and one wrong command could destroy your system installation.

Whenever possible, it's preferable to rely on aliases to activate the OpenFOAM/foam-extend environment on each terminal, so that whenever a new terminal is started, the OpenFOAM environment is not loaded automatically. This is detailed here: https://openfoamwiki.net/index.php/I...nFOAM_versions


@powpawell: My apologies, but I ended up not having time to get back to you on this last year
wyldckat is offline   Reply With Quote

Old   March 7, 2018, 03:42
Default
  #51
Senior Member
 
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 12
Elham is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
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.
Dear Bruno,

I stuck during installation of paraView4 from https://openfoam.org/download/2-3-1-source. When I execute

sudo nano /etc/apt/sources.list
I got

Screenshot from 2018-03-07 15-39-51.png

I will appreciate to help me find a solution.

Regards,

Elham
Elham is offline   Reply With Quote

Old   March 7, 2018, 16:22
Default
  #52
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,942
Blog Entries: 42
Rep Power: 121
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer:
Quote:
Originally Posted by Elham View Post
When I execute

sudo nano /etc/apt/sources.list
I got

Attachment 61908

I will appreciate to help me find a solution.
The contents of that file looks perfectly fine to me.

It's not clear what is the exact problem you are having.
__________________
wyldckat is offline   Reply With Quote

Old   March 8, 2018, 00:40
Default
  #53
Senior Member
 
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 12
Elham is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Quick answer:

The contents of that file looks perfectly fine to me.

It's not clear what is the exact problem you are having.
I had the error that cmake was not installed and I supposed that the reason is that I have main restricted . But after some manipulation I can run paraView with the following command:

paraFoam -builtin

Anyway, it seems that it is working.

Regards,

Elham
wyldckat likes this.
Elham is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


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


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