<div dir="ltr">Thanks Utkarsh. Two issues: <div><br></div><div>1- Looks like I have to use OS X provided python (2.7)? Using any other python results in</div><div><br></div><div><span style="font-family:monospace,monospace">Fatal Python error: PyThreadState_Get: no current thread</span><br></div><div><font face="monospace, monospace"><br></font></div><div><font face="arial, helvetica, sans-serif">2- using system python I get some unresolved symbol issue with MPI.</font></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco;color:rgb(246,239,220);background-color:rgb(2,43,54)"><span style="">Traceback (most recent call last):</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco;color:rgb(246,239,220);background-color:rgb(2,43,54)"><span style="">  File "<stdin>", line 1, in <module></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco;color:rgb(246,239,220);background-color:rgb(2,43,54)"><span style="">  File "/Applications/paraview.app/Contents/Python/paraview/simple.py", line 39, in <module></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco;color:rgb(246,239,220);background-color:rgb(2,43,54)"><span style="">    import servermanager</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco;color:rgb(246,239,220);background-color:rgb(2,43,54)"><span style="">  File "/Applications/paraview.app/Contents/Python/paraview/servermanager.py", line 55, in <module></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco;color:rgb(246,239,220);background-color:rgb(2,43,54)"><span style="">    from vtk.vtkPVServerImplementationCore import *</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco;color:rgb(246,239,220);background-color:rgb(2,43,54)"><span style="">  File "/Applications/paraview.app/Contents/Python/paraview/vtk/vtkPVServerImplementationCore.py", line 9, in <module></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco;color:rgb(246,239,220);background-color:rgb(2,43,54)"><span style="">    from vtkPVServerImplementationCorePython import *</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco;color:rgb(246,239,220);background-color:rgb(2,43,54)"><span style="">ImportError: dlopen(/Applications/paraview.app/Contents/Libraries/vtkPVServerImplementationCorePython.so, 2): Symbol not found: _MPI_Group_size</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco;color:rgb(246,239,220);background-color:rgb(2,43,54)"><span style="">  Referenced from: /Applications/paraview.app/Contents/Libraries/libmpich.3.3.dylib</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco;color:rgb(246,239,220);background-color:rgb(2,43,54)"><span style="">  Expected in: flat namespace</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco;color:rgb(246,239,220);background-color:rgb(2,43,54)"><span style=""> in /Applications/paraview.app/Contents/Libraries/libmpich.3.3.dylib</span></p><div><font face="monospace, monospace"><br></font></div><div><font face="arial, helvetica, sans-serif">Any idea why that happens? I have open-mpi installed system-wide (/usr/local). </font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"><br></font><div class="gmail_extra"><div class="gmail_quote">On Tue, Aug 9, 2016 at 12:15 PM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Attached is a script from an older email. The 5.1.* uses Python 2.7,<br>
so you'll need to update the script accordingly. I haven't tested it<br>
(as I don't have my Mac here), but it should give you some hints.<br>
<span class=""><font color="#888888"><br>
Utkarsh<br>
</font></span><div class=""><div class="h5"><br>
On Tue, Aug 9, 2016 at 12:10 PM, Mohammad Mirzadeh <<a href="mailto:mirzadeh@gmail.com">mirzadeh@gmail.com</a>> wrote:<br>
> Along the same lines, is this possible with prebuilt binaries on OS X? I<br>
> have tried including<br>
><br>
> export PYTHONPATH="$PYTHONPATH:/<wbr>Applications/paraview.app/<wbr>Contents/Python"<br>
> export<br>
> PYTHONPATH="$PYTHONPATH:/<wbr>Applications/paraview.app/<wbr>Contents/Python/vtk"<br>
> export<br>
> DYLD_LIBRARY_PATH="$DYLD_<wbr>LIBRARY_PATH:/Applications/<wbr>paraview.app/Contents/Library<br>
><br>
> but have not been able to make it work<br>
><br>
> On Tue, Aug 9, 2016 at 12:04 PM, Utkarsh Ayachit<br>
> <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<br>
>><br>
>> Here's a sample launch script:<br>
>><br>
>> #-----------------------------<wbr>-----------------<br>
>> #!/usr/bin/env bash<br>
>> pvprefix=/tmp/ParaView-5.1.2-<wbr>Qt4-OpenGL2-MPI-Linux-64bit/<br>
>> export<br>
>> PYTHONPATH=$pvprefix/lib/<wbr>paraview-5.1/site-packages/<wbr>vtk:$pvprefix/lib/paraview-5.<wbr>1/site-packages<br>
>> export LD_LIBRARY_PATH=$pvprefix/lib/<wbr>paraview-5.1<br>
>> python<br>
>> #-----------------------------<wbr>-----------------<br>
>><br>
>> Utkarsh<br>
>> ______________________________<wbr>_________________<br>
>> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
>><br>
>> Please keep messages on-topic and check the ParaView Wiki at:<br>
>> <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
>><br>
>> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
><br>
><br>
</div></div></blockquote></div><br></div></div></div></div>