[Paraview] Amazon EC2 Cluster + Paraview

Fabian, Nathan ndfabia at sandia.gov
Fri Feb 11 20:19:24 EST 2011


The cmake variable needs to point to the library itself like: /home/ubuntu/osmesa/lib/libOSMesa.so


On 2/11/11 6:16 PM, "Matthew Dillon" <mrdillon at alaska.edu> wrote:

Hmm, I was greeted with a few warnings when generating the cmake build files:

</begin quote>
 WARNING: Target "vtkRendering" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "vtkRendering" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "vtkVolumeRendering" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "icet" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "icet_mpi" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "icet_mpi" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "icet_strategies" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "icet_strategies" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "vtkPVFilters" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "vtkPVFiltersCS" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "vtkPVFiltersPython" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "vtkPVFiltersPythonD" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "ServersFiltersPrintSelf" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "TestExtractHistogram" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "TestExtractScatterPlot" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "TestMPI" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "vtkPVServerManager" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "vtkPVServerManagerPython" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "vtkPVServerManagerPythonD" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "vtkSMExtractDocumentation-real" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "ServerManagerStateLoader" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "ServersServerManagerPrintSelf" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "TestComparativeAnimationCueProxy" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "pvbatch-real" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "pvpython-real" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "vtkPVPython" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "pvdataserver-real" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "pvrenderserver-real" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "pvserver-real" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "Moments" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "PrismServerPlugin" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "PointSprite_Plugin" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "pvblot" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "SLACTools" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "H5PartReader" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "AnalyzeReader" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "AnalyzeWriter" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "NIfTIReader" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.
 WARNING: Target "NIfTIWriter" requests linking to directory "/home/ubuntu/osmesa/lib".  Targets may link only to libraries.  CMake is dropping the item.

</end quote>


 /home/ubuntu/osmesa/ is the directory that the osmesa files were built to...


On Fri, Feb 11, 2011 at 2:12 PM, Matthew Dillon <mrdillon at alaska.edu> wrote:
Can I still do volume rendering with osmesa, or is this a gpu thing?


On Fri, Feb 11, 2011 at 1:42 PM, Matthew Dillon <mrdillon at alaska.edu> wrote:
Pat,
Alrighty, I will make sure to do that. I think the best option is to do a pure osmesa build (it sounds like its simpler at the end of the day...) but I am certainly up for recommendations otherwise. Thanks
Matt


On Fri, Feb 11, 2011 at 1:37 PM, pat marion <pat.marion at kitware.com> wrote:
Also, when compiling set VTK_USE_X to OFF.  An ldd on your binary should show no X11 library dependencies either.  When compiled without X, you dont need to specify any --use-offscreen-rendering flag to pvserver.  It is possible to compile with X and libGL and OSMesa, but it sounds like you are trying to create a pure osmesa build?

Pat


On Fri, Feb 11, 2011 at 5:31 PM, pat marion <pat.marion at kitware.com> wrote:
Try MesaLib-7.6.1.tar.gz

Make sure you configure with --driver osmesa.  The result should be a libOSMesa and libGLU, no libGL.  Paraview should link only with libOSMesa, no to libGL.  When you're done build paraview, an ldd on the binary should reveal no dependencies on libGL, only libOSMesa.

Pat


On Fri, Feb 11, 2011 at 5:15 PM, Matthew Dillon <mrdillon at alaska.edu> wrote:
Thank you, I have been using that section as a guideline for getting this thing set up. Perhaps someone on the list has a recommendation for a known version of mesa that works with PV 3.8/3.10?


On Fri, Feb 11, 2011 at 1:03 PM, Robert Maynard <robert.maynard at kitware.com> wrote:
Hi Matthew,

The ParaView Users Guide has a section on setting up offscreen rendering using OSMesa which you can read at:
http://www.paraview.org/Wiki/ParaView/Users_Guide/Parallel_Rendering#Offscreen_software_rendering_via_OSMesa

On Fri, Feb 11, 2011 at 4:56 PM, Matthew Dillon <mrdillon at alaska.edu> wrote:
If there are no suggestions in terms of Amazon machines, perhaps some info somewhere regarding offscreen rendering for a headless paraview server? I have searched through the mail archives to the best of my ability, and followed the instructions on the server build wiki, and I am just not quite able to get PV to build correctly. Sorry to keep pestering.
Thanks
M


On Thu, Feb 10, 2011 at 7:17 PM, Matthew Dillon <mrdillon at alaska.edu> wrote:
Just curious if anyone has any experience setting up a Paraview server on Amazon's EC2 platform. I have compiled VTK a few times in the past, but I am spinning my wheels trying to square away offscreen rendering and parallel processing. I know this doesn't necessarily need to relate to EC2, but I am wondering if someone has some pre-made images floating around, or some tips. Thanks.
M Dillon


_______________________________________________
Powered by www.kitware.com <http://www.kitware.com>

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110211/ab53197f/attachment.htm>


More information about the ParaView mailing list