CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Paraview start problems (https://www.cfd-online.com/Forums/paraview/123514-paraview-start-problems.html)

Tobi September 14, 2013 12:48

Paraview start problems
 
Hi all,

I compiled Paraview-3.14.1 by myself successfully.
When I start paraview with mpirun or just paraview I got a segmentation faults.

Code:

shor-ty@cfd:~/OpenFOAM/ParaView-3.14.1$ mpirun -np 4 /usr/local/bin/pvserver     
Warning: In /home/shor-ty/OpenFOAM/ParaView-3.14.1-Source/ParaViewCore/ClientServerCore/vtkPVServerInformation.cxx, line 127
vtkPVServerInformation (0x8098560): ProcessModule is not available.

Waiting for client...
[cfd:29845] *** Process received signal ***
[cfd:29845] Signal: Segmentation fault (11)
[cfd:29845] Signal code: Address not mapped (1)
[cfd:29845] Failing at address: (nil)
Warning: In /home/shor-ty/OpenFOAM/ParaView-3.14.1-Source/ParaViewCore/ClientServerCore/vtkPVServerInformation.cxx, line 127
vtkPVServerInformation (0x81cc560): ProcessModule is not available.

[cfd:29846] *** Process received signal ***
[cfd:29846] Signal: Segmentation fault (11)
[cfd:29846] Signal code: Address not mapped (1)
[cfd:29846] Failing at address: 0x40
Warning: In /home/shor-ty/OpenFOAM/ParaView-3.14.1-Source/ParaViewCore/ClientServerCore/vtkPVServerInformation.cxx, line 127
vtkPVServerInformation (0x72ce560): ProcessModule is not available.

[cfd:29848] *** Process received signal ***
[cfd:29848] Signal: Segmentation fault (11)
[cfd:29848] Signal code: Address not mapped (1)
[cfd:29848] Failing at address: 0x40
Warning: In /home/shor-ty/OpenFOAM/ParaView-3.14.1-Source/ParaViewCore/ClientServerCore/vtkPVServerInformation.cxx, line 127
vtkPVServerInformation (0x8bc8560): ProcessModule is not available.

[cfd:29847] *** Process received signal ***
[cfd:29847] Signal: Segmentation fault (11)
[cfd:29847] Signal code: Address not mapped (1)
[cfd:29847] Failing at address: 0x40
[cfd:29846] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7f2290a77cb0]
[cfd:29846] [ 1] /usr/local/bin/pvserver(_ZN16vtkProcessModule15RegisterSessionEP10vtkSession+0x34) [0x1bebe08]
[cfd:29846] [ 2] /usr/local/bin/pvserver() [0x15dba82]
[cfd:29846] [ 3] /usr/local/bin/pvserver(main+0x25) [0x15dbb7a]
[cfd:29846] [ 4] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f228ffa976d]
[cfd:29846] [ 5] /usr/local/bin/pvserver() [0x15db7d9]
[cfd:29846] *** End of error message ***
[cfd:29847] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7fc24191fcb0]
[cfd:29847] [ 1] /usr/local/bin/pvserver(_ZN16vtkProcessModule15RegisterSessionEP10vtkSession+0x34) [0x1bebe08]
[cfd:29847] [ 2] /usr/local/bin/pvserver() [0x15dba82]
[cfd:29847] [ 3] /usr/local/bin/pvserver(main+0x25) [0x15dbb7a]
[cfd:29847] [ 4] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fc240e5176d]
[cfd:29847] [ 5] /usr/local/bin/pvserver() [0x15db7d9]
[cfd:29847] *** End of error message ***
[cfd:29845] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7f7778137cb0]
[cfd:29845] [ 1] /usr/local/bin/pvserver(_ZN18vtkPVSessionServer7ConnectEv+0x59) [0x1a8515f]
[cfd:29845] [ 2] /usr/local/bin/pvserver() [0x15dba63]
[cfd:29845] [ 3] /usr/local/bin/pvserver(main+0x25) [0x15dbb7a]
[cfd:29845] [ 4] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f777766976d]
[cfd:29845] [ 5] /usr/local/bin/pvserver() [0x15db7d9]
[cfd:29845] *** End of error message ***
[cfd:29848] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7fc96730fcb0]
[cfd:29848] [ 1] /usr/local/bin/pvserver(_ZN16vtkProcessModule15RegisterSessionEP10vtkSession+0x34) [0x1bebe08]
[cfd:29848] [ 2] /usr/local/bin/pvserver() [0x15dba82]
[cfd:29848] [ 3] /usr/local/bin/pvserver(main+0x25) [0x15dbb7a]
[cfd:29848] [ 4] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fc96684176d]
[cfd:29848] [ 5] /usr/local/bin/pvserver() [0x15db7d9]
[cfd:29848] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 1 with PID 29846 on node cfd exited on signal 11 (Segmentation fault).
--------------------------------------------------------------------------

Can someone give me an advice? Well the file:

/home/shor-ty/OpenFOAM/ParaView-3.14.1-Source/ParaViewCore/ClientServerCore/vtkPVServerInformation.cxx

is avaiable.

Thanks in advance

Tobi September 14, 2013 12:57

Hi all,

I know how to solve the problem but not where to switch the lines.
While loading the terminal, I am loading the thirdparty paraview files.

If I comment the OF line in the bashrc then I can start my compiled paraview but the pvserver needs the mpi libs :)

So I have to deset the paraview variables in the thirdpartys.

Can someone give me an advice.

wyldckat September 14, 2013 13:11

Hi Tobi,

If I understand you correctly, you need to comment out the following line from OpenFOAM's "etc/bashrc" file: https://github.com/OpenFOAM/OpenFOAM...tc/bashrc#L214
Code:

_foamSource `$WM_PROJECT_DIR/bin/foamEtcFile config/paraview.sh`
Best regards,
Bruno


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