|
[Sponsors] |
April 1, 2009, 17:09 |
|
#61 |
Senior Member
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17 |
Hi everyone, I have used the opeFoam script to install OpenFoam and it seems to work (I get no errors at the test installation script). I also used the paraview install script, however when I type in the terminal the command paraFoam -case $FOAM_RUN/icoFoam/cavity (as in the lid driven cavity tutorial - http://www.opencfd.co.uk/openfoam/do...tml#x5-40002.1) I get the following message :
paraview: symbol lookup error: /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libpqCore.so: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv The same error message I get if I try to run paraview, meaning that when I type paraview I get the same as above. Any ideas on what it is and how can I fix it? Thanks in advance. |
|
April 2, 2009, 02:28 |
|
#62 | |
Guest
Posts: n/a
|
Quote:
|
||
April 2, 2009, 03:37 |
|
#63 |
Senior Member
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17 |
Tried it but nothing, the same problem persists. Besided since the time I used the installation scripts, I have turned on and off my computer several times, so I believe that could be considered as log off and log in, right?
|
|
April 2, 2009, 04:21 |
|
#64 | |
Guest
Posts: n/a
|
Quote:
echo $LD_LIBRARY_PATH . |
||
April 2, 2009, 05:19 |
|
#65 |
Senior Member
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17 |
Typed the command :
fivos@fivos-desktop:~$ echo $LD_LIBRARY_PATH And the output : /usr/local/Trolltech/Qt-4.3.5/lib:/home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin:/home/fivos/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/openmpi-1.2.6:/home/fivos/OpenFOAM/ThirdParty/openmpi-1.2.6/platforms/linux64GccDPOpt/lib:/home/fivos/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/lib64:/home/fivos/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/lib:/home/fivos/OpenFOAM/fivos-1.5/lib/linux64GccDPOpt:/home/fivos/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt |
|
April 2, 2009, 09:08 |
|
#66 |
Guest
Posts: n/a
|
I'm guessing the version of Qt libraries libpqCore.so finds and the version of Qt ParaView was compiled with is different (a version mismatch).
Try this: LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH paraview |
|
April 2, 2009, 10:46 |
|
#67 |
Senior Member
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17 |
After typing the command
LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH paraview I get the same error message: paraview: symbol lookup error: /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libpqCore.so: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv |
|
April 2, 2009, 11:18 |
|
#68 |
Guest
Posts: n/a
|
Do
sudo aptitude purge paraview libqt4-dev sudo apt-get autoremove Try again. If problem persists, then post the output of the command ldd $(which paraview) | grep -i not If there is no output, post output of command ldd $(which paraview). Post the output of the command cat /etc/ld.so.conf /etc/ld.so.conf.d/* |
|
April 2, 2009, 13:38 |
|
#69 |
Senior Member
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17 |
Done the first two commands (sudo aptitude purge paraview libqt4-dev and
sudo apt-get autoremove). The first gives : fivos@fivos-desktop:~$ sudo aptitude purge paraview libqt4-dev [sudo] password for fivos: Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Writing extended state information... Done Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done The second : fivos@fivos-desktop:~$ sudo apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Problem persists when I type command (paraFoam -case $FOAM_RUN/icoFoam/cavity). Same error code : paraview: symbol lookup error: /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libpqCore.so: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv The command ldd $(which paraview) | grep -i not does not give a result, so tried command ldd $(which paraview), which gave the following rows : fivos@fivos-desktop:~$ ldd $(which paraview) linux-vdso.so.1 => (0x00007fff2b3fe000) libpqComponents.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libpqComponents.so (0x00007f5b22af5000) libpqCore.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libpqCore.so (0x00007f5b226c0000) libpqWidgets.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libpqWidgets.so (0x00007f5b2243d000) libQtChart.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libQtChart.so (0x00007f5b221af000) libQtTesting.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libQtTesting.so (0x00007f5b21f7d000) libQtAssistantClient.so.4 => /usr/local/Trolltech/Qt-4.3.5/lib/libQtAssistantClient.so.4 (0x00007f5b21d75000) libQtGui.so.4 => /usr/local/Trolltech/Qt-4.3.5/lib/libQtGui.so.4 (0x00007f5b21319000) libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x00007f5b210f2000) libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007f5b20ee9000) libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007f5b20cce000) libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007f5b20ac3000) libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007f5b208b9000) libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007f5b206b1000) libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007f5b204a7000) libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x00007f5b202a5000) libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f5b20021000) libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f5b1fdef000) libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f5b1fbdd000) libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f5b1f8d5000) libQtNetwork.so.4 => /usr/local/Trolltech/Qt-4.3.5/lib/libQtNetwork.so.4 (0x00007f5b1f621000) libQtCore.so.4 => /usr/local/Trolltech/Qt-4.3.5/lib/libQtCore.so.4 (0x00007f5b1f268000) libz.so.1 => /usr/lib64/libz.so.1 (0x00007f5b1f050000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007f5b1ee34000) libdl.so.2 => /lib/libdl.so.2 (0x00007f5b1ec30000) libQVTK.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libQVTK.so.pv3.3 (0x00007f5b1e9ef000) libm.so.6 => /lib/libm.so.6 (0x00007f5b1e76a000) libQtSql.so.4 => /usr/local/Trolltech/Qt-4.3.5/lib/libQtSql.so.4 (0x00007f5b1e52e000) libvtkViews.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkViews.so.pv3.3 (0x00007f5b1e306000) libvtkPVServerManager.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkPVServerManager.so (0x00007f5b1dd60000) libvtkPVFiltersCS.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkPVFiltersCS.so (0x00007f5b1daed000) libvtkPVFilters.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkPVFilters.so (0x00007f5b1d65e000) libvtkPVServerCommonCS.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkPVServerCommonCS.so (0x00007f5b1d436000) libvtkPVServerCommon.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkPVServerCommon.so (0x00007f5b1d172000) libvtkPVCommandOptions.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkPVCommandOptions.so (0x00007f5b1cf4b000) libicet_mpi.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libicet_mpi.so (0x00007f5b1cd48000) libicet_strategies.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libicet_strategies.so (0x00007f5b1cb41000) libicet.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libicet.so (0x00007f5b1c933000) libGLU.so.1 => /usr/lib64/libGLU.so.1 (0x00007f5b1c6c1000) libvtkParallelCS.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkParallelCS.so (0x00007f5b1c46e000) libvtkHybridCS.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkHybridCS.so (0x00007f5b1c206000) libvtkVolumeRenderingCS.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkVolumeRenderingCS.so (0x00007f5b1bfda000) libvtkVolumeRendering.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkVolumeRendering.so.pv3.3 (0x00007f5b1b85d000) libvtkWidgetsCS.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkWidgetsCS.so (0x00007f5b1b5f0000) libKWCommon.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libKWCommon.so (0x00007f5b1b3db000) libvtkXdmfCS.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkXdmfCS.so (0x00007f5b1b1d1000) libvtkXdmf.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkXdmf.so (0x00007f5b1af76000) libXdmf.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libXdmf.so (0x00007f5b1ad1f000) libvtkhdf5.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkhdf5.so (0x00007f5b1a9e9000) libvtkInfovisCS.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkInfovisCS.so (0x00007f5b1a7b1000) libvtkInfovis.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkInfovis.so.pv3.3 (0x00007f5b1a488000) libvtkWidgets.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkWidgets.so.pv3.3 (0x00007f5b1a0ca000) libvtkHybrid.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkHybrid.so.pv3.3 (0x00007f5b19bf6000) libvtkParallel.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkParallel.so.pv3.3 (0x00007f5b19862000) libvtkexoIIc.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkexoIIc.so.pv3.3 (0x00007f5b19616000) libmpi.so.0 => /home/fivos/OpenFOAM/ThirdParty/openmpi-1.2.6/platforms/linux64GccDPOpt/lib/libmpi.so.0 (0x00007f5b1938a000) libvtklibxml2.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtklibxml2.so.pv3.3 (0x00007f5b19013000) libhistory.so.5 => /lib/libhistory.so.5 (0x00007f5b18e0b000) libreadline.so.5 => /lib/libreadline.so.5 (0x00007f5b18bcb000) libvtkRenderingCS.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkRenderingCS.so (0x00007f5b18923000) libvtkRendering.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkRendering.so.pv3.3 (0x00007f5b183da000) libvtkftgl.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkftgl.so.pv3.3 (0x00007f5b181ce000) libvtkfreetype.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkfreetype.so.pv3.3 (0x00007f5b17f4c000) libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f5b230ce000) libXt.so.6 => /usr/lib64/libXt.so.6 (0x00007f5b17ce8000) libvtkGenericFilteringCS.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkGenericFilteringCS.so (0x00007f5b17ad7000) libvtkGenericFiltering.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkGenericFiltering.so.pv3.3 (0x00007f5b1789b000) libvtkGraphicsCS.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkGraphicsCS.so (0x00007f5b1758a000) libvtkGraphics.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkGraphics.so.pv3.3 (0x00007f5b16c88000) libverdict.so.1.2 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libverdict.so.1.2 (0x00007f5b16a57000) libvtkImagingCS.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkImagingCS.so (0x00007f5b167f1000) libvtkImaging.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkImaging.so.pv3.3 (0x00007f5b1621b000) libvtkIOCS.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkIOCS.so (0x00007f5b15f8a000) libvtkIO.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkIO.so.pv3.3 (0x00007f5b1591a000) libvtkDICOMParser.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkDICOMParser.so.pv3.3 (0x00007f5b15700000) libvtkNetCDF.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkNetCDF.so.pv3.3 (0x00007f5b154c5000) libvtkmetaio.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkmetaio.so.pv3.3 (0x00007f5b15233000) libvtksqlite.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtksqlite.so.pv3.3 (0x00007f5b14fb5000) libvtkpng.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkpng.so.pv3.3 (0x00007f5b14d8e000) libvtktiff.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtktiff.so.pv3.3 (0x00007f5b14b30000) libvtkzlib.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkzlib.so.pv3.3 (0x00007f5b1491a000) libvtkjpeg.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkjpeg.so.pv3.3 (0x00007f5b146ee000) libvtkexpat.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkexpat.so.pv3.3 (0x00007f5b144c4000) libvtkFilteringCS.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkFilteringCS.so (0x00007f5b141f2000) libvtkFiltering.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkFiltering.so.pv3.3 (0x00007f5b13cf8000) libvtkCommonCS.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkCommonCS.so (0x00007f5b13a56000) libvtkClientServer.so => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkClientServer.so (0x00007f5b13830000) libvtkCommon.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtkCommon.so.pv3.3 (0x00007f5b13396000) libvtksys.so.pv3.3 => /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin/libvtksys.so.pv3.3 (0x00007f5b13167000) libQtXml.so.4 => /usr/local/Trolltech/Qt-4.3.5/lib/libQtXml.so.4 (0x00007f5b12eff000) libstdc++.so.6 => /home/fivos/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/lib64/libstdc++.so.6 (0x00007f5b12bf3000) libgcc_s.so.1 => /home/fivos/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/lib64/libgcc_s.so.1 (0x00007f5b129dc000) libc.so.6 => /lib/libc.so.6 (0x00007f5b1266a000) libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007f5b12465000) libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007f5b12260000) librt.so.1 => /lib/librt.so.1 (0x00007f5b12057000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f5b11d92000) libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f5b11b68000) libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f5b11966000) libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00007f5b11763000) libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f5b11547000) /lib64/ld-linux-x86-64.so.2 (0x00007f5b230a2000) libopen-rte.so.0 => /home/fivos/OpenFOAM/ThirdParty/openmpi-1.2.6/platforms/linux64GccDPOpt/lib/libopen-rte.so.0 (0x00007f5b112e8000) libopen-pal.so.0 => /home/fivos/OpenFOAM/ThirdParty/openmpi-1.2.6/platforms/linux64GccDPOpt/lib/libopen-pal.so.0 (0x00007f5b11087000) libnsl.so.1 => /lib/libnsl.so.1 (0x00007f5b10e6d000) libutil.so.1 => /lib/libutil.so.1 (0x00007f5b10c6a000) libncurses.so.5 => /lib/libncurses.so.5 (0x00007f5b10a2e000) libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x00007f5b0f974000) libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0x00007f5b0f872000) libpcre.so.3 => /lib/libpcre.so.3 (0x00007f5b0f648000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f5b0f442000) Finally command : cat /etc/ld.so.conf /etc/ld.so.conf.d/* gives fivos@fivos-desktop:~$ cat /etc/ld.so.conf /etc/ld.so.conf.d/* include /etc/ld.so.conf.d/*.conf /usr/lib32/alsa-lib /usr/lib/alsa-lib # libc default configuration /usr/local/lib # Multiarch support /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu |
|
April 2, 2009, 15:27 |
|
#70 |
Guest
Posts: n/a
|
You're most likely using the precompiled version of ParaView, which complains when it finds libraries which it's not compatible with (since it was compiled with a different version of Qt). (This is supported by fact that your binary references shared libraries from MPI, whereas MPI support is turned off in the version compiled by the buildParaView3.3-cvs script.)
So the solution is to compile ParaView & PV3FoamReader. (What the script should have done ) rm -rf $FOAM_INST_DIR/ThirdParty/ParaView3.3-cvs/platforms buildParaView3.3-cvs cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader ./Allwclean ./Allwmake |
|
April 2, 2009, 16:47 |
|
#71 |
Senior Member
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17 |
Ok I think I have found something :
rm -rf $FOAM_INST_DIR/ThirdParty/ParaView3.3-cvs/platforms Its OK, but buildParaView3.3-cvs, gives Building ParaView3.3-cvs MPI support : OFF Python support : OFF MESA support : OFF Source : /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs Target : /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Modules directory not found in /home/fivos/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin CMake Error: Error executing cmake::LoadCache(). Aborting. make: *** No targets specified and no makefile found. Stop. done I guess that there is something with cmake (that's why, probably, the script didnt work). So now how can I install Cmake? As far as I have seen cmake (ver. 2.6.0-4 ubuntu2) is already installed through synaptic. Could you please tell me what can I do now? |
|
April 2, 2009, 17:11 |
|
#72 |
Guest
Posts: n/a
|
The 'cmake' from the repositories is a newer version than the one ParaView requires to compile, and this newer version causes the error. There's two things you can do now: you can either remove the 'cmake' package and try again or temporarily change the PATH variable like so
PATH=/home/fivos/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin:$PATH and continue with buildParaView3.3-cvs. In any case, the output of the command which cmake should give you /home/fivos/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin/cmake . |
|
April 3, 2009, 15:28 |
|
#73 |
Senior Member
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17 |
No matter what I do, I cant use cmake. I dont know why, but the command buildParaView3.3-cvs
keeps giving as an output the same error message : Building ParaView3.3-cvs MPI support : OFF Python support : OFF MESA support : OFF Source : /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs Target : /home/fivos/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Modules directory not found in /home/fivos/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin CMake Error: Error executing cmake::LoadCache(). Aborting. make: *** No targets specified and no makefile found. Stop. done In short it says that cmake is not installed. Well I have uninstalled cmake 2.6.04, which was already installed, also used the PATH=/home/fivos/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin:$PATH in order to change the command path, but nothing. I downloaded and unpacked again the ThirdParty.general.gtgz and ThirdParty.linux64Gcc.gtgz but again nothing. Something else that I have noticed is that if I access the /home/fivos/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin/ folder I can see the cmake executable : ( ~/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin$ ls -l total 14048 -rwxr-x--- 1 fivos fivos 3416168 2007-01-10 19:50 ccmake -rwxr-x--x 1 fivos fivos 3215572 2007-01-10 19:50 cmake -rwxr-x--- 1 fivos fivos 3414520 2007-01-10 19:50 cpack -rwxr-x--- 1 fivos fivos 4304336 2007-01-10 19:50 ctest ) but I cannot run it. I get the following output whenever I try to run it : fivos@fivos-desktop:~/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin$ ./cmake bash: ./cmake: No such file or directory Any ideas on what can I do here? |
|
April 4, 2009, 11:21 |
|
#74 |
Guest
Posts: n/a
|
Sorry, can't help you there. Works for me:
$ pwd /home/jure/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin $ ls -l total 14024 -rwxr-x--- 1 jure jure 3416168 2007-01-10 18:50 ccmake -rwxr-x--- 1 jure jure 3215572 2007-01-10 18:50 cmake -rwxr-x--- 1 jure jure 3414520 2007-01-10 18:50 cpack -rwxr-x--- 1 jure jure 4304336 2007-01-10 18:50 ctest $ ./cmake cmake version 2.4-patch 6 Usage cmake [options] <path-to-source> cmake [options] <path-to-existing-build> Command-Line Options -C <initial-cache> = Pre-load a script to populate the cache. -D <var>:<type>=<value> = Create a cmake cache entry. -G <generator-name> = Specify a makefile generator. -E = CMake command mode. -i = Run in wizard mode. -L[A][H] = List non-advanced cached variables. -N = View mode only. -P <file> = Process script mode. --graphviz=[file] = Generate graphviz of dependencies. --debug-trycompile = Do not delete the try compile directories.. --debug-output = Put cmake in a debug mode. --help-command cmd [file] = Print help for a single command and exit. --help-command-list [file] = List available listfile commands and exit. --help-module module [file] = Print help for a single module and exit. --help-module-list [file] = List available modules and exit. --copyright [file] = Print the CMake copyright and exit. --help = Print usage information and exit. --help-full [file] = Print full help and exit. --help-html [file] = Print full help in HTML format. --help-man [file] = Print a UNIX man page and exit. --version [file] = Show program name/version banner and exit. Generators The following generators are available on this platform: KDevelop3 = Generates KDevelop 3 project files. Unix Makefiles = Generates standard UNIX makefiles. |
|
April 4, 2009, 14:15 |
|
#75 |
Senior Member
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17 |
What was the procedure you followed for installing cmake? Did you just unpack the ThirdParty.General.gtgz and then the ThirdParty.linux64Gcc.gtgz and cmake was ready to use? Did you do something else?
P.S. I know that I am continuously asking about this and that, but I cant figure out what is going on with this installation. Also thank you for your support. |
|
April 17, 2009, 09:52 |
|
#76 | |
Member
Nugroho Adi
Join Date: Mar 2009
Location: norway
Posts: 79
Rep Power: 17 |
Quote:
i need help again i tried to install OpenFoam-1.5-dev from http://powerlab.fsb.hr/ped/kturbo/OpenFOAM/release/ 13. travanj 2009 21:12 32678745 OpenFOAM-1.5-dev.General_2009-04-11.tgz 13. prosinac 2008 16:33 130577679 ThirdParty.General_2008-12-11.tgz unfortunetely i forgot to check what is the version of gcc in my current Ubuntu 8.10 and after installation finished, i got error message like i show you below, user@user-laptop:~/OpenFOAM/OpenFOAM-1.5-dev$ foamInstallationTest Executing /home/user/OpenFOAM/OpenFOAM-1.5-dev/bin/foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: user-laptop OS: Linux version 2.6.27-14-generic ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/user/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/user/OpenFOAM/user-1.5-dev yes no $WM_THIRD_PARTY_DIR /home/user/OpenFOAM/ThirdParty yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR /home/user/OpenFOAM/OpenFOAM-1.5-dev yes yes yes $FOAM_APPBIN ...5-dev/applications/bin/linuxGccDPOpt yes yes yes $FOAM_USER_APPBIN ...5-dev/applications/bin/linuxGccDPOpt yes yes no $WM_DIR ...user/OpenFOAM/OpenFOAM-1.5-dev/wmake yes yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $FOAM_LIBBIN ...M/OpenFOAM-1.5-dev/lib/linuxGccDPOpt yes yes yes $FOAM_USER_LIBBIN ...nFOAM/user-1.5-dev/lib/linuxGccDPOpt yes yes no $MPI_ARCH_PATH ...penmpi-1.2.6/platforms/linuxGccDPOpt yes yes yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- WARNING: gcc version does not match gcc supplied with this release of OpenFOAM Supplied version: 4.3.1 User version : ../src/configure 4.3.2 Minimum required: 4.2.0 gcc ...figure WARNING: Conflicting installations: OpenFOAM settings : /bin/gcc current path : /usr/bin/gcc CRITICAL ERROR gzip 1.3.12 /bin/gzip tar 1.20 /bin/tar icoFoam 1.5-dev ...penFOAM-1.5-dev/applications/bin/linuxGccDPOpt/icoFoam ------------------------------------------------------------------------------- Checking networking... ------------------------------------------------------------------------------- Action Result Crit ------------------------------------------------------------------------------- Pinging_user-laptop Successful yes Pinging_localHost Successful yes Test_rsh: Unsuccessful_connection_refused* yes Test_ssh: Successful yes (*) Only one of rsh or ssh is required by the OpenFOAM enviroment. ------------------------------------------------------------------------------- Base configuration ok. The foam installation contains 1 critical error(s). Review the output for warning messages and consult the installation guide for trouble shooting. done. my User version : ../src/configure 4.3.2 not match with Supplied version: 4.3.1 from downloaded packages i already read almost all about the thread for this case. NONE has a good answer how to fix it please help me. |
||
April 19, 2009, 03:00 |
|
#77 | |
Guest
Posts: n/a
|
Quote:
sudo aptitude install cmake Then rerun the last 20 lines of installParaView, like so: cat installParaView.txt | tail -n 20 > installParaView2 chmod +x installParaView2 ./installParaView2 This will use the cmake from /usr/bin, bypassing the one included with the ThirdParty package. Hope it helps. |
||
May 2, 2009, 17:29 |
openFOAM-1.5 installation on Scientific Linux having version 5.0 and 5.3
|
#78 |
New Member
khalid hussain
Join Date: May 2009
Posts: 2
Rep Power: 0 |
i am facing very much problems to istall openfoam 1.5 on Scientific linux. My main problem is that i dont know how to configure envirment variables.means that I dont know how to access bashrc file and in this file where we have to add
". $HOME/openFOAM/openFOAM-1.5/etc/bashrc" this line. Plzzzzz tell me clearly and in detail how to get access upto bashrc file and in this file at which location we have to paste above mentioned line so as to set the enviroment variables.I m desparate to find this location........ plzzz help me any one |
|
May 2, 2009, 17:33 |
|
#79 |
New Member
khalid hussain
Join Date: May 2009
Posts: 2
Rep Power: 0 |
plzz tell me all this with detail of every step
|
|
August 11, 2009, 04:48 |
|
#80 |
New Member
mcjohn87
Join Date: Aug 2009
Posts: 1
Rep Power: 0 |
thanks so much for useful info
www.globolstaff.com |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to install OpenFoam in Windows XP | robert_dekker | OpenFOAM Installation | 4 | October 20, 2010 22:15 |
install the openfoam | aya | CFX | 4 | July 23, 2008 08:58 |
How to run Openfoam in a cluster after I install it | xiuying | OpenFOAM Installation | 5 | May 5, 2008 13:54 |
OpenFOAM and Paraview install issues | spridal86 | OpenFOAM Installation | 7 | February 13, 2008 14:15 |
Having problems to Install OpenFOAM 13 release of PowerLab2 | ed_teller | OpenFOAM Installation | 0 | June 11, 2007 11:50 |