|
[Sponsors] |
February 11, 2014, 05:33 |
Error building ParaVIEW 3.12.0 in CentOS 6.5
|
#1 |
New Member
William Mowat
Join Date: Feb 2014
Posts: 6
Rep Power: 12 |
Hi,
I'm a newbie to CentOS and OpenFOAM. I've installed OpenFOAM 2.2.2 using http://openfoamwiki.net/index.php/In...CentOS_SL_RHEL but when I get to building ParaVIEW in instruction 13, things go awry. Here's the error that I get during the ./Allmake command: Code:
[william.mowat@mcsklnx1 PV3Readers]$ ./Allwmake wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file vtkPV3Readers.C SOURCE=vtkPV3Readers.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/william.mowat/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/paraview-3.12.0/include/paraview-3.12 -IlnInclude -I. -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc45DPOpt/vtkPV3Readers.o '/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64Gcc45DPOpt/lib/libvtkPV3Readers.so' is up to date. + '[' -d /home/william.mowat/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/paraview-3.12.0 -a -r /home/william.mowat/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/paraview-3.12.0 ']' + wmake libso vtkPV3blockMesh wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file vtkPV3blockMesh.C Making dependency list for source file vtkPV3blockMeshConvert.C Making dependency list for source file vtkPV3blockMeshUtils.C SOURCE=vtkPV3blockMesh.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/meshTools/lnInclude -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/mesh/blockMesh/lnInclude -I/home/william.mowat/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/paraview-3.12.0/include/paraview-3.12 -I../../vtkPV3Readers/lnInclude -I../PV3blockMeshReader -IlnInclude -I. -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc45DPOpt/vtkPV3blockMesh.o SOURCE=vtkPV3blockMeshConvert.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/meshTools/lnInclude -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/mesh/blockMesh/lnInclude -I/home/william.mowat/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/paraview-3.12.0/include/paraview-3.12 -I../../vtkPV3Readers/lnInclude -I../PV3blockMeshReader -IlnInclude -I. -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc45DPOpt/vtkPV3blockMeshConvert.o SOURCE=vtkPV3blockMeshUtils.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/meshTools/lnInclude -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/mesh/blockMesh/lnInclude -I/home/william.mowat/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/paraview-3.12.0/include/paraview-3.12 -I../../vtkPV3Readers/lnInclude -I../PV3blockMeshReader -IlnInclude -I. -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc45DPOpt/vtkPV3blockMeshUtils.o '/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64Gcc45DPOpt/lib/libvtkPV3blockMesh.so' is up to date. + cd PV3blockMeshReader + mkdir -p Make/linux64Gcc45DPOpt + cd Make/linux64Gcc45DPOpt + cmake ../.. -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/lib64/ccache/gcc -- Check for working C compiler: /usr/lib64/ccache/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/lib64/ccache/g++ -- Check for working CXX compiler: /usr/lib64/ccache/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Loading ParaView CMake commands -- Loading ParaView CMake commands - done CMake Error at CMakeLists.txt:43 (QT4_WRAP_CPP): Unknown CMake command "QT4_WRAP_CPP". -- Configuring incomplete, errors occurred! Cheers, Will Last edited by wyldckat; February 15, 2014 at 18:31. Reason: Added [CODE][/CODE] |
|
February 15, 2014, 18:36 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Will and welcome to the forum!
Something might have gone wrong during the build process, before this final step. What do these commands give you? Code:
cmake --version qmake-qt4 --version which paraview Bruno
__________________
|
|
February 17, 2014, 04:44 |
|
#3 |
New Member
William Mowat
Join Date: Feb 2014
Posts: 6
Rep Power: 12 |
Hi Bruno,
Thanks. Here's the terminal output: [william.mowat@mcsklnx1 ~]$ cmake --version cmake version 2.6-patch 4 [william.mowat@mcsklnx1 ~]$ qmake-qt4 --version QMake version 2.01a Using Qt version 4.6.2 in /usr/lib64 [william.mowat@mcsklnx1 ~]$ which paraview /usr/bin/which: no paraview in (/Simulia/Commands:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/william.mowat/bin) Cheers! Will |
|
February 17, 2014, 09:40 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Will,
Something went wrong in the build process of ParaView. Try running these commands: Code:
cd $WM_THIRD_PARTY_DIR ./makeParaView -qmake $(which qmake-qt4) > log.makePV 2>&1 gzip log.makePV Best regards, Bruno
__________________
Last edited by wyldckat; February 17, 2014 at 10:50. Reason: typo: "gunzip" -> "gzip" |
|
February 17, 2014, 10:25 |
|
#5 |
New Member
William Mowat
Join Date: Feb 2014
Posts: 6
Rep Power: 12 |
Hi Bruno,
Thanks for your help, it's much appreciated! Unfortunately the gzip didn't generate. Here's the error message that I got: [william.mowat@mcsklnx1 ThirdParty-2.2.2]$ cd $WM_THIRD_PARTY_DIR [william.mowat@mcsklnx1 ThirdParty-2.2.2]$ ./makeParaView -qmake $(which qmake-qt4) > log.makePV 2>&1 [william.mowat@mcsklnx1 ThirdParty-2.2.2]$ gunzip log.makePV gzip: log.makePV: unknown suffix -- ignored [william.mowat@mcsklnx1 ThirdParty-2.2.2]$ ls Thanks! Will p.s. I tried manually compressing the file but it came to 105 kb and couldn't be uploaded. Last edited by wjm; February 17, 2014 at 10:49. Reason: attach file |
|
February 17, 2014, 10:52 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Will,
Sorry, I meant to write "gzip", not "gunzip". Then try using: Code:
bz2 log.makePV It should result in a smaller file... or at least I hope so... Best regards, Bruno
__________________
Last edited by wyldckat; February 17, 2014 at 11:00. Reason: another typo fixed... |
|
February 17, 2014, 11:02 |
|
#7 |
New Member
William Mowat
Join Date: Feb 2014
Posts: 6
Rep Power: 12 |
Thanks! The bzip2 worked!
Regards, Will p.s. I had to manually change the bz2 to gz to enable the file to be uploaded. Although it states .gz it is still a .bz2 |
|
February 17, 2014, 11:07 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
According to the log file, everything is OK. ParaView should have been built successfully this time.
Now please try the remaining commands: Code:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers wmSET $FOAM_SETTINGS ./Allwclean ./Allwmake
__________________
|
|
February 17, 2014, 11:17 |
|
#9 |
New Member
William Mowat
Join Date: Feb 2014
Posts: 6
Rep Power: 12 |
Hi Bruno,
It's still making but I think it'll fall over from this extract of the verbose: [william.mowat@mcsklnx1 ThirdParty-2.2.2]$ cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers [william.mowat@mcsklnx1 PV3Readers]$ wmSET $FOAM_SETTINGS [william.mowat@mcsklnx1 PV3Readers]$ ./Allwclean + wclean libso vtkPV3Readers wclean vtkPV3Readers + PV3blockMeshReader/Allwclean + rm -f '/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64Gcc45DPOpt/lib/libPV3blockMeshReader*' + rm -rf PV3blockMeshReader/Make + wclean libso vtkPV3blockMesh wclean vtkPV3blockMesh + PV3FoamReader/Allwclean + rm -f '/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64Gcc45DPOpt/lib/libPV3FoamReader*' + rm -rf PV3FoamReader/Make + wclean libso vtkPV3Foam wclean vtkPV3Foam [william.mowat@mcsklnx1 PV3Readers]$ ./Allwmake wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file vtkPV3Readers.C SOURCE=vtkPV3Readers.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/william.mowat/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/paraview-3.12.0/include/paraview-3.12 -IlnInclude -I. -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc45DPOpt/vtkPV3Readers.o '/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64Gcc45DPOpt/lib/libvtkPV3Readers.so' is up to date. + '[' -d /home/william.mowat/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/paraview-3.12.0 -a -r /home/william.mowat/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/paraview-3.12.0 ']' + wmake libso vtkPV3blockMesh wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file vtkPV3blockMesh.C Making dependency list for source file vtkPV3blockMeshConvert.C Making dependency list for source file vtkPV3blockMeshUtils.C SOURCE=vtkPV3blockMesh.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/meshTools/lnInclude -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/mesh/blockMesh/lnInclude -I/home/william.mowat/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/paraview-3.12.0/include/paraview-3.12 -I../../vtkPV3Readers/lnInclude -I../PV3blockMeshReader -IlnInclude -I. -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc45DPOpt/vtkPV3blockMesh.o SOURCE=vtkPV3blockMeshConvert.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/meshTools/lnInclude -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/mesh/blockMesh/lnInclude -I/home/william.mowat/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/paraview-3.12.0/include/paraview-3.12 -I../../vtkPV3Readers/lnInclude -I../PV3blockMeshReader -IlnInclude -I. -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc45DPOpt/vtkPV3blockMeshConvert.o SOURCE=vtkPV3blockMeshUtils.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/meshTools/lnInclude -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/mesh/blockMesh/lnInclude -I/home/william.mowat/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/paraview-3.12.0/include/paraview-3.12 -I../../vtkPV3Readers/lnInclude -I../PV3blockMeshReader -IlnInclude -I. -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc45DPOpt/vtkPV3blockMeshUtils.o '/home/william.mowat/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64Gcc45DPOpt/lib/libvtkPV3blockMesh.so' is up to date. + cd PV3blockMeshReader + mkdir -p Make/linux64Gcc45DPOpt + cd Make/linux64Gcc45DPOpt + cmake ../.. -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /home/william.mowat/OpenFOAM/ThirdParty-2.2.2/platforms/linux64/gcc-4.5.2/bin/gcc -- Check for working C compiler: /home/william.mowat/OpenFOAM/ThirdParty-2.2.2/platforms/linux64/gcc-4.5.2/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /home/william.mowat/OpenFOAM/ThirdParty-2.2.2/platforms/linux64/gcc-4.5.2/bin/g++ -- Check for working CXX compiler: /home/william.mowat/OpenFOAM/ThirdParty-2.2.2/platforms/linux64/gcc-4.5.2/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Loading ParaView CMake commands -- Loading ParaView CMake commands - done CMake Error at CMakeLists.txt:43 (QT4_WRAP_CPP): Unknown CMake command "QT4_WRAP_CPP". -- Configuring incomplete, errors occurred! Cheers, Will p.s. have just installed the rhel 6.5 version of OpenFOAM-2.3.0 with its associated softwares and all working well. Last edited by wjm; February 18, 2014 at 12:09. Reason: Update |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
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 |
Compiling Paraview 3.12.0 and the PV3FoamReader Module | smpark | OpenFOAM Installation | 2 | January 9, 2012 08:16 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 22:41 |