|
[Sponsors] |
Paraview Compiling Error (OpenFOAM 2.1.x + openSUSE 12.2) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 30, 2013, 13:16 |
Paraview Compiling Error (OpenFOAM 2.1.x + openSUSE 12.2)
|
#1 |
Senior Member
|
Hi Foamers,
I am using the last repository version of paraview in the last stable release of OpenFoam! When I run paraFoam the terminal dispalys thi message: FATAL ERROR: ParaView reader module libraries do not exist Please build the reader module before continuing: cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers ./Allwclean ./Allwmake ifas@lg-208-linux:~/OpenFOAM/ifas-2.1.x/run/cavity> 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 So, to fix the error I did the following steps: cd $WM_THIRD_PARTY_DIR ./makeParaView The PV3blockMeshReader and the PV3FoamReader ParaView plugins are compiled as usual for OpenFOAM utilities: cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers wmSET ./Allwclean ./Allwmake The output of the last run script is: lg-208-linux:/opt/OpenFOAM/OpenFOAM-2.1.x/applications/utilities/postProcessing/graphics/PV3Readers # ./Allwmake + '[' -d /opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0 -a -r /opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0 '] Please , Can anyone knows How can I fix such problem? Thx Marco |
|
January 30, 2013, 13:17 |
|
#2 |
Senior Member
|
Sorry,
I was wrong! I am using OpenFOAM 2.1.x Marco |
|
January 30, 2013, 13:35 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Marco,
Which Linux version are you using and which instructions have you followed for installing OpenFOAM 2.1.x? Best regards, Bruno
__________________
|
|
January 30, 2013, 13:39 |
|
#4 |
Senior Member
|
HI again Bruno,
the version is openSuse 2.2. I have followed all the passages described in the official website. Moreover, I have also compiled a debug version and made two `alias` in the root bashrc file for 'Opt ' and ´Debug´. It Seems like. I do not have the paraview library... Other question..Do I need to compile aal third part?? (I did) Regards MARCO |
|
January 30, 2013, 13:40 |
|
#5 |
Senior Member
|
Sorry..Opensuse 12.2
|
|
January 30, 2013, 13:41 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
OK, then try these instructions instead: http://openfoamwiki.net/index.php/In...#openSUSE_12.2 - You can jump straight to point #7
And keep in mind that you can edit your own posts! No need to post two consecutive posts in a short time
__________________
|
|
January 30, 2013, 13:43 |
|
#7 |
Senior Member
|
Roger!!
Thx Marco Bruno..one more question, just in case..! You suppose that I need to cancel everything regarding OpenFoam on my computer (pyFoam , swak...and so on) because I cannot fix the error and I want to istall it again. What should I do in linux? Last edited by sfigato; January 30, 2013 at 13:52. Reason: more question |
|
January 30, 2013, 14:05 |
|
#8 |
Senior Member
|
Hi Bruno,
..no way! I followed all the passages that you have suggested to me. This is the output: lg-208-linux:/opt/OpenFOAM/OpenFOAM-2.1.x/applications/utilities/postProcessing/graphics/PV3Readers # wmSET $FOAM_SETTINGS If 'wmSET' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf wmSET lg-208-linux:/opt/OpenFOAM/OpenFOAM-2.1.x/applications/utilities/postProcessing/graphics/PV3Readers # lsAllwclean Allwmake PV3blockMeshReader PV3FoamReader vtkPV3Readers lg-208-linux:/opt/OpenFOAM/OpenFOAM-2.1.x/applications/utilities/postProcessing/graphics/PV3Readers # ./Allwclean + wclean libso vtkPV3Readers ./Allwclean: Zeile 5: wclean: Kommando nicht gefunden. + PV3blockMeshReader/Allwclean + rm -f '/libPV3blockMeshReader*' + rm -rf PV3blockMeshReader/Make + wclean libso vtkPV3blockMesh PV3blockMeshReader/Allwclean: Zeile 9: wclean: Kommando nicht gefunden. + PV3FoamReader/Allwclean + rm -f '/libPV3FoamReader*' + rm -rf PV3FoamReader/Make + wclean libso vtkPV3Foam PV3FoamReader/Allwclean: Zeile 9: wclean: Kommando nicht gefunden. lg-208-linux:/opt/OpenFOAM/OpenFOAM-2.1.x/applications/utilities/postProcessing/graphics/PV3Readers # ./Allwmake + '[' -d '' -a -r '' ']' |
|
January 30, 2013, 16:51 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Marco,
Building directly as root is not a good idea, but... oh well ... This part I'm telling you to build (namely ParaView) does not require rebuilding OpenFOAM itself. As for the commands themselves, I was assuming that you already knew that when compiling as root, you need to (re)activate the OpenFOAM environment once again. Namely, run the following command before you try to build ParaView and/or the plugins: Code:
source /opt/OpenFOAM/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc Bruno
__________________
|
|
January 31, 2013, 02:55 |
|
#10 |
Senior Member
|
Good Morning Bruno,
I have tried again to follow the instruction that you have posted but without any results! What can I try more. Moreover, I still do not understand if I have to run ./Allwmake in ThirdPart folder or not. Anyway, this is the final output of paraview istallation: Installation complete for paraview-3.12.0 Set environment variables: export ParaView_DIR=/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0 export PATH=$ParaView_DIR/bin:$PATH export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-3.12 --- Done Again. I compiled in PV3Readers directory with this output, that should be ok Allwmake + '[' -d /opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0 -a -r /opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0 ']' + '[' -n /opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/paraview-3.12 ']' + '[' -n g++ ']' + export CXX=g++ + CXX=g++ + wmake libso vtkPV3Readers 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 -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/include/paraview-3.12 -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/vtkPV3Readers.o '/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libvtkPV3Readers.so' is up to date. + PV3blockMeshReader/Allwmake + '[' -d /opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0 -a -r /opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/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 -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/mesh/blockMesh/lnInclude -I/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/include/paraview-3.12 -I../../vtkPV3Readers/lnInclude -I../PV3blockMeshReader -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/vtkPV3blockMesh.o SOURCE=vtkPV3blockMeshConvert.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/mesh/blockMesh/lnInclude -I/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/include/paraview-3.12 -I../../vtkPV3Readers/lnInclude -I../PV3blockMeshReader -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/vtkPV3blockMeshConvert.o SOURCE=vtkPV3blockMeshUtils.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/mesh/blockMesh/lnInclude -I/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/include/paraview-3.12 -I../../vtkPV3Readers/lnInclude -I../PV3blockMeshReader -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/vtkPV3blockMeshUtils.o '/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libvtkPV3blockMesh.so' is up to date. + cd PV3blockMeshReader + mkdir -p Make/linux64GccDPOpt + cd Make/linux64GccDPOpt + cmake ../.. -- The C compiler identification is GNU 4.7.1 -- The CXX compiler identification is GNU 4.7.1 -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Loading ParaView CMake commands -- Loading ParaView CMake commands - done -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt4: /usr/bin/qmake (found version "4.8.1") -- Configuring done -- Generating done -- Build files have been written to: /opt/OpenFOAM/OpenFOAM-2.1.x/applications/utilities/postProcessing/graphics/PV3Readers/PV3blockMeshReader/PV3blockMeshReader/Make/linux64GccDPOpt + make [ 5%] Generating moc_PV3blockMeshReader_SM_Plugin.cxx [ 11%] Generating qrc_PV3blockMeshReader_SM.cxx [ 17%] Generating moc_pqPV3blockMeshReaderPanel.cxx [ 23%] Generating moc_pqPV3blockMeshReaderPanelImplementation.cxx [ 29%] Generating vtkPV3blockMeshReaderClientServer.cxx [ 35%] Generating vtkSMXML_PV3blockMeshReader_SM.h -- Generate module: PV3blockMeshReader_SM Scanning dependencies of target PV3blockMeshReader_SM [ 41%] Building CXX object CMakeFiles/PV3blockMeshReader_SM.dir/qrc_PV3blockMeshReader_SM.cxx.o [ 47%] Building CXX object CMakeFiles/PV3blockMeshReader_SM.dir/pqPV3blockMeshReaderPanel.cxx.o [ 52%] Building CXX object CMakeFiles/PV3blockMeshReader_SM.dir/moc_pqPV3blockMeshReaderPanel.cxx.o [ 58%] Building CXX object CMakeFiles/PV3blockMeshReader_SM.dir/pqPV3blockMeshReaderPanelImplementation.cxx.o [ 64%] Building CXX object CMakeFiles/PV3blockMeshReader_SM.dir/moc_pqPV3blockMeshReaderPanelImplementation.cxx.o [ 70%] Building CXX object CMakeFiles/PV3blockMeshReader_SM.dir/vtkPV3blockMeshReader.cxx.o [ 76%] Building CXX object CMakeFiles/PV3blockMeshReader_SM.dir/vtkPV3blockMeshReaderClientServer.cxx.o [ 82%] Building CXX object CMakeFiles/PV3blockMeshReader_SM.dir/PV3blockMeshReader_SMInit.cxx.o [ 88%] Building CXX object CMakeFiles/PV3blockMeshReader_SM.dir/vtkSMPV3blockMeshReader_SMInstantiator.cxx.o [ 94%] Building CXX object CMakeFiles/PV3blockMeshReader_SM.dir/PV3blockMeshReader_SM_Plugin.cxx.o [100%] Building CXX object CMakeFiles/PV3blockMeshReader_SM.dir/moc_PV3blockMeshReader_SM_Plugin.cxx.o Linking CXX shared library /opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/paraview-3.12/libPV3blockMeshReader_SM.so [100%] Built target PV3blockMeshReader_SM + PV3FoamReader/Allwmake + '[' -d /opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0 -a -r /opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0 ']' + wmake libso vtkPV3Foam wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file vtkPV3Foam.C Making dependency list for source file vtkPV3FoamFields.C Making dependency list for source file vtkPV3FoamMesh.C Making dependency list for source file vtkPV3FoamMeshLagrangian.C Making dependency list for source file vtkPV3FoamMeshPatch.C Making dependency list for source file vtkPV3FoamMeshSet.C Making dependency list for source file vtkPV3FoamMeshVolume.C Making dependency list for source file vtkPV3FoamMeshZone.C Making dependency list for source file vtkPV3FoamUpdateInfo.C Making dependency list for source file vtkPV3FoamUtils.C SOURCE=vtkPV3Foam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I../../vtkPV3Readers/lnInclude -I../PV3FoamReader -I/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/include/paraview-3.12 -DHAS_VTK_POLYHEDRON -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/vtkPV3Foam.o SOURCE=vtkPV3FoamFields.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I../../vtkPV3Readers/lnInclude -I../PV3FoamReader -I/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/include/paraview-3.12 -DHAS_VTK_POLYHEDRON -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/vtkPV3FoamFields.o SOURCE=vtkPV3FoamMesh.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I../../vtkPV3Readers/lnInclude -I../PV3FoamReader -I/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/include/paraview-3.12 -DHAS_VTK_POLYHEDRON -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/vtkPV3FoamMesh.o SOURCE=vtkPV3FoamMeshLagrangian.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I../../vtkPV3Readers/lnInclude -I../PV3FoamReader -I/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/include/paraview-3.12 -DHAS_VTK_POLYHEDRON -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/vtkPV3FoamMeshLagrangian.o SOURCE=vtkPV3FoamMeshPatch.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I../../vtkPV3Readers/lnInclude -I../PV3FoamReader -I/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/include/paraview-3.12 -DHAS_VTK_POLYHEDRON -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/vtkPV3FoamMeshPatch.o SOURCE=vtkPV3FoamMeshSet.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I../../vtkPV3Readers/lnInclude -I../PV3FoamReader -I/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/include/paraview-3.12 -DHAS_VTK_POLYHEDRON -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/vtkPV3FoamMeshSet.o SOURCE=vtkPV3FoamMeshVolume.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I../../vtkPV3Readers/lnInclude -I../PV3FoamReader -I/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/include/paraview-3.12 -DHAS_VTK_POLYHEDRON -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/vtkPV3FoamMeshVolume.o SOURCE=vtkPV3FoamMeshZone.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I../../vtkPV3Readers/lnInclude -I../PV3FoamReader -I/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/include/paraview-3.12 -DHAS_VTK_POLYHEDRON -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/vtkPV3FoamMeshZone.o SOURCE=vtkPV3FoamUpdateInfo.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I../../vtkPV3Readers/lnInclude -I../PV3FoamReader -I/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/include/paraview-3.12 -DHAS_VTK_POLYHEDRON -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/vtkPV3FoamUpdateInfo.o SOURCE=vtkPV3FoamUtils.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I../../vtkPV3Readers/lnInclude -I../PV3FoamReader -I/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/include/paraview-3.12 -DHAS_VTK_POLYHEDRON -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/vtkPV3FoamUtils.o '/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libvtkPV3Foam.so' is up to date. + cd PV3FoamReader + mkdir -p Make/linux64GccDPOpt + cd Make/linux64GccDPOpt + cmake ../.. -- The C compiler identification is GNU 4.7.1 -- The CXX compiler identification is GNU 4.7.1 -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Loading ParaView CMake commands -- Loading ParaView CMake commands - done -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt4: /usr/bin/qmake (found version "4.8.1") -- Configuring done -- Generating done -- Build files have been written to: /opt/OpenFOAM/OpenFOAM-2.1.x/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/PV3FoamReader/Make/linux64GccDPOpt + make [ 5%] Generating moc_PV3FoamReader_SM_Plugin.cxx [ 11%] Generating qrc_PV3FoamReader_SM.cxx [ 17%] Generating moc_pqPV3FoamReaderPanel.cxx [ 23%] Generating moc_pqPV3FoamReaderPanelImplementation.cxx [ 29%] Generating vtkPV3FoamReaderClientServer.cxx [ 35%] Generating vtkSMXML_PV3FoamReader_SM.h -- Generate module: PV3FoamReader_SM Scanning dependencies of target PV3FoamReader_SM [ 41%] Building CXX object CMakeFiles/PV3FoamReader_SM.dir/qrc_PV3FoamReader_SM.cxx.o [ 47%] Building CXX object CMakeFiles/PV3FoamReader_SM.dir/pqPV3FoamReaderPanel.cxx.o [ 52%] Building CXX object CMakeFiles/PV3FoamReader_SM.dir/moc_pqPV3FoamReaderPanel.cxx.o [ 58%] Building CXX object CMakeFiles/PV3FoamReader_SM.dir/pqPV3FoamReaderPanelImplementation.cxx.o [ 64%] Building CXX object CMakeFiles/PV3FoamReader_SM.dir/moc_pqPV3FoamReaderPanelImplementation.cxx.o [ 70%] Building CXX object CMakeFiles/PV3FoamReader_SM.dir/vtkPV3FoamReader.cxx.o [ 76%] Building CXX object CMakeFiles/PV3FoamReader_SM.dir/vtkPV3FoamReaderClientServer.cxx.o [ 82%] Building CXX object CMakeFiles/PV3FoamReader_SM.dir/PV3FoamReader_SMInit.cxx.o [ 88%] Building CXX object CMakeFiles/PV3FoamReader_SM.dir/vtkSMPV3FoamReader_SMInstantiator.cxx.o [ 94%] Building CXX object CMakeFiles/PV3FoamReader_SM.dir/PV3FoamReader_SM_Plugin.cxx.o [100%] Building CXX object CMakeFiles/PV3FoamReader_SM.dir/moc_PV3FoamReader_SM_Plugin.cxx.o Linking CXX shared library /opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/paraview-3.12/libPV3FoamReader_SM.so [100%] Built target PV3FoamReader_SM Though, I run parafoam in the cavity case ad it does not work FATAL ERROR: ParaView reader module libraries do not exist Please build the reader module before continuing: cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers ./Allwclean ./Allwmake Please. I need to fix this problem! Bruno (or anyone foamers) can help me? Thx in advance Marco |
|
January 31, 2013, 05:46 |
|
#11 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Marco,
I'm guessing all you now need to do is.... start a new terminal! Or run that other command that didn't work the other time, as normal user (not as root): Code:
wmSET $FOAM_SETTINGS Bruno
__________________
|
|
January 31, 2013, 05:56 |
|
#12 |
Senior Member
|
Hi Bruno,
I do not know what exactly happened but I finally got my paraView! Now I have the last question! I built patraView for 'OPT' mode but not for 'DEBUG' mode. Do I need it or I can skip it? I mean..I can use the debug mode to debbaging and switch for 'OPT' mode just for post-processing!..right?? Regards Marco |
|
January 31, 2013, 06:01 |
|
#13 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Marco,
As you can see: Quote:
But the plug-ins: Quote:
Code:
ln -s /opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/paraview-3.12 /opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPDebug/lib/paraview-3.12 Bruno
__________________
|
|||
January 31, 2013, 06:10 |
|
#14 |
Senior Member
|
Thanks Bruno,
I did. Nevertheless when I type paraFoam in DEBUG mode..it displays: [2] 4780 ifas@lg-208-linux:~/OpenFOAM/ifas-2.1.x/run/cavity> created temporary 'cavity.OpenFOAM' Read float past end of buffer Read float past end of buffer Read float past end of buffer Read float past end of buffer Failed to load data file: cavity.OpenFOAM [2]+ Fertig paraFoam It is like that paraView cannot recognize which kind of file cavity.OpenFOAM has! Bruno what can I do more?? (this is the last step to fix the whole setup) Best Regards Marco Last edited by sfigato; January 31, 2013 at 09:18. Reason: add information |
|
January 31, 2013, 09:19 |
|
#15 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Marco,
You didn't mention which steps you did I forgot that using the symbolic link might be a bad idea, since the debug version might not had the symbols in the same place. Therefore, I believe these instructions should work:
Bruno
__________________
|
|
January 31, 2013, 09:31 |
|
#16 |
Senior Member
|
Hi Bruno,
this is the last step, I promise..after that you will not hear about me for (at least)....two hours..ahahah! I am a little afraid to run yours hints. This because I have two bash files in Openfoam-2.1.x/etc. They are: bashrc and bashrc_debug. So my bash file in the root/etc folder is setted like that: alias startFoam='. /opt/OpenFOAM/OpenFOAM-2.1.x/etc/bashrc' alias startFoamDebug='. /opt/OpenFOAM/OpenFOAM-2.1.x/etc/bashrc_debug' So, do youthink that yours commands are still valid for such situation? Best Regards Marco |
|
January 31, 2013, 09:37 |
|
#17 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Marco,
It depends on what's different between those two files. My assumption is that the "bashrc_debug" file you've got is equivalent to this: Code:
source /opt/OpenFOAM/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc WM_COMPILE_OPTION=Debug For more information about this: http://www.cfd-online.com/Forums/blo...vironment.html Best regards, Bruno
__________________
|
|
January 31, 2013, 09:47 |
|
#18 |
Senior Member
|
Exact Bruno,
the only difference is that in bashrc_debug the debug option is swiched on (in accoding to what you have suggested in http://www.cfd-online.com/Forums/ope...oam-1-6-a.html). So I can run your hints except for the source..but before I have to run startFoamDebug (in according to my baschrc file in root/etc)! Do you agree with me? (I am not very good with linux and I m always a little bit afraid ta break something) Greets Marco |
|
January 31, 2013, 10:02 |
|
#19 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Marco,
I guess you didn't read the link I gave in the previous post ... The source command is identical to the dot symbol, when used as a command. The aliases will probably not be passed from normal user to root, unless you've also edited root's "~/.bashrc" for adding those aliases. Doing any one of these lines should result in the same ... result, i.e. have the OpenFOAM environment activated in Debug state: Code:
source /opt/OpenFOAM/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc WM_COMPILE_OPTION=Debug . /opt/OpenFOAM/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc WM_COMPILE_OPTION=Debug source /opt/OpenFOAM/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc_debug . /opt/OpenFOAM/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc_debug Bruno
__________________
|
|
January 31, 2013, 10:25 |
|
#20 |
Senior Member
|
Hi Bruno,
yes I red it and I did not understand (I am not a very good linux user). Anyway, when I type source /opt/OpenFOAM/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc_debug . /opt/OpenFOAM/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc_debug I automatically exit from the root mode and I cannot compile \makeparaView (and I cannot compile the reader). So I need to enter again in the root mode. This drives to the fact that I need to source again (it is as a circle). What can I do? Greets Marco |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Walkthrough: Installation of OpenFOAM-1.6-ext on openSUSE 12.2 64-bit | wenterodt | OpenFOAM Installation | 4 | January 10, 2013 11:18 |
how to use paraview-3.14 on OpenSUSE 12.2 with OpenFOAM-2.1.x? | phsieh2005 | OpenFOAM Installation | 2 | October 2, 2012 19:39 |
Paraview 3.14.1 + opensuse 12.2 (gcc 4.7.1 & qmake 4.8.1) SOLVED | pcaron | OpenFOAM Installation | 10 | September 28, 2012 14:59 |
[OpenFOAM] Installation problem with ParaView 3.8.0 on openSUSE 11.2 | aero_ | ParaView | 14 | August 2, 2010 19:13 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 22:41 |