CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Multiple version of ParaView

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 13, 2017, 11:09
Default Multiple version of ParaView
  #1
New Member
 
Pavel Rodin
Join Date: Jun 2017
Posts: 8
Rep Power: 9
Pavel Rodin is on a distinguished road
Hello everyone,

I have a virtual machine with Ubuntu 16.04.3 on board.
Also OpenFOAM-2.4.0 and ParaView 4.1.0 installed using this guide https://openfoamwiki.net/index.php/I...u#Ubuntu_16.04.
PyFoam (version 0.6.7) installed with pip.
I'm interested in functionality of PyFoam that requires ParaView of version 4.3.1 or above. For example, version 5.0.1 that available through apt-get is enough for me. But version 4.1.0 already installed and I need it too.

What's the typical steps to start using another version of ParaView with PyFoam in this situation?

I have dowloaded following version of ParaView from the official website - "ParaView-5.0.1-Qt4-OpenGL2-MPI-Linux-64bit".
Then I tried to set up some environment variables:
Code:
export PATH="/home/prodin/ParaView-5.0.1/bin:$PATH"
export ParaView_DIR="/home/prodin/ParaView-5.0.1"
But I'm still getting errors:
Code:
prodin@prodin-vbox:~/OpenFOAM/prodin-2.4.0/run/cases/test/damBreak_5$ pyFoamPVSnapshot.py --state-file=state.pvsm --latest-time damBreak
Executing PVSnapshot with pvpython trough a proxy-script
PyFoam WARNING on line 343 of file /usr/local/lib/python3.5/dist-packages/PyFoam/Applications/PyFoamApplication.py : $WM_PROJECT_VERSION unset. PyFoam will not be able to determine the OpenFOAM-version and behave strangely Warning in /tmp/pyFoamPVSnapshot_3rh9zuql.py : Setting decomposed type to auto : Decomposed/Reconstruced correctly set. Nothing changed
PyFoam WARNING on line 110 of file /usr/local/lib/python3.5/dist-packages/PyFoam/Paraview/ServermanagerWrapper.py : Can't find expected plugin 'libPOpenFOAMReaderPlugin' assuming that correct reader is compiled in. Wish me luck libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadFBConfig
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  34 ()
  Serial number of failed request:  25
  Current serial number in output stream:  24
Error: Return code  1 executing /tmp/pyFoamPVSnapshot_3rh9zuql.py
What else I can try?

Regards,
Pavel
Pavel Rodin is offline   Reply With Quote

Old   October 13, 2017, 11:21
Default
  #2
New Member
 
Pavel Rodin
Join Date: Jun 2017
Posts: 8
Rep Power: 9
Pavel Rodin is on a distinguished road
Also I found out that "libGL" error is some kind of rendering issue. There are some threads and other info about problems with graphics drivers. But I don't know what I can do with that, especially considering that is a virtual machine.

Any helpful thoughts would be appreciated.
Pavel Rodin is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] Paraview 5.4 in shell environment of5x - Segmentation fault (core dumped) dslbkxd OpenFOAM Installation 1 February 3, 2018 01:56
[General] Read multiple solution of a cgns file with paraview cbarmpar ParaView 15 December 7, 2017 05:09
[OpenFOAM] how to run a specific paraview version Paolo.F ParaView 5 April 1, 2014 16:35
[General] Running ParaView on multiple cores flotus1 ParaView 6 January 20, 2014 04:22
[OpenFOAM] Problem with paraFoam on a linux-64 bit bunni ParaView 4 April 14, 2010 21:55


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