<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi
<div class=""><br class="">
</div>
<div class="">I downloaded the Paraview app and put it in a folder. Then I tried following instructions on this page: <a href="http://www.paraview.org/ParaView3/Doc/Nightly/www/py-doc/quick-start.html" class="">http://www.paraview.org/ParaView3/Doc/Nightly/www/py-doc/quick-start.html</a></div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">export PYTHONPATH=/Applications/ArmandoApps/paraview.app/Contents/Python:$PYTHONPATH</div>
</div>
<div style="margin: 0px;" class="">
<div style="font-family: Menlo; font-size: 11px; margin: 0px;" class="">export LD_LIBRARY_PATH=/Applications/ArmandoApps/paraview.app/Contents/Libraries/:$LD_LIBRARY_PATH</div>
<div style="font-family: Menlo; font-size: 11px; margin: 0px;" class=""><br class="">
</div>
<div style="font-family: Menlo; font-size: 11px; margin: 0px;" class="">and I get this error:</div>
<div style="font-family: Menlo; font-size: 11px; margin: 0px;" class=""><br class="">
</div>
<div style="margin: 0px;" class="">
<div style="margin: 0px;" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">Python 2.7.10 (default, Sep 14 2015, 23:52:44) </span></font></div>
<div style="margin: 0px;" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin</span></font></div>
<div style="margin: 0px;" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">Type "copyright", "credits" or "license()" for more information.</span></font></div>
<div style="margin: 0px;" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">>>> from paraview.simple import *</span></font></div>
<div style="margin: 0px;" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">Error: Could not import vtkCommonComputationalGeometryPython</span></font></div>
<div style="margin: 0px;" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""><br class="">
</span></font></div>
<div style="margin: 0px;" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">Traceback (most recent call last):</span></font></div>
<div style="margin: 0px;" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""> File "<pyshell#0>", line 1, in <module></span></font></div>
<div style="margin: 0px;" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""> from paraview.simple import *</span></font></div>
<div style="margin: 0px;" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""> File "/Applications/ArmandoApps/paraview.app/Contents/Python/paraview/simple.py", line 39, in <module></span></font></div>
<div style="margin: 0px;" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""> import servermanager</span></font></div>
<div style="margin: 0px;" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""> File "/Applications/ArmandoApps/paraview.app/Contents/Python/paraview/servermanager.py", line 48, in <module></span></font></div>
<div style="margin: 0px;" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""> import paraview, re, os, os.path, new, sys, atexit, vtk</span></font></div>
<div style="margin: 0px;" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""> File "/Applications/ArmandoApps/paraview.app/Contents/Python/paraview/vtk/__init__.py", line 7, in <module></span></font></div>
<div style="margin: 0px;" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""> from vtkCommonCorePython import *</span></font></div>
<div style="margin: 0px;" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">ImportError: No module named vtkCommonCorePython</span></font></div>
<div style="margin: 0px;" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">>>> </span></font></div>
<div style="font-family: Menlo; font-size: 11px;" class=""><br class="">
</div>
<div style="font-family: Menlo; font-size: 11px;" class="">When i add vtk subfolder also to PYTHONPATH, I get this error:</div>
<div style="font-family: Menlo; font-size: 11px;" class=""><br class="">
</div>
<div class="">
<div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">ImportError: dlopen(/Applications/ArmandoApps/paraview.app/Contents/Python/vtk/vtkCommonCorePython.so, 2): Library not loaded: @executable_path/../Libraries/libvtkCommonCorePython27D-pv4.3.1.dylib</span></font></div>
<div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""> Referenced from: /Applications/ArmandoApps/paraview.app/Contents/Python/vtk/vtkCommonCorePython.so</span></font></div>
<div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""> Reason: image not found</span></font></div>
</div>
<div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""><br class="">
</span></font></div>
<div class=""><span style="font-family: Menlo; font-size: 11px;" class="">vtkCommonCorePython.so is present in LD_LIBRARY_PATH set earlier.</span></div>
<div style="font-family: Menlo; font-size: 11px;" class=""><br class="">
</div>
<div style="font-family: Menlo; font-size: 11px;" class="">So question is: Am I following correct instructions ?</div>
<div style="font-family: Menlo; font-size: 11px;" class=""><br class="">
</div>
<div style="font-family: Menlo; font-size: 11px;" class="">I guess there are three scenarios I would be working with in coming days:</div>
<div style="font-family: Menlo; font-size: 11px;" class=""><br class="">
</div>
<div style="font-family: Menlo; font-size: 11px;" class="">1. python code to run default python.app on my local MacOS, read H5Part file and visualize it.</div>
<div style="font-family: Menlo; font-size: 11px;" class="">2. python code to run compiled python on my cluster</div>
<div style="font-family: Menlo; font-size: 11px;" class="">3. python code to run compiled python server on my cluster</div>
<div style="font-family: Menlo; font-size: 11px;" class=""><br class="">
</div>
<div style="font-family: Menlo; font-size: 11px;" class="">I dont know yet what would the difference in 2nd and 3rd point but for now I am trying to write a python script that would start python and open a file and visualize it.</div>
<div style="font-family: Menlo; font-size: 11px;" class=""><br class="">
</div>
<div style="font-family: Menlo; font-size: 11px;" class="">Any help would be highly appreciated.</div>
<div style="font-family: Menlo; font-size: 11px;" class=""><br class="">
</div>
<div style="font-family: Menlo; font-size: 11px;" class="">Regards</div>
<div style="font-family: Menlo; font-size: 11px;" class=""><br class="">
</div>
<div style="font-family: Menlo; font-size: 11px;" class="">Amit</div>
<div style="font-family: Menlo; font-size: 11px;" class=""><br class="">
</div>
</div>
</div>
</body>
</html>