|
[Sponsors] |
OpenFOAM 2.0.1-foamInstallationTest Failed on Fedora 15 x64 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 10, 2011, 07:14 |
OpenFOAM 2.0.1-foamInstallationTest Failed on Fedora 15 x64
|
#1 |
New Member
Wu Si Cheng
Join Date: Aug 2011
Location: Beijing China
Posts: 2
Rep Power: 0 |
Hi!
I'm a newcomer to OpenFOAM, and when I tried to compile OpenFOAM 2.0.1, everything seemed to be fine except... WARNING: Conflicting installations: OpenFOAM settings : /home/mirage/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/bin/icoFoam current path : CRITICAL ERROR Summary ------------------------------------------------------------------------------- Base configuration ok. The foam installation contains 1 critical error(s). Can somebody tell me what am I doing wrong? Thank you. |
|
August 10, 2011, 10:58 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Winston and welcome to the forum!
You can check this post: Fedora 15 install help post #4 - it's a bit old, since those instructions were for OpenFOAM 1.7.x, but they are easily adaptable to 2.0.1 and/or 2.0.x. But what you probably need to know from that post is this:
Bruno
__________________
|
|
August 13, 2011, 12:54 |
|
#3 | |
New Member
Wu Si Cheng
Join Date: Aug 2011
Location: Beijing China
Posts: 2
Rep Power: 0 |
Quote:
Thank you!Dealing with my headache and had no access to cfd-online. Sorry for absent>< I compiled OpenFOAM successfully but when I run paraFoam, it seemed there are some problems... 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 did as the instruction above and it still didn't work! Then I tried to compile the paraView module by ./makeParaView, and [ 7%] Building CXX object VTK/Utilities/vtkmetaio/CMakeFiles/vtkmetaio.dir/metaUtils.cxx.o /home/caonima/OpenFOAM/ThirdParty-2.0.x/ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx: In function 'bool vtkmetaio::MET_StringToWordArray(const char*, int*, char***)': /home/caonima/OpenFOAM/ThirdParty-2.0.x/ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:804:3: error: 'ptrdiff_t' was not declared in this scope /home/caonima/OpenFOAM/ThirdParty-2.0.x/ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:804:3: note: suggested alternatives: /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/x86_64-redhat-linux/bits/c++config.h:1737:28: note: 'std:trdiff_t' /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/x86_64-redhat-linux/bits/c++config.h:1737:28: note: 'std:trdiff_t' /home/caonima/OpenFOAM/ThirdParty-2.0.x/ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:804:13: error: expected ';' before 'l' /home/caonima/OpenFOAM/ThirdParty-2.0.x/ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:806:13: error: expected ';' before 'p' /home/caonima/OpenFOAM/ThirdParty-2.0.x/ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:807:9: error: 'p' was not declared in this scope /home/caonima/OpenFOAM/ThirdParty-2.0.x/ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:807:11: error: 'l' was not declared in this scope /home/caonima/OpenFOAM/ThirdParty-2.0.x/ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:813:13: error: expected ';' before 'pp' /home/caonima/OpenFOAM/ThirdParty-2.0.x/ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:815:9: error: 'pp' was not declared in this scope /home/caonima/OpenFOAM/ThirdParty-2.0.x/ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:815:12: error: 'l' was not declared in this scope /home/caonima/OpenFOAM/ThirdParty-2.0.x/ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:828:3: error: 'pp' was not declared in this scope /home/caonima/OpenFOAM/ThirdParty-2.0.x/ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:828:6: error: 'l' was not declared in this scope /home/caonima/OpenFOAM/ThirdParty-2.0.x/ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:844:13: error: expected ';' before 'i' /home/caonima/OpenFOAM/ThirdParty-2.0.x/ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:845:7: error: 'i' was not declared in this scope /home/caonima/OpenFOAM/ThirdParty-2.0.x/ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:847:8: error: 'p' was not declared in this scope /home/caonima/OpenFOAM/ThirdParty-2.0.x/ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:853:11: error: 'p' was not declared in this scope /home/caonima/OpenFOAM/ThirdParty-2.0.x/ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:857:5: error: 'j' was not declared in this scope /home/caonima/OpenFOAM/ThirdParty-2.0.x/ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx:858:11: error: 'p' was not declared in this scope make[2]: *** [VTK/Utilities/vtkmetaio/CMakeFiles/vtkmetaio.dir/metaUtils.cxx.o] Error 1 make[1]: *** [VTK/Utilities/vtkmetaio/CMakeFiles/vtkmetaio.dir/all] Error 2 make: *** [all] Error 2 --- it didn't work >< Then I followed the post Fedora 15 install help post to install paraView from fedora Repository and set the environment. It didn't work either. Winston Wu |
||
August 14, 2011, 17:47 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Winston Wu,
Quote:
Code:
paraFoam -builtin _______________ edit: stupid Fedora... they changed the name for qmake to qmake-qt4... you'll have to run makeParaView like this: Code:
./makeParaView -qmake `which qmake-qt4` Code:
sed -i -e 's=ptrdiff_t=std::ptrdiff_t=' ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx _______________ edit 2: well, in case someone who is reading this wants to use Fedora's OpenMPI version, here's a few more steps to be made before building OpenFOAM:
Best regards, Bruno
__________________
Last edited by wyldckat; August 14, 2011 at 21:16. Reason: see "edit:" and "edit 2:" |
||
August 16, 2011, 05:43 |
|
#5 | |
Senior Member
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 23 |
Quote:
__________________
Laurence R. McGlashan :: Website |
||
August 16, 2011, 08:24 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Laurence,
Well, for future reference, this has already been fixed for ParaView 3.12: http://paraview.org/Bug/view.php?id=12157 - but I don't have a clue when will it come out... Best regards, Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 1.7.1 installation problem on Fedora 14 | armonica | OpenFOAM Installation | 16 | March 31, 2011 14:16 |
[OpenFOAM] ParaView/Parafoam error when making animation | Disco_Caine | ParaView | 6 | September 28, 2010 10:54 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 14:43 |
user subroutine error | CFDUSER | CFX | 2 | December 9, 2006 07:31 |
user defined function | cfduser | CFX | 0 | April 29, 2006 11:58 |