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

paraview compilation error paraview-3.12.0

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

Like Tree4Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   April 10, 2012, 12:21
Default
  #21
Senior Member
 
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 8
linch is on a distinguished road
I have the same problem with Debian 2.6.32-5-amd64. The post #9 solution worked in my case also and I could install cmake 2.8.3 and rebuild paraview 3.12. The error was still there:

Quote:
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 then, after building the reader module, everything went fine.

Thank you Bruno.

Last edited by linch; April 10, 2012 at 12:37.
linch is offline   Reply With Quote

Old   May 15, 2012, 13:15
Default ParaView Out-of-Source Build?
  #22
Member
 
Edward Leonard
Join Date: May 2012
Location: Calumet, MI
Posts: 31
Rep Power: 5
iamed18 is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
OK, then lets try building a custom CMake with a more recent version:
  1. Go into the ThirdParty folder, get a script for downloading the CMake source code and make it executable:
    Code:
    foam3rdParty
    wget "http://www.openfoam.com/mantisbt/file_download.php?file_id=143&type=bug" -O getCmake
    chmod +x get*
  2. Build CMake:
    Code:
    ./getCmake
    ./makeCmake > mkcmake.log 2>&1
  3. Update the shell environment:
    Code:
    wmSET
  4. Confirm that you now have a different and more up-to-date version:
    Code:
    cmake --version
  5. Try to build ParaView once again:
    Code:
    ./makeParaView > makePV.log 2>&1
Hopefully this will fix the problem!


Good luck!
Bruno
I have a quick query about this. I'm working with ParaView 3.12.0 and when I follow these directions, all's well until the last step, during the actual cmake of ParaView. The make runs into the following error:

Code:
----

CMake Error at CMakeLists.txt:58 (MESSAGE):
  ParaView requires an out of source Build.  Please create a separate binary
  directory and run CMake there.


-- Configuring incomplete, errors occurred!
Should I be editing the make file to fix this or is there a different solution I should look for?

Thanks!

EDIT: This has been resolved; I had unintentionally copied over an incorrect file, leaving CMakeCache.txt in the ParaView-3.12.0 directory, causing the error. All's well now!

Last edited by iamed18; May 15, 2012 at 13:45. Reason: Resolved.
iamed18 is offline   Reply With Quote

Old   June 11, 2012, 04:53
Default
  #23
New Member
 
Xiaoguang Yang
Join Date: Jun 2010
Posts: 7
Rep Power: 7
sunlight is on a distinguished road
Thank Bruno Santos. Your method help me a lot.
sunlight is offline   Reply With Quote

Old   October 29, 2015, 10:58
Default Followed steps but still not working
  #24
Member
 
Lisandro Maders
Join Date: Feb 2013
Posts: 56
Rep Power: 5
Lisandro Maders is on a distinguished road
Hello,

I am not being able to compile the ThirdParty properly. Here is soem information:

- OpenFoam 2.1.0 installed and working fine
- OS System: Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u5 (2015-10-09) x86_64 GNU/Linux

After having OF installed and have download Third-Party and also the ParaView you suggested (in case the Third-Party itsel does not work). Here is my /opt/OpenFOAM/ folder listing:

Code:
OpenFOAM-2.1.0    ParaView-3.12.0  ParaView-3.12.0.tar.gz  ThirdParty-2.1.0.tgz
Then I did the following, with OpenFOAM already sourced:

Code:
tar xzf ThirdParty-2.1.0.tgz
cd $WM_THIRD_PARTY_DIR
It goes to the right directory -> /opt/OpenFOAM/ThirdParty-2.1.0, then:

Code:
./makeParaView > makePV.log 2>&1
The makePV.log is attached.

