[Midas] ParaView Web support for Midas

Sebastien Jourdain sebastien.jourdain at kitware.com
Tue Oct 22 18:13:57 EDT 2013


Hi Brian,

does the server has a GPU? If that's the case you may be interested to look
at that documentation:
http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/virtualgl_turbovnc_howto

Otherwise, you will have to build ParaView with OSMesa.

Seb


On Tue, Oct 22, 2013 at 4:04 PM, BRIAN E CHAPMAN <Brian.Chapman at utah.edu>wrote:

>   HI Zach,
>
>  Thanks for the help. Can you give me a few more details about how to run
> on a heedlessly on a server? I'm trying to get this working on an instance
> of ubuntu 13.04 server since I've had nothing but nightmares trying to get
> it to work on the desktop. In order to get ParaView to run I installed
> libxt-dev and x11-server-utils. But get an error when I try to give access
> to www-data "unable to open display". I've never worked in this server
> environment before so any help is appreciated.
>
>  Brian
>
>  Brian E. Chapman, Ph.D.
> Associate Professor
> Department of Radiology
> University of Utah
>
>
>   From: Zach Mullen <zach.mullen at kitware.com>
> Date: Thursday, October 17, 2013 11:54 AM
> To: Brian Chapman <Brian.Chapman at utah.edu>
> Cc: Patrick Reynolds <patrick.reynolds at kitware.com>, "
> midas at public.kitware.com" <midas at public.kitware.com>
>
> Subject: Re: [Midas] ParaView Web support for Midas
>
>   Hi Brian,
>
>  Answered your questions inline.
>
>
> On Thu, Oct 17, 2013 at 1:49 PM, BRIAN E CHAPMAN <Brian.Chapman at utah.edu>wrote:
>
>>   Patrick,
>>
>>  That saved a lot of time! A couple of dummy questions. In
>> /var/www/midas/modules there is already a pvw directory. So where am I
>> supposed to create the symbolic link to $PARAVIEW_ROOT/lib/paraview-4.0/www?
>>
>
>  You should create a symlink at /var/www/midas/modules/pvw/public/import,
> and it should point to the paraview-4.0/www dir.
>
>>
>>  Also, just because I'm kind of dense, do I need to set the DISPLAY
>> environment variable. The pop-up help says "If the DISPLAY env var should
>> be set…" I don't know if it should be.
>>
> It depends what environment you are running in. If you plan on running
> this headlessly as a server, you will probably need to set the environment
> variable. If you are running the server within an already existing X
> environment, you probably won't need to set it. If you open a terminal and
> type
>
>  echo $DISPLAY
>
>  It will show you the current value of your display ID.
>
>>
>>  Finally, is there a tutorial or demo for the Midas/ParaView interface?
>>
>
>  We just finished transitioning the demo application to the latest
> version of ParaViewWeb. The demo of the old capabilities is here:
> http://50.58.123.185/external/midas/visualize/paraview/volume?itemId=44
>
>  There isn't much currently in the way of developer-oriented
> documentation for the module; for that you might have to just consult us
> with your questions :)
>
>  Thanks,
>
>>
>>  Thanks for the help.
>>
>>  Brian
>>
>>
>>   From: Patrick Reynolds <patrick.reynolds at kitware.com>
>> Date: Thursday, October 17, 2013 11:12 AM
>> To: Brian Chapman <Brian.Chapman at utah.edu>
>> Cc: "midas at public.kitware.com" <midas at public.kitware.com>
>> Subject: Re: [Midas] ParaView Web support for Midas
>>
>>   Brian,
>>
>>  You'll need to build Paraview Web from Source or download binaries. It
>> comes with paraview, so you should be able to follow the instructions
>> stemming from this wiki page:
>>
>>  http://www.paraview.org/Wiki/ParaViewWeb
>>
>>  HTH.
>>
>>  --
>>  Patrick Reynolds
>> Technical Leader
>> Kitware, Inc.
>> 919 869 8848
>>
>> On Thursday, October 17, 2013 at 12:56 PM, BRIAN E CHAPMAN wrote:
>>
>>   Hello Midas World,
>>
>>  I'm trying to build an instance of Midas with ParaviewWeb enabled. I'm
>> working on an Ubuntu 12.04 instance. Midas built fine, but I'm having a
>> difficult time getting Paraview to build. Just curious if the
>> paraview-python package that is available in the ubuntu distribution is
>> sufficient for this purpose? If it is, curious about the details of the
>> configuration for the instructions: "Make sure to symlink the www directory
>> of your ParView build directory…"
>>
>>  I'm suspicious of the package since when I try to run pvpython I get an
>> error:
>>
>>  "Error converting executable file "/usr/bin/../lib/paraview/pvpython"
>> to real path: no such file or directory"
>>
>>
>>  Brian E. Chapman, Ph.D.
>> Associate Professor
>> Department of Radiology
>> University of Utah
>>
>>   _______________________________________________
>> Midas mailing list
>> Midas at public.kitware.com
>> http://public.kitware.com/cgi-bin/mailman/listinfo/midas
>>
>>
>>
>> _______________________________________________
>> Midas mailing list
>> Midas at public.kitware.com
>> http://public.kitware.com/cgi-bin/mailman/listinfo/midas
>>
>>
>
>
>  --
> Zach Mullen
> R & D Engineer
> Kitware Inc.
> 919-869-8858
>
> _______________________________________________
> Midas mailing list
> Midas at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/midas
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/midas/attachments/20131022/12177f8f/attachment.html>


More information about the Midas mailing list