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

[OpenFOAM.org] paraview compilation error paraview-3.12.0

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2012, 13:21
Default
  #21
Senior Member
 
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17
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 13:37.
linch is offline   Reply With Quote

Old   May 15, 2012, 14:15
Default ParaView Out-of-Source Build?
  #22
Member
 
Edward Leonard
Join Date: May 2012
Location: Calumet, MI
Posts: 31
Rep Power: 14
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 14:45. Reason: Resolved.
iamed18 is offline   Reply With Quote

Old   June 11, 2012, 05:53
Default
  #23
New Member
 
Xiaoguang Yang
Join Date: Jun 2010
Posts: 7
Rep Power: 16
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: 98
Rep Power: 13
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, 2 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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
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
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
__________________
wyldckat is offline   Reply With Quote

Old   November 1, 2015, 20:44
Default
  #26
Member
 
Lisandro Maders
Join Date: Feb 2013
Posts: 98
Rep Power: 13
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
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
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

Old   June 10, 2021, 15:05
Default Same error but 10 years later
  #28
Member
 
Jnana Bhaskar Rao
Join Date: Mar 2020
Posts: 46
Rep Power: 6
jnanabrao is on a distinguished road
I know this is a really old thread but I'm facing the exact same problem with OF-6 and Ubuntu 20.04. OpenFOAM builds fine but Paraview and Third-Party do not. As the log file exceeds the .txt attachment size limit, I am adding the error lines here.



Code:
[  5%] Built target QtTesting
make: *** [Makefile:152: all] Error 2
Command exited with non-zero status 2
315.00user 25.09system 0:43.66elapsed 778%CPU (0avgtext+0avgdata 251968maxresident)k
15360inputs+228448outputs (31major+9504290minor)pagefaults 0swaps

I believe the script described for building Cmake in post #9 is already part of the Third-Party folder now. So I didn't try that solution. Any help is most welcome.



JBR
jnanabrao is offline   Reply With Quote

Reply

Tags
installation, paraview 3.12


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
Error building ParaVIEW 3.12.0 in CentOS 6.5 wjm OpenFOAM Installation 8 February 17, 2014 11:17
Compiling ParaView 3.12.0 on SUSE Linux Enterprise bmikuz OpenFOAM Installation 1 November 9, 2012 19:55
Installation Problem with ParaView 3.12.0 on Scientific Linux 5.7 Wley OpenFOAM Installation 2 September 28, 2012 07:06
[OpenFOAM] [Critical] ParaView 3.12.0 breaks monitor signal in Ubuntu 11.04 v_mil ParaView 5 March 18, 2012 14:39
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:10.