Difference between revisions of "ParaView"

From OpenFOAMWiki
(Detailed instructions for Ubuntu: Add section of script)
(Detailed instructions for Ubuntu 14.04)
 
Line 8: Line 8:
  
 
==== Detailed instructions for Ubuntu 14.04 ====
 
==== Detailed instructions for Ubuntu 14.04 ====
 +
 +
First, install the <code>python-dev</code> package:
 +
 +
<nowiki>
 +
sudo apt-get install python-dev</nowiki>
  
 
If the default Python library cannot be found, the <code>makeParaView4</code> script's variable must be edited.
 
If the default Python library cannot be found, the <code>makeParaView4</code> script's variable must be edited.

Latest revision as of 20:01, 3 October 2014

ParaView is an open-source application for data analysis and visualization.

1 Compiling OpenFOAM's third party ParaView version

1.1 Python scripting option

When running makeParaView4 you may specify the -python option.

1.1.1 Detailed instructions for Ubuntu 14.04

First, install the python-dev package:

sudo apt-get install python-dev

If the default Python library cannot be found, the makeParaView4 script's variable must be edited.

# Python support:
# note: script will try to determine the appropriate python library.
#       If it fails, specify the path using the PYTHON_LIBRARY variable
withPYTHON=true
PYTHON_LIBRARY="/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0"