CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

Paraview start problems

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 14, 2013, 12:48
Default Paraview start problems
  #1
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,086
Blog Entries: 6
Rep Power: 19
Tobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
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 is offline   Reply With Quote

Old   September 14, 2013, 12:57
Default
  #2
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,086
Blog Entries: 6
Rep Power: 19
Tobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
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.
Tobi is offline   Reply With Quote

Old   September 14, 2013, 13:11
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
wyldckat is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems building Paraview 3.12 on Gentoo Linux pajot OpenFOAM Installation 11 April 11, 2013 08:09
Segmentation fault with paraview 3.10.1 aot OpenFOAM Paraview & paraFoam 2 July 25, 2011 13:43
Installation problems about Paraview and PV3foamreader clark_liang OpenFOAM Installation 1 January 12, 2009 07:05
Problems with paraView alejo OpenFOAM Pre-Processing 0 February 17, 2006 08:24
Problems with Paraview evgenii OpenFOAM Paraview & paraFoam 2 November 23, 2005 08:35


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