From: John Stone (johns_at_ks.uiuc.edu)
Date: Sun Apr 10 2022 - 20:04:38 CDT

Hi,
  The OSPRay2 renderer is still considered experimental (thus all of
the debugging messages) because OSPRay 2.x lacked some geometric primitives
required by VMD. Also, in particular that code is using
APIs of developmental versions of OSPray that have since changed.

If you compile against the old OSPRay 1.8.x, you shouldn't encounter
this problem. The OSPRay 2.x code in VMD may or may not ever be
fully finalized, as OSPRay 2.x now supports the new ANARI cross-vendor
rendering API, and I'm putting more development time into testing
that these days than the original native OSPRay 2.x interface, since
it will work not only for OSPRay 2.x, but also for NVIDIA VisRTX,
NVIDIA Omniverse, and AMD Radeon Prorender, among others....

Best regards,
  John Stone

On Sun, Apr 10, 2022 at 01:46:02PM -0700, Chris Taylor wrote:
> Hi everybody- I compiled VMD because I want to use MPI. Here's my configure.options:
>
> LINUXAMD64 FLTKOPENGL MESA FLTK TK MPI IMD LIBOSPRAY2 LIBPNG ZLIB TCL PTHREADS
>
> It starts up and runs fine but when I start a TachyonL-OSPRay render, it produces a .ppm file and then I get this. If I run 'ldd' on the VMD executable it looks like the Intel tbb libs are linked in fine. How do I troubleshoot? Thanks a lot.
>
> Info) Rendering current scene to 'vmdscene.ppm' ...
> OSPRay2Renderer) setup_context
> OSPRay2Renderer) check_verbose_env
> OSPRay2Renderer) add_directional_light
> OSPRay2Renderer) add_directional_light
> OSPRay2Renderer) cylinder_array
> OSPRay2Renderer) STATUS: ospray::Curves created: #primitives=2, #vertices=4
> OSPRay2Renderer) sphere_array
> OSPRay2Renderer) STATUS: ospray::Spheres created: #primitives=4
> OSPRay2Renderer) cylinder_array
> OSPRay2Renderer) STATUS: ospray::Curves created: #primitives=6, #vertices=12
> OSPRay2Renderer) sphere_array
> OSPRay2Renderer) STATUS: ospray::Spheres created: #primitives=8
> OSPRay2Renderer) cylinder_array
> OSPRay2Renderer) STATUS: ospray::Curves created: #primitives=3, #vertices=6
> OSPRay2Renderer) sphere_array
> OSPRay2Renderer) STATUS: ospray::Spheres created: #primitives=6
> OSPRay2Renderer) STATUS: ospray::Mesh created: #primitives=173956, #vertices=521868
> OSPRay2Renderer) cylinder_array_color
> OSPRay2Renderer) STATUS: ospray::Curves created: #primitives=9, #vertices=18
> OSPRay2Renderer) render_to_file
> OSPRay2Renderer) update_rendering_state
> OSPRay2Renderer) render_compile_and_validate
> Info) Shadow rendering enabled.
> OSPRay2Renderer) world bounds: ({-0.847024, -1.044194, -0.484982}, {0.590164, 0.753293, 0.469607}
>
> OSPRay2Renderer) ~OSPRay2Renderer
> OSPRay2Renderer) destroy_scene
> corrupted double-linked list
> Abort (core dumped)

-- 
NIH Center for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
http://www.ks.uiuc.edu/~johns/           Phone: 217-244-3349
http://www.ks.uiuc.edu/Research/vmd/