As you can see,it gave me a similar error than the guys above had. So I tried to follow the steps you suggested (step #9),by using the ParaView downloaded from the link you suggested.

First I removed the Paraview folder from ThirdParty folder, and copied the one downloaded from the link. Then, I followed the step #9 and the log result is also attached.

It did not work as well and when I try to run paraFoam it returns me the following message:
Code:
Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
./Allwclean
./Allwmake
Whose commands I have already done. Then I found that the file Allwmake from such directory has a environment variable called $ParaView_DIR that should go to: /opt/OpenFOAM/ThirdParty-2.1.0/platforms/linux64Gcc/paraview-3.12.0

But actually, there is no paraview-3.12.0 folder in this directory.

I have no idea anymore what to do, I do not have very good knowledge on this stuff, so I would be glad if someone could help me with this..


Regards,

Lisandro
Attached Files
File Type: gz makePV.log.gz (42.0 KB, 1 views)
File Type: gz makePVstep9.log.gz (5.2 KB, 2 views)
Lisandro Maders is offline   Reply With Quote

Old   October 31, 2015, 08:15
Default
  #25
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,473
Blog Entries: 36
Rep Power: 96
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Lisandro,

For the error in the first log file, the problem is the same as documented here:
Quote:
Originally Posted by wyldckat View Post
Quick answer: http://openfoamwiki.net/index.php/In...u#Ubuntu_15.04 - step #9, sub-step #1, has the fix necessary for this problem.

In addition, this is documented at the end of the README file in the ThirdParty folder: https://github.com/OpenFOAM/ThirdPar...g-paraview-410
As for the second log file, if I remember correctly, it's because a few packages are missing that can be installed with this command:
Code:
sudo apt-get install libglu1-mesa-dev libqt4-opengl-dev
Best regards,
Bruno
__________________
___
I'll be at OFW11 in Portugal
wyldckat is offline   Reply With Quote

Old   November 1, 2015, 20:44
Default
  #26
Member
 
Lisandro Maders
Join Date: Feb 2013
Posts: 56
Rep Power: 5
Lisandro Maders is on a distinguished road
Well, it did not work. But I decided to check if it was everything really ok with OpenFOAM installation and it was not. So let's go step by step..

Here is the make.log from OF compilation, there are some errors I could not identify.. Just to be sure, is there a compatibilty between my Debian version and OF210, right? I am finding very weird it is giving me such errors, since I have already installed sometimes other versions of OF in Ubuntu systems without problems... Anyway, the make.log is attached and this is the log file after running ./Allwmake twice in order to get a summary from the previous compilation.

Thanks a lot for your help.


Regards,

LIsandro.
Attached Files
File Type: gz make.log.gz (7.1 KB, 1 views)
Lisandro Maders is offline   Reply With Quote

Old   November 2, 2015, 18:45
Default
  #27
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,473
Blog Entries: 36
Rep Power: 96
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Lisandro,

Mmm... OK, those errors you've gotten seem a bit strange:
Code:
/home/lmaders/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libreactionThermophysicalModels.so: undefined reference to `Foam::Reaction<Foam::constTransport<Foam::specieThermo<Foam::hConstThermo<Foam::perfectGas> > > >::typeName'
collect2: error: ld returned 1 exit status
This usually either has to do with:
  • the original library not having been compiled with success, which does not seem to be the situation in this case;
  • or ld is not able to automatically load libraries that would otherwise find them missing.
Please run the following commands:
Code:
gcc --version
g++ --version
ld --version
You can find the compatible GCC version list here: http://openfoamwiki.net/index.php/In...ibility_Matrix
And ld should be of type "bfd" and not "gold".

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Reply

Tags
installation, paraview 3.12

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 compilation error: Openfoam-1.6-ext turbomachinery OpenFOAM Installation 22 February 27, 2015 16:26
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41
Installation of OpenFoam 15 Compilation paraview soeren_brot OpenFOAM Installation 45 January 12, 2009 07:39
Compilation error with paraview quartzian OpenFOAM Installation 0 September 21, 2008 08:32
Error building DICOMAppHelper during ParaView compilation geoffjay OpenFOAM Installation 1 May 7, 2008 13:07


All times are GMT -4. The time now is 05:19.