From: Vermaas, Joshua (Joshua.Vermaas_at_nrel.gov)
Date: Mon Jun 12 2017 - 10:36:14 CDT

Hi Bob,

The compilation of the linux distributables is done on a redhat machine with a specific version of libGL which is greater than the one Ubuntu 16.04 ships with (see https://stackoverflow.com/questions/137773/what-does-the-no-version-information-available-error-from-linux-dynamic-linker). There are really only two choices: ignore the error, or compile VMD yourself. Compiling VMD yourself is something you can easily lose a day or two on learning to do it the first time, so unless you are seeing misbehaving graphics, I wouldn't worry about it. The error you are getting here I think is because inside of a bash script, bash reads the exit code after each line of your script. Have you tried tossing the exit code at that line? See https://stackoverflow.com/questions/11231937/bash-ignoring-error-for-a-particular-command
I think it would be something like:
vmd -dispdev text -nt -e water_box_dims.tcl > water_box_dims.txt || true

-Josh

On 06/10/2017 09:21 PM, Robert Wohlhueter wrote:

My my previous posting, I noted several error messages when I start a new installation of vmd-1.9.3 (under Ubuntu 16.04, 54-bit, AND). That posting is copoied below.

There I noted that the errors seemed to be innoucous. But as I feared, they are not. One in particlular has come back to bite me: namely, "vmd: /usr/lib/nvidia-375/libGL.so.1: no version information available (required by vmd)".

For example, vmd is called in by the shell scrip "vmd_box_dims.sh", in the line
"vmd -dispdev text -nt -e water_box_dims.tcl > water_box_dims.txt", where it garners the same error message, and thereby crashes the script.

Is there any way to satisfy nvidia-375 driver's need for version number (of the so, I guess)?

Thanks for your help,
Bob Wohlhueter

*************previous post*******************************************

just upgraded from vmd-1.9.2 to 1.9.3. Running on Ubuntus 16.04, AMD 64-bit.

 The new version seems to work (I havnen't put it through all of its paces), but when I start up, I get a slew of error messages (except pasted below).

The first error seems to be a shortcoming of NVIDIA GL libs; it may by inocuous.
The second type of error (there are dozens of these, only the first two shown) invoolve
the OptiXRenderer.

I'm not aware of any functional consequences of these errors. But one doesn't like to be greeted by a bunch of error messages when starting a program.

Can anyone explian/remedy whatever is going on here?

Bob Wohlhueter

******************************************************************************************

bobw_at_winter: ...plugins/noarch [66]> vmd &
[1] 13008
vmd
bobw_at_winter: ...plugins/noarch [67]> vmd: /usr/lib/nvidia-375/libGL.so.1: no version information available (required by vmd)
Info) VMD for LINUXAMD64, version 1.9.3 (November 30, 2016)
Info) http://www.ks.uiuc.edu/Research/vmd/27480087696862&sdata=mK5X5DqZR2hcPHXZGmRfet6baJToacn6vt9fQMUvKSM%3D&reserved=0>
Info) Email questions and bug reports to
vmd_at_ks.uiuc.edu<mailto:vmd_at_ks.uiuc.edu>
Info) Please include this reference in published work using VMD:
Info) Humphrey, W., Dalke, A. and Schulten, K., `VMD - Visual
Info) Molecular Dynamics', J. Molec. Graphics 1996, 14.1, 33-38.
Info) -------------------------------------------------------------
Info) Multithreading available, 8 CPUs detected.
Info) CPU features: SSE2 AVX FMA
Info) Free system memory: 24GB (77%)
Info) Creating CUDA device pool and initializing hardware...
Info) Detected 1 available CUDA accelerator:
Info) [0] GeForce GTX 660 Ti 7 SM_3.0 @ 0.98 GHz, 1.9GB RAM, KTO, AE1, ZCP
Warning) Detected X11 'Composite' extension: if incorrect display occurs
Warning) try disabling this X server option. Most OpenGL drivers
Warning) disable stereoscopic display when 'Composite' is enabled.
Info) OpenGL renderer: GeForce GTX 660 Ti/PCIe/SSE2
Info) Features: STENCIL MSAA(4) MDE CVA MTX NPOT PP PS GLSL(OVFGS)
Info) Full GLSL rendering mode is available.
Info) Textures: 2-D (16384x16384), 3-D (2048x2048x2048), Multitexture (4)
Info) Detected 1 available TachyonL/OptiX ray tracing accelerator
Info) Compiling 1 OptiX shaders on 1 target GPU...
ERROR) OptiXRenderer) ERROR: File not found (Details: Function "RTresult _rtProgramCreateFromPTXFile(RTcontext, const char*, const char*, RTprogram_api**)" caught exception: /usr/local/lib/vmd/vmd-1.9.3/shaders/OptiXShaders.ptx) (OptiXRenderer.C:3898
ERROR) OptiXRenderer) ERROR: File not found (Details: Function "RTresult _rtProgramCreateFromPTXFile(RTcontext, const char*, const char*, RTprogram_api**)" caught exception: /usr/local/lib/vmd/vmd-1.9.3/shaders/OptiXShaders.ptx) (OptiXRenderer.C:3934
...