<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>Tom,</div><div><br></div><div>I’m the main developer behind ParaViewWeb and I only develop on Mac. So you should be fine. :-)</div><div><br></div><div>I’ll read the full thread now that I know you are focusing on PVW. </div><div><br></div><div>Seb</div><div><br>On Jan 24, 2018, at 19:53, Sgouros, Thomas <<a href="mailto:thomas_sgouros@brown.edu">thomas_sgouros@brown.edu</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Sure, I didn't mean to seem accusatory. I have to develop a paraviewweb application and want to see if I could set up a prototype paraview server on my (mac) laptop for the convenience of developing. If I can't, I can't, but the text seemed to imply there was a possibility so I soldiered on until I got stuck.<div><br></div><div>Thank you,</div><div><br></div><div> -Tom</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 24, 2018 at 4:47 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Tom,<br>
<br>
The page also says:<br>
<br>
"In this page, we limit ourselves to a Linux-based system. On Windows<br>
and macOS, offscreen support is available, but true headless operation<br>
is currently not widely used and hence left out of this discussion."<br>
<br>
Thus, the page is mostly for Linux where people have options of using X or not.<br>
<br>
Utkarsh<br>
<br>
<br>
On Wed, Jan 24, 2018 at 4:23 PM, Sgouros, Thomas<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:thomas_sgouros@brown.edu">thomas_sgouros@brown.edu</a>> wrote:<br>
> On this page:<br>
> <a href="https://www.paraview.org/ParaView/Doc/Nightly/www/cxx-doc/Offscreen.html" rel="noreferrer" target="_blank">https://www.paraview.org/<wbr>ParaView/Doc/Nightly/www/cxx-<wbr>doc/Offscreen.html</a><br>
><br>
> There is this note:<br>
><br>
> Currently, ParaView supports two distinct APIs that are available for<br>
> headless operation: EGL and OSMesa (also called Offscreen Mesa). It must be<br>
> noted that headless support is a rapidly evolving area and changes are<br>
> expected in coming months. Modern H/W OpenGL implementations support EGL<br>
> while S/W (or Mesa) supports OSMesa. One has to build ParaView with specific<br>
> CMake flags changed to enable either of these APIs. Which headless API you<br>
> choose in your build depends on which OpenGL implementation you plan to use.<br>
><br>
> I thought this meant I should try to build Paraview from source. My original<br>
> question had a second part about why my build wasn't working, but I'd also<br>
> add that it's not clear how to find the OSMesa option through the superbuild<br>
> process, either.<br>
><br>
> Thank you,<br>
><br>
>  -Tom<br>
><br>
><br>
> On Wed, Jan 24, 2018 at 4:16 PM, Utkarsh Ayachit<br>
> <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<br>
>><br>
>> Okay, I misspoke again :). pvpython should indeed have this command<br>
>> line option. Maybe someone with access to a mac can see why this isn't<br>
>> working. I can try out on my home mac later tonight and get back to<br>
>> you if no one responds before then.<br>
>><br>
>> On Wed, Jan 24, 2018 at 4:07 PM, Sgouros, Thomas<br>
>> <<a href="mailto:thomas_sgouros@brown.edu">thomas_sgouros@brown.edu</a>> wrote:<br>
>> > Thank you. I'm chasing this issue, actually. Perhaps I've misdiagnosed<br>
>> > it?<br>
>> ><br>
>> > $ LightViz --paraview /Applications/ParaView-5.4.1.<wbr>app --data<br>
>> > ../mat-viz-mofTFF-90L-9.1lpm-<wbr>100rpm<br>
>> ><br>
>> ><br>
>> ><br>
>> > ==============================<wbr>==============================<wbr>===================<br>
>> ><br>
>> > | Execute:<br>
>> ><br>
>> > | $ "/Applications/ParaView-5.4.1.<wbr>app/Contents/bin/pvpython"<br>
>> ><br>
>> > | -dr<br>
>> ><br>
>> > | --force-offscreen-rendering<br>
>> ><br>
>> > | "/usr/local/lib/node_modules/<wbr>light-viz/server/pvw-light-<wbr>viz.py"<br>
>> ><br>
>> > | --content<br>
>> ><br>
>> > | "/usr/local/lib/node_modules/<wbr>light-viz/dist"<br>
>> ><br>
>> > | --port<br>
>> ><br>
>> > | 8080<br>
>> ><br>
>> > | --data<br>
>> ><br>
>> > | "../mat-viz-mofTFF-90L-9.1lpm-<wbr>100rpm"<br>
>> ><br>
>> ><br>
>> > ==============================<wbr>==============================<wbr>===================<br>
>> ><br>
>> ><br>
>> > Got unknown argument: --force-offscreen-rendering<br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > On Wed, Jan 24, 2018 at 4:02 PM, Utkarsh Ayachit<br>
>> > <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<br>
>> >><br>
>> >> I misspoke. Not pvpython, the option is only available for pvserver,<br>
>> >> pvbatch and not pvpython.<br>
>> >><br>
>> >> No, XQuartz is not it. If you're logged in, you have access to the<br>
>> >> Cocoa<br>
>> >> server.<br>
>> >><br>
>> >> On Wed, Jan 24, 2018 at 3:58 PM, Sgouros, Thomas<br>
>> >> <<a href="mailto:thomas_sgouros@brown.edu">thomas_sgouros@brown.edu</a>> wrote:<br>
>> >> > $ /Applications/ParaView-5.4.1.<wbr>app/Contents/bin/pvpython<br>
>> >> > --force-offscreen-rendering<br>
>> >> > Got unknown argument: --force-offscreen-rendering<br>
>> >> ><br>
>> >> > What does "access to Cocoa" mean in this context? How would I go<br>
>> >> > about<br>
>> >> > giving it that access? All I could think of was to run the XQuartz<br>
>> >> > server at<br>
>> >> > the same time, but I don't see any way to tell pvpython to look<br>
>> >> > there.<br>
>> >> ><br>
>> >> > Thank you,<br>
>> >> ><br>
>> >> >  -Tom<br>
>> >> ><br>
>> >> > On Wed, Jan 24, 2018 at 3:36 PM, Utkarsh Ayachit<br>
>> >> > <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<br>
>> >> >><br>
>> >> >> You can use `--force-offscreen-rendering` flag for standard ParaView<br>
>> >> >> builds on OsX when using pvpython/pvserver etc. It simply implies<br>
>> >> >> that<br>
>> >> >> there'll be no windows popped up for these command line executables.<br>
>> >> >> Note, ParaView still needs access to Cocoa to create OpenGL contexts<br>
>> >> >> for rendering.<br>
>> >> >><br>
>> >> >> Utkarsh<br>
>> >> >><br>
>> >> >> On Wed, Jan 24, 2018 at 3:02 PM, Sgouros, Thomas<br>
>> >> >> <<a href="mailto:thomas_sgouros@brown.edu">thomas_sgouros@brown.edu</a>> wrote:<br>
>> >> >> > Hello:<br>
>> >> >> ><br>
>> >> >> > The documentation seems ambiguous on the point, can anyone confirm<br>
>> >> >> > for<br>
>> >> >> > me<br>
>> >> >> > how to get a version of pvpython that runs on OS X and supports<br>
>> >> >> > the<br>
>> >> >> > --force-offscreen-rendering option?<br>
>> >> >> ><br>
>> >> >> > My reading seems to imply that I will have to compile from the<br>
>> >> >> > source,<br>
>> >> >> > but<br>
>> >> >> > I've been trying and failing to understand how to make the<br>
>> >> >> > super-build<br>
>> >> >> > process work. If someone can confirm for me that this is the way<br>
>> >> >> > forward,<br>
>> >> >> > I'd appreciate it.<br>
>> >> >> ><br>
>> >> >> > Also, when using the paraview-superbuild, when I try to install, I<br>
>> >> >> > get<br>
>> >> >> > this:<br>
>> >> >> ><br>
>> >> >> > CMake Error at<br>
>> >> >> > /../paraview-superbuild/<wbr>projects/apple/paraview.<wbr>bundle.cmake:8<br>
>> >> >> > (message):<br>
>> >> >> ><br>
>> >> >> >   Creating the Apple package without the GUI is not supported.<br>
>> >> >> ><br>
>> >> >> > To which superbuild option does this refer?<br>
>> >> >> ><br>
>> >> >> > Thank you,<br>
>> >> >> ><br>
>> >> >> >  -Tom<br>
>> >> >> ><br>
>> >> >> ><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>
>> >> >> > Search the list archives at:<br>
>> >> >> > <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>Paraview-developers</a><br>
>> >> >> ><br>
>> >> >> > Follow this link to subscribe/unsubscribe:<br>
>> >> >> > <a href="https://paraview.org/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">https://paraview.org/mailman/<wbr>listinfo/paraview-developers</a><br>
>> >> >> ><br>
>> >> ><br>
>> >> ><br>
>> ><br>
>> ><br>
><br>
><br>
</div></div></blockquote></div><br></div>
</div></blockquote></body></html>