From: John Stone (johns_at_ks.uiuc.edu)
Date: Fri Mar 27 2009 - 07:53:34 CDT

Goutham,
  No, one can't "include" these commands via tclsh, as they are part
of the compiled VMD code, and not a script. You'll need to take one of
the approaches that were previously described.

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu

On Thu, Mar 26, 2009 at 11:34:00PM -0700, Goutham wrote:
> Hey John,
> Thanks for ur response. I thot of another approach. I use very few vmd tcl
> commands, like "mol load pdb " and writepdb in my tcl script. So is it
> possible to just "inlcude" these select "packages" and just run the tcl
> script using tclsh.
>
> Do you know if I can do this? Are these functions available as executables
> or tcl packages?
>
> Thanks
> Goutham
>
>
> On Thu, Mar 26, 2009 at 7:38 PM, John Stone <johns_at_ks.uiuc.edu> wrote:
>
> > Hi,
> > In addition to copying the shared library(ies) as already
> > suggested by Axel, one can compile VMD from source in a text-only
> > build that doesn't need the OpenGL libraries. I'd suggest trying
> > Axel's suggestion first, but if you are unable to get that working,
> > I can provide you with a text only build of VMD next week when I
> > return from travelling.
> >
> > Cheers,
> > John Stone
> > vmd_at_ks.uiuc.edu
> >
> > On Thu, Mar 26, 2009 at 05:48:52PM -0700, Goutham wrote:
> > > Hey,
> > > I am using qsub script to launch a vmd command such as:
> > >
> > > "vmd -dispdev text < script.tcl"
> > >
> > > However I get the following error:
> > > libGLU.so.1: cannot open shared object file...
> > >
> > > It is my understanding that the openGL library is not available in the
> > > individual nodes in the cluster. However I would guess that since i am
> > doing
> > > the "text" option, the openGL library should not be required. Is there a
> > way
> > > to disable this?
> > >
> > > Can anyone tell me what my options are otherwise?
> > >
> > > Thanks
> > > Goutham
> >
> > --
> > NIH Resource for Macromolecular Modeling and Bioinformatics
> > Beckman Institute for Advanced Science and Technology
> > University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
> > Email: johns_at_ks.uiuc.edu Phone: 217-244-3349
> > WWW: http://www.ks.uiuc.edu/~johns/ <http://www.ks.uiuc.edu/%7Ejohns/>
> > Fax: 217-244-6078
> >

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