CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Segmentation fault with paraFoam and paraview 3.6.1 on Fedora 11 32 and 64 bit (https://www.cfd-online.com/Forums/paraview/68118-segmentation-fault-parafoam-paraview-3-6-1-fedora-11-32-64-bit.html)

nanes September 7, 2009 16:58

Segmentation fault with paraFoam and paraview 3.6.1 on Fedora 11 32 and 64 bit
 
Hello Foamers,

I installed OpenFOAM 1.6, and I ran a 8 core parallel case using the LES model.


I found some difference between 1.5 and 1.6, but the simulation is good, with good result.


Problems come with paraFoam and paraview: trying to run them gives:


/home/test/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/bin/paraview-real: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory


I couldn't find the package providing this library and I tried to solve this problem with:


ln -s /usr/lib64/libssl.so.0.9.8k /usr/lib64/libssl.so.0.9.8



At this point parafoam and paraview gave the error:


Segmentation fault


I tried paraFoam and paraview 3.6.1 32 and 64 bit on Fedora 11 32 and 64 bit with the same result.


Any ideas??


Thanks

lin September 7, 2009 21:07

Try recompile paraview.It may help.

nanes September 11, 2009 09:12

Thanks for tip but the problem remains after the compilation of paraview, here are the steps I followed in the compilation:

1) download the file ftp://ftp.trolltech.com/qt/source/qt...-4.3.5.tar.bz2 in to $WM_THIRD_PARTY_DIR

2) decompress it (tar -xjf qt-x11-opensource-src-4.3.5.tar.bz2)

3) compile Qt with
./makeQt | tee -a log_makeQt

4) when I tried to compile paraview with:

./makeParaView -qmake /home/optim/OpenFOAM/ThirdParty-1.6/qt-x11-opensource-src-4.3.5/bin/qmake > log_makeParaView 2>&1 &

I got:

cmake: /home/optim/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by cmake)

I tried to fix this problem with:

rm /home/optim/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6
ln -s /usr/lib64/libstdc++.so.6.0.12 /home/optim/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6

5) after these steps the compilation of paraview was done without error

very important things:
1) I installed cmake 2.6.4 with yum
2) after the compilation when I try to start paraview or paraFoam from local machine I get the GUI but non the functionality of 3D view
3) when I try to start paraview or paraFoam from remote machine with ssh -X I get Segmentation fault
4) same results with paraview 3.6.1 downloaded from www.paraview.org

Any ideas??


All times are GMT -4. The time now is 08:09.